[Zope] variable SQL statements - from external methods

ed colmar ecolmar@qwest.net
Tue, 18 Sep 2001 15:32:39 -0600


Hi All.

    Jim and several others were helping me to get my variable SQL methods
working right.  They're great and do everything I want form the test window.
When I call them from my external method, they come back with a REQUEST
error.

This is how I call it:

mastertablename = "sometablename"
self.SQL_create_master_table(mastertablename=mastertablename)

Then I get:

Error Type: Bad Request
Error Value: ['mastertablename']

Whats the syntax to shove this variable and it's value inside the request?
Or am I doing something else wrong?

Thanks everyone!

-ed-

> CREATE TABLE <dtml-var mastertablename>
> (
> ....
> )