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

DisableBind parameter – PB Docs 2022 – PowerBuilder Library

DisableBind parameter – PB Docs 2022

DisableBind parameter

PowerServer supports DisableBind differently from PowerBuilder in
the case of the DataWindow UPDATE statement.

For example, suppose the database column “updatetime” is defined
as below.

When DisableBind is set to 1,
if the application user inserts a new row, but does not enter a value
for the “updatetime” column, PowerBuilder and PowerServer both can
insert the data to the database successfully.

However, when DisableBind is
set to 0, if the application user inserts a new row, but does not
enter a value for the “updatetime” column, then

  • PowerBuilder throws an error indicating that the
    “updatetime” column cannot be null.

  • PowerServer inserts the data row to the database
    successfully (the “updatetime” column takes the default value from
    database).

In the case of the DataWindow UPDATE statement, PowerServer will
ignore the value of DisableBind and
always uses the bind variables; and the NCharBind parameter always takes effect in
PowerServer (Unlike PowerBuilder, for NCharBind to take effect, the DisableBind parameter must be set to 0).


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