ddsGetCurrentLib
ddsGetCurrentLib(
)
=> b_ddLibId / nil
Description
Accesses the currently selected library in the Library Browser.
If your applications directly access the dmbCurLib variable or call dmGetCurLib, you need to review why. There is no concept of a current library. This function supports those applications that might be sharing information from a form although it might not matter what form the information is from. This function replaces dmbGetCurrentLib.
Arguments
Value Returned
|
The ddId of the library that is currently selected in the Library Browser if a form is registered to it. |
|
|
No library is selected or the Library Browser is not synchronized with any particular form. |
Example
> x = ddsGetCurrentLib() dd:12347080
Return to top