doedit
scooter6 at gmail.com
scooter6 at gmail.com
Wed Jul 31 07:27:32 PDT 2019
You can always just do
date_field=date_field+"0"
filePro will convert any - to / when you do this
I do this on several input processing fields in @wlf so if any data
inputter decides to be silly and put - it converts them to / when they
leave the field
hope that helps
On Tue, Jul 16, 2019 at 2:58 PM Richard Kreiss via Filepro-list <
filepro-list at lists.celestial.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20190731/64e5472a/attachment.html>
More information about the Filepro-list
mailing list