SET ERROR VAR verr SET VAR vholderr INTEGER OUTPUT null.txt LIST TableName SET VAR vholderr = .verr OUTPUT SCREEN IF vholderr <> 0 THEN --Do something about missing TableName ENDIF
----- Original Message ----- From: "J. Stephen Wills" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, August 31, 2004 10:39 AM Subject: [RBASE-L] - Check for Existence of a Table What would anyone recommend as the best/easiest/fastest way to ascertain whether or not a table exists? I need to check that a table exists at run-time. If it doesn't, then I CREATE TABLE ... CREATE TABLE ... TEMP is not a viable alternative in this particular context. TIA, Steve in Memphis --- RBASE-L ================================================ TO POST A MESSAGE TO ALL MEMBERS: Send a plain text email to [EMAIL PROTECTED] (Don't use any of these words as your Subject: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message SUBJECT, put just one word: INTRO ================================================ TO UNSUBSCRIBE: Send a plain text email to [EMAIL PROTECTED] In the message SUBJECT, put just one word: UNSUBSCRIBE ================================================ TO SEARCH ARCHIVES: Send a plain text email to [EMAIL PROTECTED] In the message SUBJECT, put just one word: SEARCH-n (where n is the number of days). In the message body, place any text to search for. ================================================

