Question about checks for min and max values

Jeff Harrison jeffaharrison at yahoo.com
Fri Jul 22 07:30:56 PDT 2005


--- Henry Melancon <hemelancon at gifinc.com> wrote:

> So is this Filepro behavior normal or is this a bug?

Yes.

>  How do other data base programs handle a situation
> like this?  I do not like the fact that a "blank"
> and zero are treated equal in some cases.
> 
> Henry
> 

The way I have handled this in the past is that I have
explicitly checked for a "" when I needed to.  Also,
when I needed to ensure a numeric comparison I would
do something like the following:

If: (aa +"0") le (bb + "0")
Then:  ' etc.

I hope that helps.

Jeff Harrison
jeffaharrison at yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Filepro-list mailing list