>- see footer for list info -<
Hi guys
<cfif Not ListFind("'',-1",qCheckPII.piirenewal,",")>
<option value="X">remove override</option>
</cfif>
I want to check a variable against two values in a list. one of the
values i want to check is for blank (in case it comes back from the DB
as Null but the ListFind doesn't seem to pick up the blank although
the -1 is working.
The code is above. For clarity - at the beginnin is one double quote,
then two single quotes (to try and do the NULL) then a comma, then the
minus 1 then the end double quote to end the list.
What do I need to change to make the NULL value be picked up in the
ListFind (I am presuming that you can do this in one step) ??
--
Rich
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<