Thank you for getting me to seriously review that update page. I set up the original update page months ago when I was first learning...At that time I wasn't successful in making it work dynamically....Out of time constraints/frustration I hardcoded it by subject codeID. After your email I went back and looked at the original, and sure enough was able to go from dozens of case statements to one cflocation....now the rest is easy.
-----Original Message----- From: Gyrus [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 1:56 PM To: CF-Talk Subject: Re: get back to correct section... I don't think this is to do with your original problem, but just at a glance, shouldn't the following code: <CFSWITCH EXPRESSION="#SubjectType#"> <!---Return to Reading page---> <CFCASE VALUE="1"> <CFLOCATION URL="Index.cfm?fa=UpdateR&ID=#ID#"> </CFCASE> <!---return to Word study page----> <CFCASE VALUE="12"> <CFLOCATION URL="Index.cfm?fa=UpdateWS&ID=#ID"> </CFCASE> be something like: <CFLOCATION URL="Index.cfm?fa=Update#SubjectType#&ID=#ID#"> You just need to change the values assigned to SubjectType, or change the way URL.fa is processed. Then you have one line of code instead of up to 30 <cfcase>'s. Apologies if this is irrelevant due to impact on your main problem! - Gyrus ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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

