Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-28 Thread Curtis Maloney
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

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-28 Thread Fred Yankowski
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

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-28 Thread Curtis Maloney
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

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-25 Thread Hannu Krosing
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

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-25 Thread peter bengtson
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]

[Zope] Did I miss some major change in Z SQL Methods ?

2001-01-24 Thread Curtis Maloney
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

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-24 Thread Evan Simpson
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

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-24 Thread Curtis Maloney
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