The DBRELATIONCOUNT function returns the number of relations in a database.
database is the name of a database and must include the full path if not in the same directory as the open document.
For example, a database called wineshop, located in a folder c:\ability\samples, contains a four relations:
DBRELATIONCOUNT("c:\ability\samples\wineshop.adb")
will return 4.
See also: