<div dir="ltr"><div>You can always just do</div><div><br></div><div>date_field=date_field+"0"</div><div>filePro will convert any - to / when you do this</div><div>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</div><div><br></div><div>hope that helps</div><div><br></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Tue, Jul 16, 2019 at 2:58 PM Richard Kreiss via Filepro-list <<a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">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 /?<br>
<br>
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.<br>
Lookup filed is kah(8) which sets dummy field ds. Ds=kah(8).<br>
<br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: winmail.dat<br>
Type: application/ms-tnef<br>
Size: 11891 bytes<br>
Desc: not available<br>
URL: <<a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20190716/fc227612/attachment.bin" target="_blank" rel="noreferrer">http://mailman.celestial.com/pipermail/filepro-list/attachments/20190716/fc227612/attachment.bin</a>><br>
_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com" target="_blank">Filepro-list@lists.celestial.com</a><br>
Subscribe/Unsubscribe/Subscription Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank" rel="noreferrer">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
</blockquote></div>