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 DBParm values from an external text file – PB Docs 2017 – PowerBuilder Library

Reading DBParm values from an external text file – PB Docs 2017

Reading DBParm values from an external text file

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

To read DBParm values from an external text file:

  1. Open the application script in which you want to specify
    connection parameters.

    For instructions, see the section called “Opening Script views” in Users Guide.

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

    For example, the following statement in a
    PowerBuilder script reads the DBParm values from the [Database]
    section of the APP.INI file:

  3. Compile the script to save your changes.

    For instructions, see the section called “Compiling the script” in Users Guide.


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