[Zope] Tables, Forms and DB querys oh my
Andrew Kenneth Milton
akm@mail.theinternet.com.au
Mon, 12 Feb 2001 12:13:40 +1000
+-------[ Gary Lowder ]----------------------
| I'm sorry, I don't follow the suggestion to wrap each tuple in a form.
<dtml-in something>
<form action="deleteItem" method="POST">
<input type="hidden" name="name" value="&dtml-name;">
...
<tr><td><dtml-var name></td><td><dtml-var someotherfield></td>etc..<td><input type="submit" value=" Delete Me "></td></tr>
</dtml-in>
| I'm using gadfly for my db, mostly for ease of deployment at several
| offices. Does gadfly have a unique id method, like an auto-increment
| field in MySQL?
I don't if it does, but, that doesn't prevent you from keeping a serial in
another table and incrementing it yourself if it doesn't.
Even with mSQL you could get the _rowid of each row, there has to be something
that makes each row unique.
--
Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton
The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 |
ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|