Basically what I want to do is be able to do a lookup in Forms using part of a value from SQL. For example...
If my table has the values; 123456, 654321, and 789654, I want to be able to type 123* or something similar and still get the results.
Basically what I want to do is be able to do a lookup in Forms using part of a value from SQL. For example...
If my table has the values; 123456, 654321, and 789654, I want to be able to type 123* or something similar and still get the results.
Are you trying to have a sort of autosuggest functionality? In the Forms Designer, under Lookup Rules, you can remove the When condition. For example, if I type "ne", it would suggest Minnesota, New York, and all other values that contain the sequence "ne" anywhere.
If you're looking for something more custom, you can also take a look at the Help Files on Stored Procedures.
What I have set up right now is that when you type in a number related to a client it'll pull all their info (probably about another 30 fields that populate).
I want to be able to type in just a part of the number and get like the closest match I can get. I would like to apply this to other fields besides the number such as a name field or something.
Do you think this might be possible with Stored Procedures?
Probably. The query would have to be something like WHERE ClientNumber LIKE '%123%'.