mdy/ edit
Jeff Harrison
jeffaharrison at yahoo.com
Wed Oct 31 07:37:12 PDT 2012
_______________________________
> From: "scooter6 at gmail.com" <scooter6 at gmail.com>
>To: filepro-list at lists.celestial.com
>Sent: Wednesday, October 31, 2012 9:30 AM
>Subject: mdy/ edit
>
>I have several fields throughout many files that use the mdy/ edit
>(mm/dd/yy)
>Unfortunately, I guess that edit also accepts mm-dd-yy
>Is there a way to modify this edit so it ONLY accepts the "/" and not "-" ?
>I also don't see it in the GLOBAL edits library. Where can you make a
>change to this edit?
>
>TIA
>
>Scott
>PDM
Unfortunately mdy/ is a system edit so you can't mess with it. You could add some @wlf processing that checks for a slash - as in If: myfield co "-" Then: myfield = myfield + 0; display. If you have a bunch of date fields you may be able to associate them as say "A0)" so that you can use only one statement for this for all of your fields as in the following @wlfA0) If: myfield co "-" Then: myfield = myfield + 0; display
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport
More information about the Filepro-list
mailing list