Difference between revisions of "DATABASEEXISTS()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
(One intermediate revision by one other user not shown) | |||
Line 22: | Line 22: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Database Functions]] | ||
+ | [[Category:Lianja VFP Extensions]] | ||
+ | [[Category:VFP Function Extensions]] |
Latest revision as of 12:13, 4 February 2013
Contents
Purpose
Function to check whether database exists
Syntax
DATABASEEXISTS(<expC>)
See Also
CLOSE DATABASES, COLUMNEXISTS(), 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