I converted an Access 97 database to Access 2003 and have a problem with a macro running properly.
The find and Replace dialog box is not closing after the macro runs. After the record is found, I get the message that says the record was not found, as if it would if you clicked on Find Next.
To find a client, the following event procedure is on the control, CaseName:
Private Sub Case_Name_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmcpsmasterfind"
End Sub
I select the client from the list and click the control, Search, that runs the following macro:
Action Action Argument
GoToControl Control Name - CaseName
SendKeys Keystrokes - ^c
Wait - Yes
Close Save – Prompt
GoToRecord Record – First
GoToContol Control Name – CaseName
SendKeys Keystrokes - ^v{ENTER}{TAB 8}{ENTER}
Wait – No
RunCommand Command – Find
I hope someone can help me solve this problem. Thanks.
The find and Replace dialog box is not closing after the macro runs. After the record is found, I get the message that says the record was not found, as if it would if you clicked on Find Next.
To find a client, the following event procedure is on the control, CaseName:
Private Sub Case_Name_DblClick(Cancel As Integer)
DoCmd.OpenForm "frmcpsmasterfind"
End Sub
I select the client from the list and click the control, Search, that runs the following macro:
Action Action Argument
GoToControl Control Name - CaseName
SendKeys Keystrokes - ^c
Wait - Yes
Close Save – Prompt
GoToRecord Record – First
GoToContol Control Name – CaseName
SendKeys Keystrokes - ^v{ENTER}{TAB 8}{ENTER}
Wait – No
RunCommand Command – Find
I hope someone can help me solve this problem. Thanks.