B
Bob Vance
This code only works the first time I open the form, Do I need to add
something else to it?........Thanks Bob
Private Sub cmdEdit_Click()
On Error GoTo Err_cmddelete_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmAccountStatus"
stLinkCriteria = "[BillID1]=" & Me![tbBillID1]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_cmddelete_Click:
Exit Sub
Err_cmddelete_Click:
'MsgBox Err.Description
Resume Next
End Sub
something else to it?........Thanks Bob
Private Sub cmdEdit_Click()
On Error GoTo Err_cmddelete_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmAccountStatus"
stLinkCriteria = "[BillID1]=" & Me![tbBillID1]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_cmddelete_Click:
Exit Sub
Err_cmddelete_Click:
'MsgBox Err.Description
Resume Next
End Sub