08-15-2011, 06:59 PM
I'm looking for a way in ColdFusion of calling a query that will pull data based on category criteria entered, ie employment.
When the results come back I want to be able to show the result of 1 record and then get the query to progress to the next one after 30 seconds.
Would this be possible to do in CF?
Eagerly awaiting an answer whether good or bad :thumbsup:
08-17-2011, 10:32 PM
Otherwise, using AJAX to pull in a new result and updating the page would be best.
08-18-2011, 07:26 PM
Thanks for the reply. The autorefresh moving to the next query results is one I was looking at myself.
I'm not too sure on the AJAX thing. Is there any recommended reading on sites that will make that sound any easier since I've never really used it before?
08-22-2011, 07:53 PM
With regards to using the Meta-Refresh tag.
I have a URL.Variable setup to pick on the ID field of the database. How do I now get CF to move to the next record in the query using the meta refresh?
Any help is greatly appreciated at this moment in time ;)
Thanks to anyone who can give me some light on this one in advance =)
08-23-2011, 05:41 PM
You have to now query the next record. There is no "moving" per se.
<cfquery name="myQuery" datasource="myDataSource">
SELECT myField FROM myTable
WHERE ID = #url.myIdParam#
07-06-2013, 09:52 AM
I had the same queries thanks for answering