Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pointer to a recordset?

Status
Not open for further replies.

DomTrix

Programmer
Dec 28, 2004
94
GB
The setup:
----------

I have several different queries that return recordsets from stored procedures on my SQL database. The data that each query returns contains the same fields and I want to display them in the same way. Each query has a different cfprocreturn name so that they can be uniquely identified.

The Sting:
----------

I want to write one module to display the sets of records. So this module needs a single query name, or other reference to a recordset, to display in a cfloop loop.

Question:
---------

Is there a way I can reference the cfprocresult set so that I can pass it as a parameter to my module (or set a request variable that will be available to the module).


Hope that makes sense and someone can help.

DT
 
You may can put all of the procresults into an array.



Hope This Helps!

ECAR
ECAR Technologies, LLC

"My work is a game, a very serious game." - M.C. Escher
 
Thankyou, I have now used a CFC approach where I store the results in a structure that contains arrays for each field so kinda like you said ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top