Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Get list of databases
Sat, Aug 17 2013 5:31 PMPermanent Link

James Summerlin

Is there a way to get a list of all registered databases from DBISAM using .Net?  We would like to get this list and present it to the user so they can decide what database they want to get in to.

JamesNT
Sun, Aug 18 2013 7:48 AMPermanent Link

Walter Matte

Tactical Business Corporation

James Summerlin wrote:

Is there a way to get a list of all registered databases from DBISAM using .Net?  We would like to get this list and present it to the user so they can decide what database they want to get in to.

JamesNT


DBISAM does not have a catalogue.... you need to know which folders contain DBISAM databases.  Once you know, you can ask for a list of Tables.  Or make your own catalogue as part of your application.  Then you could present it to the user.

The only way this would be possible would be to scan each Folder on a Drive and check any *.dat (or whatever extension you are using) to know if it was a DBISAM Table.

Walter
Sun, Aug 18 2013 11:49 AMPermanent Link

Raul

Team Elevate Team Elevate

I'd just add that if you use C/S (dbisam server) then it does maintain
and allow retrieval of databases (GetServerDatabaseNames).

DBISAM does not support .Net AFAIK so I assume you are using ODBC driver
and i don't know if it even exposes GetServerDatabaseNames in some way.

Raul

On 8/18/2013 7:48 AM, Walter Matte wrote:
> DBISAM does not have a catalogue.... you need to know which folders contain DBISAM databases.  Once you know, you can ask for a list of Tables.  Or make your own catalogue as part of your application.  Then you could present it to the user.
>
> The only way this would be possible would be to scan each Folder on a Drive and check any *.dat (or whatever extension you are using) to know if it was a DBISAM Table.
>
> Walter
>
Mon, Aug 19 2013 2:44 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

James,

<< Is there a way to get a list of all registered databases from DBISAM
using .Net?  We would like to get this list and present it to the user so
they can decide what database they want to get in to. >>

Unfortunately, the ODBC driver does not expose this functionality anywhere.

Tim Young
Elevate Software
www.elevatesoft.com
Image