I have a search form which the user types in criteria, selects client and pushes a button.
When they push the button it is meant to take them to the correct record.
I just can't seem to figure out how to take them to the correct record
I am currently using:
(VBA)
-----------------------------
docmd.gotorecord acdataform, "formName", acgoto,
primaryKeyNumber
------------------------------
Anyone know how to jump to the correct record.
It just has me stumped....
Preferably VBA as I use the second form for different actions eg to view and also to add new record
When they push the button it is meant to take them to the correct record.
I just can't seem to figure out how to take them to the correct record
I am currently using:
(VBA)
-----------------------------
docmd.gotorecord acdataform, "formName", acgoto,
primaryKeyNumber
------------------------------
Anyone know how to jump to the correct record.
It just has me stumped....
Preferably VBA as I use the second form for different actions eg to view and also to add new record