[Zope] Weird error

Thomas B. Passin tpassin@mitretek.org
Thu, 5 Apr 2001 10:19:25 -0400


You need to find out the exact string of the sql statement that is getting
sent to the database and paste that into another post.  Otherwise it's be
darned hard to say anything useful.  Just offhand, '2','2' doesn't look like
valid sql.

Gitte Wange asks -

> I get this error that I cannot find out to solve:
> Error Type: error
> Error Value: You have an error in your SQL syntax near '['2', '2']' at
> line 1
>
> Okay I can see what is going on.
> I have this little form with a select box in and when you hit the submit
> button a ZSQL methos is called with the value of the selct box as an
> argument. Yes I have checked that I have typed the name right.
>

 Cheers,

Tom P