Bug?

Kenneth Brody kenbrody at bestweb.net
Thu Apr 1 06:34:49 PST 2004


Courtney wrote:
> 
> I found a bug in filePro (I think)
> 
> I am writing a field from 6,ymd format to 8,mdy/ format...the date is 040329
> and comes out as 04/03/29...while the year COULD be 1929, should filePro
> convert it?  I know the solution is to move the ymd field to a dummy 8,mdy/
> field than that dummy field...but I shouldn't have to...
> 
> 'post fields to new record, or refresh existing record
> cko(2)=nwp(4);cko(3)=rt;cko(4)=7;cko(5)=34;cko(6)=tr
> 
> field cko(4) is the 8,mdy/ field and field 7 is defined as 6,ymd

Verify that cko(4) is in fact 8,mdy/ and that field 7 is 6,ymd.  The
above is what I would expect for ymd to ymd/ or mdy to mdy/, but
filePro will re-order the parts as appropriate.

A (6,ymd) field with "040329" represents 29-Mar-04, which will be
placed in a (8,mdy/) field as "03/29/04".

-- 

+---------+----------------------------------+-----------------------------+
| Kenneth |     kenbrody at spamcop.net      | "The opinions expressed     |
|    J.   |    http://www.hvcomputer.com     |  herein are not necessarily |
|  Brody  |      http://www.fptech.com       |  those of fP Technologies." |
+---------+----------------------------------+-----------------------------+




More information about the Filepro-list mailing list