mdy/ edit
scooter6 at gmail.com
scooter6 at gmail.com
Wed Oct 31 07:44:32 PDT 2012
Well, there were only about 4-5 'critical' spots that I wanted this to
adamantly show "/" instead of "-" so I just added some
input processing for @wlf so it replaces any "-" with "/"
That will accomplish what I wanted short term anyways....
Can I create say 'mdy//' as a new global edit? This edit would still
require mm/dd/yy - but would replace "-" with "/" if
someone tried to put them in the 3rd and 6th spot? Is this type of edit
possible? (I'm sure it is, just not sure of the syntax)
Then I could modify the files affected and change their edits to mdy//
from mdy/.....
On Wed, Oct 31, 2012 at 10:37 AM, Jeff Harrison <jeffaharrison at yahoo.com>wrote:
> _______________________________
>
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20121031/c1405226/attachment.html
More information about the Filepro-list
mailing list