doedit usage
Jose Lerebours
fp at fpgroups.com
Tue Oct 7 13:27:27 PDT 2008
Jose Lerebours wrote:
[snip]
> 19 ------- - - - - - - - - - - - - - -
> MTHDATEþ If: zw eq "00" 'Cannot have this as a month
> Then: zw=""; goto GETDATE
> 20 ------- - - - - - - - - - - - - - -
> þ If: not("01" co mid(zw,"1","1"))
> Then: zw="0"{mid(zw,"1","1"){"/"{mid(zw,"2","1"); goto GETDATE
Insert this on line 21
21 ------- - - - - - - - - - - - - -
þ If: mid(zw,"1","2") gt "12"
Then: zw="0"{mid(zw,"1","1"){"/"{mid(zw,"2","1"); goto GETDATE
> 21 ------- - - - - - - - - - - - -
> þ If:
> Then: zw=zw{"/"; goto GETDATE
I neglected to check if month may be teens over 12 ...
Jose Lerebours
954-559-7186
http://www.fpgroups.com
More information about the Filepro-list
mailing list