revDatabaseID | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | revdb_cursorconnection | ||||||
Associations | database library | ||||||
Summary | Returns the database ID of the database that opened a record set. | ||||||
Introduced | 1.1 | ||||||
Changes | The revDatabaseID synonym was added in version 2.0. | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: integer Glossary: Standalone Application Settings, database, standalone application, record set, return, LiveCode custom library Command: revCloseDatabase Function: revOpenDatabase Library: Database library Control Structure: function | ||||||
Security | disk, network | ||||||
Description | Use the revDatabaseID function to find out which database a record set belongs to. The returned value is the same as the value returned by the revOpenDatabase function when the database was first opened. You can use the returned value to close a database after your stack is finished with it.
| ||||||
Tags | database |