[Zope] advanced web database question
Evan Simpson
evan@4-am.com
Tue, 14 Dec 1999 17:43:17 -0600
David Fu wrote:
> I can pass the table name from FIRST page to SECOND one by using FORM, and
> I can pass field/fields name from SEOND page to the THIRD page by using
> FORM too. But my question is How I can pass table name from FIRST page to
> the THIRD page because I have to use table name in the THIRD page.
> ( SQL query is: SELECT <dtml-var FieldsName> FROM <dtml-var TableName>; )
When you generate the second page, insert the value passed from the first page
into a hidden form field, such as:
<input type="hidden" name="TableName" value="&dtml-TableName;">
Cheers,
Evan @ 4-am