RE: null value problem

2001-01-25 Thread Russel Madere
4, 2001 23:54 To: CF-Talk Subject: null value problem I am having a problem here. How come when form.ccnum is null it is not kicking down to my else. Instead it just says that The value to be encrypted is not valid. It tries to encrypt nothing. Why. Joshua Tipton CFIF IsDefined(&

RE: null value problem

2001-01-25 Thread Jamie Smith
source="conceal" dbtype="ODBC" query stuff /cfquery /CFIF /cfif Jamie -Original Message- From: Joshua Tipton [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 12:54 AM To: CF-Talk Subject: null value problem I am having a proble

null value problem

2001-01-24 Thread Joshua Tipton
I am having a problem here. How come when form.ccnum is null it is not kicking down to my else. Instead it just says that The value to be encrypted is not valid. It tries to encrypt nothing. Why. Joshua Tipton CFIF IsDefined("FORM.CCNUM") CFSET string = FORM.CCNUM CFSET key = form.CPHDAY

RE: null value problem

2001-01-24 Thread Jeff Beer
PROTECTED]] Sent: Thursday, January 25, 2001 12:54 AM To: CF-Talk Subject: null value problem I am having a problem here. How come when form.ccnum is null it is not kicking down to my else. Instead it just says that The value to be encrypted is not valid. It tries to encrypt nothing. Why

Re: null value problem

2001-01-24 Thread Dick Applebaum
I think you need another test: cfif Len(Trim(FORM.CCNUM)) At 12:54 AM -0500 1/25/01, Joshua Tipton wrote: I am having a problem here. How come when form.ccnum is null it is not kicking down to my else. Instead it just says that The value to be encrypted is not valid. It tries to encrypt