[Zope-DB] Re: DTML-sqlvar string error

ilker imamoglu ilkeri at hotmail.com
Mon Nov 15 15:24:54 EST 2004


Hi...
First of all thank you very much for your prompt replay....

first, yes I use Z SQL Method to write SQLs.

and "string" syntax doesn't work...

I try to find more valuable feedback from logs etc. But I cant....

Sincerely..


>From: Michal Kurowski <mkur at poczta.gazeta.pl>
>CC: zope-db at zope.org
>Subject: Re: DTML-sqlvar string error
>Date: Mon, 15 Nov 2004 18:58:55 +0100
>
> >
> > May be you can find this question as basic. But I cant understant what 
>is
> > happened and why... I read books and search web but I couldnt reach
> > solution:
> >
> > I try to build something to get data form PostgreSQL via ZOPE...
> > But when I used to stiring such as <dtml-sqlvar xbk_author type=string> 
>I
> > got a message like
> >
> > Error Value: global name 'string' is not defined
> >
> > instead of this when I used like
> >
> > <dtml-var xbk_author>
> >
> > It runs... But this method is not good especially when you thing 
>security.
> > Anyway...
>
>Are you perfectly sure it is in zsql (and not in a plain dtml) ?
>
>--
>Michal Kurowski
><mkur at poczta.gazeta.pl>
>

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.com/



More information about the Zope-DB mailing list