and another one:

http://www.zope.org/Members/michel/ZB/RelationalDatabases.html

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
arguments.


Ciao,
Jochen
-- 
--------------------------------------------------
Jochen Knuth          WebMaster http://www.ipro.de
IPRO GmbH             Phone ++49-7152-93330
Steinbeisstr. 6       Fax ++49-7152-933340
71229 Leonberg        EMail: [EMAIL PROTECTED]


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to