Hi everyone. I'm somewhat new to Zope, so I have what may be a stupidly simple problem (probably is, actually). I want to have a site that allows adding, editing & searching of various database tables (eg. people). To keep things consistent for the user, I'd like to use one page template that has all the fields, and just call that template with an add dtml method, an edit dtml method, and a search dtml method. The part I'm having difficulty with is the connection between the ZSql and the template - specifically, I execute a SQL function to get the person's data, and I'd like to populate the template with it. To do this, I need to set the 'value' field of each input type in the form. I can set the field values in the form like this: <tr> <td><LABEL for="firstname">First name: </LABEL></td> <td><INPUT type="text" name="first_name" value="" tal:attributes="value request/form/first_name" tal:on-error="string:"> </td> </tr> This works if the form has itself as an action target. But what is the namespace for the variables returned by a ZSQL call? The column has the same name as the field (in this case, 'first_name'). How do I access the returned values from an ZSQL call? Another thing I've been wondering - I can't find the documentation on the various namespaces (here, request, etc). Where are they listed, and when should you use one over the other? TIA, Colin -- Colin Fox cfox@crystalcherry.com CF Consulting Inc. GPG Fingerprint: D8F0 84E7 E7CC 5C6C 9982 F1A7 A3EB 6EA3 BC97 572F