Bill, thanks, man. That's even better than Buddy's stuff (no disrespect, Buddy) as it's almost the exact code/functionality I was trying to create.
Umm, you're not gonna' send me a bill, are you? Later, Steve in Memphis > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Bill Downall > Sent: Monday, July 15, 2002 11:45 AM > To: [EMAIL PROTECTED] > Subject: Re: String_To_Date? > > > On Mon, 15 Jul 2002 11:26:54 -0500, J. Stephen Wills wrote: > > >How do I convert a string, such as : > > "06/30/2002" > >to a DATE-type variable? > > SET VAR vDateString TEXT = (FORMAT (.#DATE, 'MM/DD/YYYY')) > DIALOG 'Date:' vDateString=10 vEndKey 1 > SET VAR vDate DATE = NULL > > SET VAR vDate = .vDateString > IF vDate IS NULL THEN > -- handle the error > ENDIF > > > > > > ================================================ > 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/ > ================================================ 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/
