Getting values from the registry
If the AutoCommit and Lock values are stored in an application
settings key in the registry, use the RegistryGet function to obtain
them. For example:
|
1 2 3 4 5 6 7 8 9 10 |
string ls_string RegistryGet("HKEY_CURRENT_USERSoftwareMyCoMyApp", & "Autocommit", RegString!, ls_string) if Upper(ls_string) = "TRUE" then SQLCA.Autocommit = TRUE else SQLCA.Autocommit = FALSE end if RegistryGet("HKEY_CURRENT_USERSoftwareMyCoMyApp", & "Lock", RegString!, ls_string) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest