revGetDatabaseDriverPath

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revGetDatabaseDriverPath()
Associationsdatabase library
Summary

Returns the folder where the Database library looks for database drivers

Introduced2.9
OSmac, windows, linux
Platformsdesktop, server
Example
if revGetDatabaseDriverPath is not tCustomDriverFolder then
  revSetDatabaseDriverPath tCustomDriverFolder
end if
RelatedCommand: revSetDatabaseDriverPath
Glossary: Standalone Application Settings, standalone application, function, LiveCode custom library
Library: Database library
Securitydisk, network
Description

Use the revGetDatabaseDriverPath function if you need to know where the Database library is currently loading drivers from. This is useful if you are using custom database drivers or if you want to obtain a list of available drivers.

Important: The revGetDatabaseDriverPath function is part of the Database library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Database" library checkbox is checked.