R
Robert Solomon
Hi. I have to use a database created in Access 97 and now used in both
Access '97 and 2000. On a form I have a button that is to search a
table and insert the selected record into a field. This works fine in
Access 97 but the same button does not work at all in Acc 2000 where it
always retrieves all blanks. The event procedure is
Private Sub SearchICD9_Click()
On Error GoTo Err_SearchICD9_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "srhICD9Form"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_SearchICD9_Click:
Exit Sub
Err_SearchICD9_Click:
MsgBox Err.Description
Resume Exit_SearchICD9_Click
End Sub
Why does this event procedure not work in Access 2000?
Thanks
Access '97 and 2000. On a form I have a button that is to search a
table and insert the selected record into a field. This works fine in
Access 97 but the same button does not work at all in Acc 2000 where it
always retrieves all blanks. The event procedure is
Private Sub SearchICD9_Click()
On Error GoTo Err_SearchICD9_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "srhICD9Form"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_SearchICD9_Click:
Exit Sub
Err_SearchICD9_Click:
MsgBox Err.Description
Resume Exit_SearchICD9_Click
End Sub
Why does this event procedure not work in Access 2000?
Thanks