G
Guest
I have a table of records with 3 fields: Name, Date, Number. Every 3 records
will have the same name and therefore will have a 1,2, or 3 in the Number
field. I have a form with 3 textboxes to show this info. I would like to
put the date of the record with a "1" in the number field in the first
textbox, the record with a "2" will have it's date in the 2nd textbox, etc.
I was trying to have a command button execute 3 different queries to do
this - without success. Question: can you execute a query in the click event
of a command button? If so, what is the code? (or is there a better way?)
Nick
will have the same name and therefore will have a 1,2, or 3 in the Number
field. I have a form with 3 textboxes to show this info. I would like to
put the date of the record with a "1" in the number field in the first
textbox, the record with a "2" will have it's date in the 2nd textbox, etc.
I was trying to have a command button execute 3 different queries to do
this - without success. Question: can you execute a query in the click event
of a command button? If so, what is the code? (or is there a better way?)
Nick