doedit

Bruce Easton bruce at stn.com
Tue Jul 16 13:12:22 PDT 2019


It probably could be done with edits, but why not just use date fields 
to make the data uniform:

Then: da(6,mdy)=8; 8=da

(assuming that field 8 is declared as 8,mdy/)



On 7/16/19 2:58 PM, Richard Kreiss via Filepro-list wrote:
> In a date field (8,mdy/) a few entries use a - rather than a slash i.e. 04-18-18 rather then 04/18/18.  As filePro excepts the dash- in the date field, will doedit change the - to a slash /?
>
> If so, how would one write the program line?  The date field is field 8 in the file.  As there are only a few (14) out of 839 records, I could either write a process to update just those records or add the doedit to a lookup which uses this field.
> Lookup filed is kah(8) which sets dummy field ds. Ds=kah(8).
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: winmail.dat
> Type: application/ms-tnef
> Size: 11891 bytes
> Desc: not available
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20190716/fc227612/attachment.bin>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the Filepro-list mailing list