I have a grid on a Access 2003 tab form, that I will like to use as a search engine. Once the user select the record, I have a button that is suppose to select the primary key on the grid and use it to find that record on the first tab. I used to use the following process.
If Not IsNull([subContract].Form.TransID) Then
TransID.SetFocus
DoCmd.FindRecord [subContract].Form.TransID
TransID.SetFocus
End If
But now in Access 2003 there is no FindRecord method, even though it give me help on the FindRecord methods and action. Can anyone help me with this problem. It is driving me crazy. If there is a marco that I can create or a query. Please let me know.
If Not IsNull([subContract].Form.TransID) Then
TransID.SetFocus
DoCmd.FindRecord [subContract].Form.TransID
TransID.SetFocus
End If
But now in Access 2003 there is no FindRecord method, even though it give me help on the FindRecord methods and action. Can anyone help me with this problem. It is driving me crazy. If there is a marco that I can create or a query. Please let me know.