mrchinchin25
IS-IT--Management
I'm trying to use DoCmd.FindRecord to find a record which is null. Heres an example:
In the Form, on each record:
I have a textbox called Blank. This is blank (!).
I have a textbox called Thursday Guest.
Now when i click a button (call it find) i want the control to pass to Blank, and then search all the records to bring up the first record with a blank Thursday guest.
so i have:
DoCmd.GoToControl "blank"
DoCmd.FindRecord [Thursday Guest], acEntire, False, acSearchAll, True, acAll
It doesn't work at all, it just does nothing.
Any ideas?
In the Form, on each record:
I have a textbox called Blank. This is blank (!).
I have a textbox called Thursday Guest.
Now when i click a button (call it find) i want the control to pass to Blank, and then search all the records to bring up the first record with a blank Thursday guest.
so i have:
DoCmd.GoToControl "blank"
DoCmd.FindRecord [Thursday Guest], acEntire, False, acSearchAll, True, acAll
It doesn't work at all, it just does nothing.
Any ideas?