How to get a database name from a database ID

Creating desktop or client-server database solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
phaworth
Posts: 592
Joined: Thu Jun 11, 2009 9:51 pm

How to get a database name from a database ID

Post by phaworth » Tue Jun 01, 2010 2:22 am

Does anyone know of a function to return the database name that belongs to a given database ID? I'm using sqlite.
Thanks,
Pete

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Re: How to get a database name from a database ID

Post by Janschenkel » Tue Jun 01, 2010 4:05 pm

Nope, it looks like there is no function in the RevDB library to retrieve the connection parameters on the basis of a connection id.
My best guess is that they expect you to keep track of that yourself - after all, you opened the connection :-)

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply