D
Dougljm
I am teaching myself Access and I am using Access 2007. My question is I am
using
a text box to enter and ID and when I push a button I want the macro to
search a table that has several records with ID and password info on it. The
problem is I can not get the function to loop through the table from first
record to last to see if the ID is there. If the tex box value ID is the
first record on the table it finds it and acts accordingly. If the text box
ID value is the third record on the table it does not find it. I do not
believe that the comannd goes beyond the first record read. I used DLookUp.
Could someone advise? Thanks. Also are there any good books out there that
has examples of Access coding?
using
a text box to enter and ID and when I push a button I want the macro to
search a table that has several records with ID and password info on it. The
problem is I can not get the function to loop through the table from first
record to last to see if the ID is there. If the tex box value ID is the
first record on the table it finds it and acts accordingly. If the text box
ID value is the third record on the table it does not find it. I do not
believe that the comannd goes beyond the first record read. I used DLookUp.
Could someone advise? Thanks. Also are there any good books out there that
has examples of Access coding?