and another one:

Figure 10-5: The Add form for Z SQL Methods

As usual, you must specify an id and title for the ZSQL Method. In 
addition you need to select a Database Connection to use with
this Z SQL Methods. Give this new method the id hire_employee and select 
the gadfly_database_connection that you created in
the last section.

Next you can specify arguments to the Z SQL Method. Just like Python 
Methods, ZSQL Methods can take arguments. Arguments
^^^^^ ^

are used to construct SQL statement. In this case your method needs four 
arguments, the employee id number, the first name, the
last name and the employee's salary. Type "emp_id first last salary" 
into the Arguments field. Don't put a comma between the two

Jochen Knuth          WebMaster
IPRO GmbH             Phone ++49-7152-93330
Steinbeisstr. 6       Fax ++49-7152-933340
71229 Leonberg        EMail: [EMAIL PROTECTED]

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to