Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i get a record with its index from an ms access file?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hello!!! i am making a simple login program. i have three fields in my .mdb table namely indeces, usernames and passwords. when given a string corresponding to username my program must loop through the usernames in my .mdb file, look for the match of that username get its index. i need the index so that i could match the appropriate password to the inputted username? how would i do this? thanks =) ...
 
Why the looping? Create a recordset that returns a single record that has all of the info you need. Looping would prove to be way inefficient(esp if you have a large number of users).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top