Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Reading AutoCommit and Lock values from an external text file – PB Docs 2017 – PowerBuilder Library

Reading AutoCommit and Lock values from an external text file – PB Docs 2017

Reading AutoCommit and Lock values from an external text
file

As an alternative to setting the AutoCommit and Lock properties
in a PowerBuilder application script, you can use the PowerScript
ProfileString function to read the AutoCommit and Lock values from a
specified section of an external text file, such as an
application-specific initialization file. 

To read AutoCommit and Lock values from an external text
file:

  1. Open the application script in which you want to set
    connection properties.

  2. Use the following PowerScript syntax to specify the
    ProfileString function with the SQLCA.Lock property:

    The AutoCommit property is a boolean, so you need to convert
    the string returned by ProfileString to a boolean. For example,
    the following statements in a PowerBuilder script read the
    AutoCommit and Lock values from the [Database] section of the
    APP.INI file:

  3. Compile the script to save your changes.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x