[Zope] Passing parameters through a DTML Document to a ZSQL Method
A J Wilson
ajwilson@ezy.net.au
Sat, 4 Sep 1999 13:41:23 +1000
Oops!
I didn't realise I had been posting in HTML. I think I have fixed that now.
Thanks for the suggestion, but what I actually want to do is pass a
parameter from one form to another form which then calls the ZSQL Method
using the parameter as a variable in the manner you suggested.
Does that make sense or is it double dutch.
Regards
Ausitn
----- Original Message -----
From: Rob Page <rob.page@digicool.com>
To: 'A J Wilson' <ajwilson@ezy.net.au>
Cc: <zope@zope.org>
Sent: Saturday, September 04, 1999 9:12 AM
Subject: RE: [Zope] Passing parameters through a DTML Document to a ZSQL
Method
> Austin:
>
> > -----Original Message-----
> > From: A J Wilson [mailto:ajwilson@ezy.net.au]
> > Sent: Friday, September 03, 1999 6:45 PM
> > To: zope@zope.org
> > Subject: [Zope] Passing parameters through a DTML Document to a ZSQL
> Method
> >
> >
> > Hi
> >
> > I have a DTML Document which is based on data obtained from an ZSQL
> Method.
> > The ZSQL Method has a number of parameters which can be passed from
> the DTML
> > Document to the ZSQL Mehtod via the following
> >
> > <!--#in expr="qry_Transactions(WeekNumber='9930')" size=50
> start=query_start-->
> >
> > This works fine for static values. However, I would like the user to
> be able
> > to specify parameters dynamically by either entering or selecting
> values on a
> > DTML Document. How could I go about passing parameters from a DTML
> Document
> > (the one in which the user selects or enters values) to the DTML
> Document
> > based on the ZSQL Method which then passes those values as parameters
> to
> > the ZSQL Method.
>
> <!--#in expr="qry_Transactions(WeekNumber=some_form_variable)" size=50
> start=query_start-->
>
> where some_form_variable is some variable from the form :^)
>
> Regards,
> --Rob
>
> P.S. - If I might make a suggestion to not post HTML mail to the list...
> Some folks are using emacs and pine (while watching B&W TV) to read
> email and HTML email makes 'em cranky...
>
> P.P.S. - Just kidding about the B&W TV thing... :^)