> Now my question: should both queries be run in the mainframe.cfm file
> and then the results somehow passed to the frames where they are used
> (if this is even possible), or should the queries be run individually
> in the separate frames?  Or since the frames share the results of the
> queries, do I need to run duplicate queries in each of the frames?

I had a similar problem with frames where I wanted to display the column
names as headers in one frame and the data in another frame. Because I
didn't know in advance which columns were going to be selected, the only
way I could get the table cells to line up correctly in both frames was
to run the entire query in both frames.

Very inefficient though. I thought maybe some time I would rewrite it to
have just one .cfm run the query and pass the results to the browser
using WDDX, then share the resulting arrays around the frames using
Javascript. Haven't got around to it though...

Is this a good idea?

Nick


**********************************************************************
Information in this email is confidential and may be privileged.
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**********************************************************************
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to