Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
LB #1
Changing the Value on multiple fields
Hi Folks,
I have a database that, among other things, has a field called 'pos' -
short for position. The idea is that via a form, I can change the
position any given result is output. For example, if record 1 is given
the pos 3, and record 3 is given the pos 1, then record 3 will be
displayed first (records output using the 'ORDER BY pos' query).
Now, where I'm having trouble here is how I can, via a form, change the
position numbers. If I change multiple positions at once, then click
the submit button, it will create a list of the new values - however
theres nothing in with that for me to say where those values need to be
updating.
I know I could do them individually quite easily, but that could take a
while to do - ideally I want to stick all the numbers on the same form
and have the positions changed in one go.
Alternatively, a system of icons along the lines of 'move up' or 'move
down' would be excellent, but I have no idea where to start with that one.
Thanks for anyone that managed to understand that!
LB
LB Guest
-
Querying multiple fields
I want to create a query where data in one form field matches any of six other fields the record is selected. Anyone have an example of how to write... -
multiple text fields
As frame5 is entered, multiple text fields are supposed to be created. I have 3 createTextFields. Each one works, if it's the only one I didin't... -
Search multiple keywords across multiple fields
Hi, I'm about halfway through building a search engine using ASP, SQL and Access. As part of that search engine I need to search multiple... -
DW crashing changing input text fields
I can't duplicate that one... Have you tried re-creating yout site cache? MX is like a box of chocolates - Someone's usually eaten the good... -
SQL Search Multiple Fields ??
James wrote: Yes. Well, just execute this SQL statement using the PHP extension for the SQL server you're using. By the way: how does...



Reply With Quote

