DATABASEEXISTS()
From Lianjapedia
Revision as of 08:15, 2 October 2012 by Lianjasupport (Talk | contribs)
Contents
Purpose
Function to check whether database exists
Syntax
DATABASEEXISTS(<expC>)
See Also
CLOSE DATABASES, CREATE DATABASE, DATABASE(), DBC(), DBF(), FILE(), OPEN DATABASE, TABLEEXISTS(), USE, USED()
Description
The DATABASEEXISTS() function returns .T. if the database name specified in <expC> exists and .F. otherwise.
Example
if databaseexists("lianja") open database lianja else create database lianja endif