<div> Well, there were only about 4-5 'critical' spots that I wanted this to adamantly show "/" instead of "-" so I just added some</div>
<div> input processing for @wlf so it replaces any "-" with "/"</div>
<div> That will accomplish what I wanted short term anyways....</div>
<div> Can I create say 'mdy//' as a new global edit? This edit would still require mm/dd/yy - but would replace "-" with "/" if</div>
<div> 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)</div>
<div> Then I could modify the files affected and change their edits to mdy// from mdy/.....</div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Oct 31, 2012 at 10:37 AM, Jeff Harrison <span dir="ltr"><<a href="mailto:jeffaharrison@yahoo.com" target="_blank">jeffaharrison@yahoo.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">_______________________________<br><br>> From: "<a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a>" <<a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a>><br>
>To: <a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a><br>>Sent: Wednesday, October 31, 2012 9:30 AM<br>>Subject: mdy/ edit<br>
<div>
<div class="h5">><br>>I have several fields throughout many files that use the mdy/ edit<br>>(mm/dd/yy)<br>>Unfortunately, I guess that edit also accepts mm-dd-yy<br>>Is there a way to modify this edit so it ONLY accepts the "/" and not "-" ?<br>
>I also don't see it in the GLOBAL edits library. Where can you make a<br>>change to this edit?<br>><br>>TIA<br>><br>>Scott<br>>PDM<br><br><br></div></div>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<br>
<span class="HOEnZb"><font color="#888888"><br>Jeff Harrison<br><a href="mailto:jeffaharrison@yahoo.com">jeffaharrison@yahoo.com</a><br>Author of JHExport and JHImport<br></font></span></blockquote></div><br>