Question about checks for min and max values

Henry Melancon hemelancon at gifinc.com
Thu Jul 21 12:06:53 PDT 2005


I did not see anyone respond to Jeff's comments regarding a possible bug in Filepro.  I am curious to know........Can anyone answer this?

Henry

> -----Original Message-----
> From: Jeff Harrison [mailto:jeffaharrison at yahoo.com]
> Sent: Wednesday, July 20, 2005 4:51 PM
> To: Kenneth Brody; Henry Melancon
> Cc: filepro-list at lists.celestial.com
> Subject: RE: Question about checks for min and max values
> 
> --- Kenneth Brody <kenbrody at bestweb.net> wrote:
> 
> > Quoting Henry Melancon (Wed, 20 Jul 2005 12:36:44
> > -0500):
> >
> > > The field types (edits) for fields 58 and 59 are
> > both defined as type
> > > "F".
> > >
> > > Filepro seems to be treating a blank field the
> > same as zero.  Is this
> > > correct?
> > [...]
> >
> > A blank numeric field will compare equal to zero.
> > You can explicitly
> > compare for blank by comparing for equal to "",
> > which will be true only
> > if the field is completely blank.
> >
> > --
> 
> I did a test with two .0 edits and I found that a
> blank field is less than zero.  However, with two f
> edits they are equal.  Is this a bug?
> 
> For my tests I used the windows demo 5.010D9 DEMO
> 
> Jeff Harrison
> jeffaharrison at yahoo.com
> 
> Author of JHExport and JHImport.  The easiest and
> fastest ways to generate code for filePro exports and
> imports.
> 
> 
> __________________________________________________
> 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