Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
JakeFlynn #1
Setting a string = to a parsed cfstatement
I want to allow users of my website to define there own custom queries using a
form. The problem that i am running into is that cfset cannot handle this kind
of expression:
<cfset cust_sql = <cfoutput>select num, cust_code, entered_date, status,
assigned_to, contact,
synopsis, symptom_code, bus_name, priority, title
from info, customer
where
info.cust_code =customer.cust_code and
<cfif #site# is not "" and #site# is not "All">
cust_code in (#site#)
<cfelse>
cust_code in (select customer.cust_code from customer
where parent_id = '#Session.e_code#' or
cust_code = '#Session.e_code#')
</cfif>
and
searchable not in ('N','P') .......etc ></cfoutput>
I dont want it to save the actual coldfusion statements just the output after
they have been parsed. Anyone have anyideas?
JakeFlynn Guest
-
Setting a string to a conditional statement?
I want to allow users of my website to define there own custom queries using a form. The problem that i am running into is that cfset cannot handle... -
Setting a string to a parsed cfstatement
I want to allow users of my website to define there own custom queries using a form. The problem that i am running into is that cfset cannot handle... -
Overiding Language setting from String Panel
Hello all, The strings panel is definetly a godsend for developers who are required to publish in multiple languages, however I am trying to... -
#7056 [Com]: Setting string variables to value starting with '<' cause string to be empty.
ID: 7056 Comment by: davidgjenkins at ntlworld dot com Reported By: tammy at synchronis dot com Status: Closed... -
[PHP] do i need to output headers on parsed CSS files?
Justin, when you echo/print your CSS info, you can add tabs /t and newlines /n to your documents for indentation and organization in the source if... -
JakeFlynn #2
Re: Setting a string = to a parsed cfstatement
Use
<cfsavecontent>
tags
JakeFlynn Guest



Reply With Quote

