Ahhh..thanks.
And, I forwarded the email to the entire list as well..see? That's how you
saw it in the first place.
I only sent it to Mr. Watts because I know he knows his stuff, and I kinda
needed an answer asap for a project (deadline Friday, been ill for two days
this week already..)
*ahem*
But..anyways...

You still didn't explain how I would force the CFFORM to use the query I
specified.

So I have a variable called Querystring that contains the name of the query
I want to use....what now?

I seem to have solved this myself, by enclosing the cfform with a
<CFIF>

    <CFOUTPUT query="Query if GT">

<CFELSE>

    <CFOUTPUT query="Query if LT">

</CFIF>

<CFFORM>
    <CFINPUT name="employee" value="#employee#">
    <CFINPUT name="department" value=#department#">
</CFFORM>

</CFOUTPUT>

I was just wondering if there were a more elegant solution.

-Gel

----- Original Message -----
From: Jeremy Allen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 1:08 G�l
Subject: Re: Hello..quick question: How do I specify which query I want to
use with a CFFORM?



> <CFIF query1.dateOne GT query2.dateTwo>
>     <CFSET queryString = "queryToUseIfValueIsGreater">
> <CFELSE>
>     <CFSET queryString = "queryToUseIfValueIsNotGreater">
> </CFIF>
>
> Thats it, do this at the top of your page. Then whichever query you need
to
> use
> to populate data with just use QueryString.

> Jeremy Allen
> [EMAIL PROTECTED]


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to