Obtaining Index of a number

base836ball

Active member
Joined
May 4, 2005
Messages
31
Programming Experience
1-3
I have a paramerized textbox that the user enters in a number. Now this number is not the index number. How can i get the index number of the number they put in the textbox....
 

base836ball

Active member
Joined
May 4, 2005
Messages
31
Programming Experience
1-3
Ummm.........
Lets say I have a textbox that the user can put in a LastName and search by it.
My database is setup for ID(primary key, autonumber), LastName, and FirstName.

If I am having the user look for the LastName how can I have it reference the ID number so I can go to that record.

In other words..... How do I find a record then post the results into textboxes that are bound on the form. But to keep in mind that I am not looking up by the ID but by LastName.
 

base836ball

Active member
Joined
May 4, 2005
Messages
31
Programming Experience
1-3
Okay I see what your saying. On my form I have like 10 text boxes(bound) that get filled with data on the formload. I have an additional textbox that functions as a FIND feature. So when the user puts in the LastName and hits the FIND button, how can the program fill the 10 boxes in with the info for the LastName they just entered


I am not good at explaining things :)
 
Top Bottom