strSQL Question -- quick

J

jeninOk

strSQL:

(([Sq_Ft] = 36317) AND ([County] In ('Canadian'))

Does anyone see what the problem is with this when used in:

DoCmd.OpenForm FormName:=strForm, View:=acNormal, WhereCondition:=strSQL
 
D

Dirk Goldgar

jeninOk said:
strSQL:

(([Sq_Ft] = 36317) AND ([County] In ('Canadian'))

Does anyone see what the problem is with this when used in:

DoCmd.OpenForm FormName:=strForm, View:=acNormal, WhereCondition:=strSQL


I see four left parentheses and only three right parentheses.
 
J

jeninOk

Thanks!!!!!!!!!!!!!!!!!!!!
Dirk Goldgar said:
jeninOk said:
strSQL:

(([Sq_Ft] = 36317) AND ([County] In ('Canadian'))

Does anyone see what the problem is with this when used in:

DoCmd.OpenForm FormName:=strForm, View:=acNormal, WhereCondition:=strSQL


I see four left parentheses and only three right parentheses.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top