In a message dated 7/15/2002 1:03:29 PM Eastern Daylight Time, 
[EMAIL PROTECTED] writes:

<< I'm getting the date-value from the user via input into a DIALOG. >>
Steve,
In the case of a Dialog command for getting a date, I just use:


Label TDateInput
set var vMessage Text = 'Enter Date'
dialog .vMessage vTDate = 10 vKey 1 at center center
set var vDate Date
set var vDate = .vTDate
if vKey = '[Esc]' then
  goto Command End
endif
if vDate is null then
  goto TDateInput
Endif

The TDate is the text, and then it traps for a null value, to make you go 
back and try again, if the date input is invallid.

Hope it helps

Damon

Damon D. Kaufman
President
Stalder Spring Works, Inc
ISO-9002 / QS-9000 Certified
2345 S. Yellow Springs St.
Springfield, Ohio 45506
Voice 937-322-6120
Fax 937-322-2126
email: [EMAIL PROTECTED]
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to