GetSelectedRow  GetSQLSelect

Chapter 9: Methods for the DataWindow Control

GetSQLPreview

Description

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

NoteObsolete method GetSQLPreview is obsolete. 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.

Syntax

PowerBuilder DataWindow control or child DataWindow

string dwcontrol.GetSQLPreview ( )

Returns

Returns the current SQL statement for dwcontrol. Returns the empty string ("") if an error occurs. If dwcontrol is NULL, the method returns NULL.





Copyright © 2004. Sybase Inc. All rights reserved. GetSQLSelect

View this book as PDF