mmm_yy date edit
Jay R. Ashworth
jra at baylink.com
Wed May 26 10:33:09 PDT 2004
On Tue, Dec 16, 2003 at 10:55:36AM -0600, Faisal Karim wrote:
> > ( back on list)
> >
> > On Tue, Dec 16, 2003 at 10:45:22AM -0600, Faisal Karim wrote:
> > > I already tried that and it does not convert still:
> > >
> > > aa(8,mdy/)
> > > ab(6,mmm_yy)
> > ^
> > > aa="12/15/03"
> > > ab = aa;display
> > > ab = blank
> >
> > Remember, when you use an edit to do data conversion, the length of the
> > target field has to be big enough to contain the *source* data, even if
> > the *edited* data doesn't require that much length.
> >
> > Try it with ab(8... and see what happens.
> Thank You sir. That did the trick. I guess the edit help should have said
> to use 8 char instead of 6 or 8. FP needs to correct that.
Well, alternatively, you could have had aa be 6,mdy, and it would also
have worked. But the general rule still stands.
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Member of the Technical Staff Baylink RFC 2100
The Suncoast Freenet The Things I Think
Tampa Bay, Florida http://baylink.pitas.com +1 727 647 1274
Come see Linux Gazette in our new home: www.linuxgazette.net!
More information about the Filepro-list
mailing list