I am using 2 forms to search for records in a table. FormA shows the table and upon cliking a button formB pops up to search for a particular record in the table that these forms are using. I am using the following code under formB keypress method: so when user presses ESC at a particular record it closes formB and shows formA with the selected record as the active record.
IF (nkeycode = 27) OR (nkeycode = 13)
thisrecord = RECNO()
thisform.release
GOTO thisrecord
formA.refresh
endif
It gives me an error saying object formA not found.
Thanks
IF (nkeycode = 27) OR (nkeycode = 13)
thisrecord = RECNO()
thisform.release
GOTO thisrecord
formA.refresh
endif
It gives me an error saying object formA not found.
Thanks