Phil,
Ultimately it is a matter of preference, but if you go with using the
cfincludes from within another file, I would recommend naming it something
other than a qry_ file, I would probably use act_.
I know Steve Nelson recommends putting the calls directly in the fuseaction,
that way you dont hardcode the query in the display file, assuming you are
displaying this data after the queries. But I have rarely seen the same
display file being capable for use with different queries. Not to say its
not possible though.
Craig
-----Original Message-----
From: Phillip Duba [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 10:44 AM
To: Fusebox
Subject: Query file question
This is a question about the use of the "qry_" files. I am building a
scoring/statistical tracking system for a hockey league for a project
for school. I have a series of 6 queries that I use to build a game's
results. Each one of these queries can also be used in other instances
(such as building forms). My question is would it be appropriate to have
one qry_ file call inside of this fuseaction (GameData) with a number of
<cfinclude>s for each of the other query files or should I just do six
separate <cfincludes> within the fuseaction? Is it appropriate to
include qry_ files inside of a qry_ file or is this just a matter of
personal preference? Thanks for your input,
Phil
--
Phil Duba
Software Developer
IDE Applications
Lockheed Martin NE&SS - Surface Systems
(856) 787-3657
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists