Normal Topic @IsBlank (Read 694 times)
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
@IsBlank
Aug 1st, 2006 at 7:24pm
Print Post Print Post  
Which of the following is the correct way to test if a field contains a value:
Code
Select All
If Not @IsBlank(FieldName) then.... 


or
Code
Select All
If @IsBlank(FieldName)=0 then.... 



If they are functionally equivalent, which processes faster (if either)?
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: @IsBlank
Reply #1 - Aug 1st, 2006 at 8:40pm
Print Post Print Post  
Both of those ways are correct ways. I doubt you will find one to be faster than the other.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: @IsBlank
Reply #2 - Aug 1st, 2006 at 8:45pm
Print Post Print Post  
Thanks Ray.
  

**
Captain Infinity
Back to top
IP Logged