[Zope] Pass Arguments to ZSQL Method from Python Script

Grace, Mark Mark.Grace@imd.ch
Mon, 3 Mar 2003 11:28:31 +0100


Thanks Andy but I did as you say and now it outputs the following error:
----------------------
Error Type
Missing Input

Error Message
Missing input variable, first

???

-----Original Message-----
From: Andy McKay [mailto:andy@agmweb.ca]
Sent: Monday, March 03, 2003 11:23 AM
To: Grace, Mark
Cc: 'zope@zope.org'
Subject: Re: [Zope] Pass Arguments to ZSQL Method from Python Script


> "insertEmployeeQuery" is a ZSQL method, using a Gadfly DB Connection, that
> looks like this:
> ----------------------
> Arguments: emp_id, first, last, salary

Try removing the commas from your argument list:

emp_id first last salary
-- 
   Andy McKay