On Thursday 25 January 2001 21:29, peter bengtson wrote:
Curtis,
Doing Z SQL Methods (SELECT) is really easy with DTML.
When you've got a working example of it in DTML, then we can perhaps help
you to convert that into Python Method code.
Cheers, Peter
Peter,
Please, do not mistake me
I missed the original message, but I'm trying to do something similar
-- use Python Methods rather than DTML -- and I found one critical
difference just today. Here's an example:
I've got an SQL Method called 'select_item' that takes 'item_id' as
its only input parameter.
I've got a DTML
On Monday 29 January 2001 10:19, Fred Yankowski wrote:
I missed the original message, but I'm trying to do something similar
-- use Python Methods rather than DTML -- and I found one critical
difference just today. Here's an example:
I've got an SQL Method called 'select_item' that takes
Curtis Maloney wrote:
Green things,
I have a few methods poking about that just don't seem to make sense
A Z SQL Method ( Returner.sql.getDetails ) which simply contains:
SELECT * FROM Returner WHERE ReturnerID=dtml-sqlvar User type="int"
Which returns
Curtis,
Doing Z SQL Methods (SELECT) is really easy with DTML.
When you've got a working example of it in DTML, then we can perhaps help
you to convert that into Python Method code.
Cheers, Peter
On Thursday 25 January 2001 16:50, Evan Simpson wrote:
From: "Curtis Maloney" [EMAIL PROTECTED]
Green things,
I have a few methods poking about that just don't seem to make sense
A Z SQL Method ( Returner.sql.getDetails ) which simply contains:
SELECT * FROM Returner WHERE ReturnerID=dtml-sqlvar User type="int"
Which returns everything as expected. The I
From: "Curtis Maloney" [EMAIL PROTECTED]
A Z SQL Method ( Returner.sql.getDetails )
[snip]
dtml-with "Returner.getDetails(Returner, User=12)"
dtml-var fieldName
/dtml-with
You want either:
dtml-in "Returner.getDetails(Returner, User=12)"
dtml-var fieldName
/dtml-in
...or...
dtml-with
On Thursday 25 January 2001 16:50, Evan Simpson wrote:
From: "Curtis Maloney" [EMAIL PROTECTED]
A Z SQL Method ( Returner.sql.getDetails )
[snip]
dtml-with "Returner.getDetails(Returner, User=12)"
dtml-var fieldName
/dtml-with
You want either:
dtml-in