Simple SQL statement

Ste4en

Registered User.
Local time
Today, 15:20
Joined
Sep 19, 2001
Messages
142
Can anyone help me do this and than tell me how to see the results of the statement so i can see how the result changes when i make changes

I want:

zone = "08" and circuit <> "Deleted" i am using

"zone='" & me.cmbzone & "'" & "AND circuit <>'" & " ' "Deleted" ' "

Thanks
 
Try:
Dim strWhere As String
strWhere = "zone = '" & me.cmbzone & "' AND circuit <> 'Deleted'"
MsgBox strWhere
 
that did the trick, thanks
 
Glad to assist and thanks for posting back with your success.
 

Users who are viewing this thread

Back
Top Bottom