Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
DettCom #1
A true database query
Hello All, I am try to create a dynamic search page where the admin would
create the fields or dropdowns for the user to select. For this example, we'll
say a dropdown for month (01, 02, 03, etc.) and year (2001, 2002, 2003, etc.).
now on the next page I want the admin to be able to enter information into four
separate textarea boxes. They are QUERY OR SPOC, WHERE STATEMENT, GROUP BY
STATEMENT and ORDER BY STATEMENT. This is what I would like for them to be
able to enter: QUERY OR SPOC: Select var1, var2, FROM TABLE222 WHERE
STATEMENT: where month = #form.month# AND year = #form.year# GROUP BY: VAR1,
VAR2 When the form posts, it uses where month = #form.month# AND year =
#form.year# instead of plugging in the month and year value. The problem
occurs in the where statement. I have tried Evaluate(), using single quotes,
double quotes etc. It will Does anyone have any ideas??? Thanks!!!!
DettCom Guest
-
#39817 [NEW]: curl_setopt/curl_setopt_array returns true for CURLOPT_FOLLOWLOCATION => true i
From: php_dot_net at edelhost dot de Operating system: Linux 2.6.18.k7 PHP version: 5.2.0 PHP Bug Type: cURL related Bug... -
#26232 [Opn->Bgs]: in_array produces true when bool true is in haystack
ID: 26232 Updated by: jay@php.net Reported By: me at my dot house -Status: Open +Status: Bogus Bug... -
#26232 [Bgs->Opn]: in_array produces true when bool true is in haystack
ID: 26232 Updated by: helly@php.net Reported By: me at my dot house -Status: Bogus +Status: Open... -
#26232 [Opn->Ver]: in_array produces true when bool true is in haystack
ID: 26232 Updated by: helly@php.net Reported By: me at my dot house -Status: Open +Status: Verified... -
No true Crosstab Query in Oracle???
Gavin John Fowler wrote: Cross-tabulation is easily accomplished using DECODE and CASE. Just alias the resulting columns. To handle an... -
blewis #2
Re: A true database query
In general, Evaluate() will not work for this sort of thing. It's ugly, but
usually all you can do is write out the code to a file (dynamically using
CFFILE) and then CFINCLUDE it back into the processing document to make it
execute.
Bryan
blewis Guest
-
-



Reply With Quote

