> > > exactly how it's used... I'm using some custom tags with this
> > > setup... so basically the html code is being sent to this query
> > > template via the attributes.sql. Am I using the tag correctly?
> > >
> > > <cfquery name="caller.#attributes.qname#"
> > > datasource="#dadatasource#">
> > > <cfqueryparam value="#attributes.sql#">
> > > </cfquery>
> >
> > You can't put a complete statement in a cfqueryparam, only
> > variables: ...
>
> this is a variable.
It is a CF variable, but it contains an entire SQL statement. The
CFQUERYPARAM tag is used to create placeholders for literal values within an
SQL statement. You can't put an entire SQL statement within a CFQUERYPARAM
tag, and I can't imagine why you'd want to do that anyway.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

