|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
hi,
i have three related selects and some form fields that will be filled by a <cfquery> depending on the first three select options. is there a way to dynamically modify the <cfquery> parameters on the fly? suppose, the user picks programid = 1 from the first select, then day=2 from the second select and then advertise =3 from the third one. what i want to do is <cfquery name... > select ... from ... where programid = 1 and day =2 and advertise =3 </cfquery> thanks for the help in advance |
|
#2
|
|||
|
|||
|
<cfquery name... >
select ... from ... where programid = #form.select1# and day = #form.select2# and advertise = #form.select3# </cfquery>
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > dynamic <cfquery> |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|