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

GetSQLPreview – PB Docs 2017 – PowerBuilder Library

GetSQLPreview – PB Docs 2017

GetSQLPreview

method (DataWindows)

Description

Reports the SQL statement that the DataWindow control is currently
submitting to the database.

Obsolete method

GetSQLPreview is obsolete and will be discontinued in a future
release. You should replace all references to GetSQLPreview as soon as
possible. The SQL syntax is available as an argument in the DBError
and SQLPreview events.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control, DataWindowChild object, DataStore
object

Syntax

PowerBuilder

Argument

Description

dwcontrol

A reference to a DataWindow control or child
DataWindow

Return value

Returns the current SQL statement for dwcontrol. Returns the empty
string (“”) if an error occurs.

If dwcontrol is null, the method returns null.

See also

SetSQLPreview


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