I have a form which I wish to populate with various CFSELECTS. These are all includes to the main template so have variables in various options.
not sure if that is the problem but I am trying to get a CFSELECT list of date formated into the standard UK format of "mm dd yy". However when I try this I get error of value not being converted to a Date or trying other way I get filed not in the query.
The variables passed are:
jmQValue=CHECKDATE_1
jmQValueName=CHECKDATE
the query is then "CheckCHECKDATE_1"
have also tried
If I just use:
I get the correct output but in the Americanised format with time data as well.
Any help much appreciated.
not sure if that is the problem but I am trying to get a CFSELECT list of date formated into the standard UK format of "mm dd yy". However when I try this I get error of value not being converted to a Date or trying other way I get filed not in the query.
The variables passed are:
jmQValue=CHECKDATE_1
jmQValueName=CHECKDATE
the query is then "CheckCHECKDATE_1"
Code:
<CFSELECT query="Check#jmQValue#" name="#jmQValue#" value="#DateFormat(jmQValueName)#"></CFSELECT>
Code:
<CFSELECT query="Check#jmQValue#" name="#jmQValue#" value="#DateFormat(evaluate(jmQValueName))#"></CFSELECT>
Code:
<CFSELECT query="Check#jmQValue#" name="#jmQValue#" value="#jmQValueName#"></CFSELECT>
Any help much appreciated.