Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
ky_loh #1
cfquery and list form
Greeting!
I have a form that submit MULTIPLE list from the <select> tag. When the list
had send to action page, I need to run <cfquery> for retrieve data that match
the contents inside the list.
Example:
The value from the list : 2, 7, 10, 13
How should I write my query??
should I write
<cfquery name=query datasource=db>
select * from tableA
where items = <contents only match the list>
</cfquery>
The result shoudl only show "items" equal to 2 or 7 or 10 or 13 only....
I had stuck here....HELP ME!!!!
Thank you.
ky_loh Guest
-
Searching a column containing a list against a form list
I have a form that allows users to select multiple items from a list. form.hobbies = 1,5,3,6,8,2 (from a table pullup) I want to be able to... -
Using form variable in a CFQuery
In my Access database are two tables - tblreg_info and tblcourse_description. They are linked via a primary key, ref_no, in the course_description... -
Form and CFQUERY/CFUDATE
hello all! I am stumped as to what this error is: Element FIRSTNAME is undefined in FORM This is an attempt to update a record, using cfquery. ... -
cfquery errors on Package or function LIST is in an invalid state
I am trying to understand an error I got from my cfquery I created a function using TOAD like: create or replace function list ( field1 number... -
Switching to Form or list
Hey could some tell me why sometimes a small script works for switching to Form View to List View works and sometimes it doesn't switch Show All... -
The ScareCrow #2
Re: cfquery and list form
where items IN (<contents only match the list>)
Ken
The ScareCrow Guest
-
ky_loh #3
Re: cfquery and list form
The list is passing the value through the multiple selection form tag <select
multiple>
so when the user select a few item in the form anc click "submit"
my display page should run query that refering only the particular values
only.....
ky_loh Guest
-
ky_loh #4
Re: cfquery and list form
ok..........................................i get it...thank you
ky_loh Guest



Reply With Quote

