Larry, Thanks! Myron
-----Original Message----- From: [EMAIL PROTECTED] [mailto:owner-rbase-l@;sonetmail.com] On Behalf Of Lawrence Lustig Sent: Sunday, November 03, 2002 12:16 PM To: [EMAIL PROTECTED] Subject: Re: Database Backup File to Your Choice of Drive > is this; Using the cval function - SET VAR vDrives = (CVAL('Drives')) > - I can find out what drives are on a specific computer, but how can > I limit the user to using only a valid drive letter? (Around line 35). IF SLOC(CVAL('Drives'), .vChoice) > 0 THEN -- Choice is valid, continue ELSE -- Choice is invalid, issue error message ENDIF Also, if you look at the string returned by CVAL('Drives') you will notice that some drives are in upper case and some in lower case. The lower case ones have removable media, so you can implement some additional checking if you want to ensure that the user is backing up to something that can be removed from the computer. -- Larry Lustig ================================================ 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/
