I've thought of that, but there should be a way of checking the table
for the record and then running the cfif cfelse code?

In my frustration yesterday I deleted the code for the cfswtich cfcase,
but it was something like Location_ID IS NOT Location_ID, Location_ID IS
Location_ID - pretty much the same of for the cfif statement.  

Ben

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, May 20, 2002 10:53 AM
To: CF-Talk
Subject: RE: Cfif cfelse question 


is there any other variables distinguishing between a new and an edit?
if not you should try passing a type variable that does.

Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org


-----Original Message-----
From: Ben Covington [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 10:40 AM
To: CF-Talk
Subject: Cfif cfelse question 


Hello All,

I'm trying to develop a way to differentiate between a new record or the
editing of a previous entered record using a single template.  The user
clicks on the link which passes the variable ID to the template for the
cfif new and cfelse edit - but can only get one portion of the template
to show at a time?  I've also tried cfswitch and cfcase to no avail.  

What else should I try?  Any assistance or direction will be greatly
appreciated.  

Best regards, Ben


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to