Good morning
I use the following code to update a field
Private Sub Supplier_AfterUpdate()
Dim strFilter As String
strFilter = "SupplierID=" & Me!Supplier
Me!Venue = DLookup("VenueName", "tblVenues", strFilter)
End Sub
But it come back woth an error "Run Time Error 2001 You Canceled The Previouw Operation"
The Data Type Of Venue and Venue Name is Text
Can anyone help please??
Regards
John
I use the following code to update a field
Private Sub Supplier_AfterUpdate()
Dim strFilter As String
strFilter = "SupplierID=" & Me!Supplier
Me!Venue = DLookup("VenueName", "tblVenues", strFilter)
End Sub
But it come back woth an error "Run Time Error 2001 You Canceled The Previouw Operation"
The Data Type Of Venue and Venue Name is Text
Can anyone help please??
Regards
John