I keep getting an error on my code. the error says, cant find the field " refered in your expression. Basically i am trying to compare 3 fields with the same fields in the All Data Table. The three fields are dpre, dsug, and dnum. The data table is All Data Table. If the 3 fields are the same as 3 fields previously stored in the All Data Table, I want to have a message that says it already exists.
I appreciate your help. Thanks.
If Me.dpre = [All Data Table].[Docket No Prefix] And Me.dsuf = [All Data Table].[Docket No Suffix] And Me.dnum.Value = [All Data Table].[Docket No] Then
MsgBox "This is an Existing Docket number."
End If
I appreciate your help. Thanks.
If Me.dpre = [All Data Table].[Docket No Prefix] And Me.dsuf = [All Data Table].[Docket No Suffix] And Me.dnum.Value = [All Data Table].[Docket No] Then
MsgBox "This is an Existing Docket number."
End If