Paul,


How can I check to make sure that if the formvariable is null I trap the error and do something.
I have used isdefined, NOT is defined, eq "" etc etc but the code always crashes with a variable not defined error.


Ah right - had a play on the site - incidently those nasty java applet for simple rollovers should go in the bin and be replaced by a weeny bit of Javascript and two tiny gifs.

What you need is probably : ListFindNoCase(Form.FIELDNAMES,"SelectSize"&Replace(ItemIDPK,"-","_","ALL"))

To check that you actually have a size for that item number back from the form.

Regards

Stephen


-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to