[Zope] dtml / zsql datatype problem

Adam Gotheridge adam@foxvalley.net
Wed, 1 Dec 1999 23:17:05 -0600


I am trying to call an sql method which requires and integer argument. If I
call it with
<dtml-in "getMilestones(milestoneid='<dtml-var milestoneid>')">

I get "Invalid integer value for milestoneid "

If I use

<dtml-in "getMilestones(milestoneid=<dtml-var milestoneid>)">

I get "invalid syntax, for tag <dtml-in "getMilestones(milestoneid=<dtml-var
milestoneid>)">, on line 24 of editTask

Can anyone help? I have been at this for over 2 hours.

Thanks,

Adam