doedit usage
Scott Walker
ScottWalker at RAMSystemsCorp.com
Tue Oct 7 10:50:18 PDT 2008
I have a sort/select process.
In an input statement, the user enters a Post Date in pd(8,mdy/)
If they enter "09/31/08" the edit on pd will not take it.
If they enter "093108" and press <del> ONE TIME, and then press <Enter>,
the "093108" is accepted and the processing moves on to the next line.
Testing for @sk eq "BRKY" does not seem to prevent this since the last
@sk is really "ENTR".
So I'm trying to use "doedit" as an extra check of the validity of the
date entered.
I tried:
dt=doedit(pd,"mdy/")
Then I test to see if dt is blank, as I thought it would be since the
value of "093108" should not pass the mdy/ edit.
But the value of dt shows "093108"
Any suggestions?
Scott Walker
RAM Systems Corp.
Email: ScottWalker at RAMSystemsCorp.com
Phone: (704) 896-6549
Web: www.RAMSystemsCorp.com
More information about the Filepro-list
mailing list