[Zope] newbie ZSQL and Forms

Brad Moulton brad@netarchitects.com.au
Sun, 30 Jul 2000 18:40:39 +1000


hi all 

having worked through the ZSQL users guide 
I would now like to create  my own forms to enter/retrieve data from SQL tables

i have tried creating an SQL method which prompts for data entry via a system
generated   form

however when I use my own form and "POST" the data with the SQL method as the
action I still get prompted for data entry

extract of  form and SQL method
all other files in table match as per this single example

table extract
<FORM method="post" action="addorderline">
<table>
<td><type input="text" name="style">
<input type=submit   etc

sql method
...........
arguments  .......style 

INSERT INTO ordsum
(style)
VALUES
('<dtml-sqlvar style type=string>')

TIA
brad