Dlookup Help Needed Please

graviz

Registered User.
Local time
Today, 00:00
Joined
Aug 4, 2009
Messages
167
When I run the command button I get the "You canceled the previous operation" error. Keep in mind I'm not pulling anything from the form. It's only ref fields in my table.


Table: "TBL_Kick"
Fields: "Num" & "KU" (Both Text)

Private Sub Command4_Click()
Dim rr As String
rr = DLookup("[KU]", "TBL_Kick", "[Num]= KickIt")
MsgBox rr
End Sub

Any ideas?
 

Users who are viewing this thread

Back
Top Bottom