This post is more than 2 years old.
How can you access cfquery data from within a cflayoutarea using the source attribute ?
<cflayout name="tabReferee" type="tab" align="center">
<cflayoutarea name="tab#currentrow#" title="Title" source="frm_referees.cfm" />
Now let's assume there is a record id column in the query ("rid").
How do I access this column from within the frm_referees.cfm page?
So to pass just an id value, the solution is to pass it in the url:
<cflayoutarea name="tab#currentrow#" title="Title" source="frm_referees.cfm?id=#id#" />
You can pass other values as well, but you want to ensure the URL doesn't get too long for the browser, and you want to be sure to use urlEncodedFormat() for non-numeric values.
If you did have a lot of values, then you may have to run the query again. Not the complete query of course. Just a query to get information for one row. You could modify your initial query than just to get the ID value. That will make your code a bit more efficient.