Database Identification

Discuss OrbForms Designer and PocketC Architect

Postby bigjoejo on Tue Aug 23, 2005 2:08 am


Let's say I want to create two different types of databases. What is a good way to identify the type of database it is without cracking open the DB? Does anyone have a good way of doing this?

Your help is most appreciated.
Posts: 25
Joined: Sun Jan 11, 2004 8:08 pm

Postby FrankG on Wed Aug 24, 2005 8:47 am

- You could add an extension to the database name when you create it. So if it's type "a" as opposed to "b" append a ".a" to the end; append a ".b" for the other.

- Or you could specify a different string for each in the database type field when you create it, for example "datA" or "datB". If a database exists up when you search for it by name and type you know it's of that type.

Posts: 210
Joined: Thu Jan 23, 2003 7:58 pm

Return to OrbForms Designer and PocketC Architect

Who is online

Users browsing this forum: No registered users and 1 guest