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

DataWindow retrieve error – PB Docs 2022 – PowerBuilder Library

DataWindow retrieve error – PB Docs 2022

DataWindow retrieve error

An error has occurred when executing the following SQL statement
via DataWindow Retrieve.

SQL syntax:

When the DataWindow retrieves data using the SQL, an error
message pops up: The property does not allow null value:
Dinneadd1.

Debugging technique:

The error indicates that the model generated from the
DataWindow has set non-nullable attribute to the column. However, the
Dinneadd1 column is a computed column, so it shall be nullable. It is
necessary to check the .cs file of the generated model, find the
column and set nullable attribute to it.

For example, the column defined in the model is:

Add the nullable attribute to the column:

Note: If the SQL syntax contains left join, or union, it may
induce similar error.


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