| Hyderabad Jobs | Book Website | ![]() |
I Love Hyderabad | Hyderabad Colleges |
| Home | Business Emails | Hyderabad Classifieds | Contact Us | |
| 7 Wonders of Hyderabad | Web Hosting | Yellow Pages | Our Network | |
Advanced PowerBuilder
GetSQLSelect() and SetSQLSelect()Unlike GetSqlPreview(), GetSQLSelect() and SetSQLSelect() functions can be called from other events. When PowerBuilder validates the SELECT statement against the database, SetSqlPreview() is called - provided the DataWindow is updateable. If the SELECT list doesn't match the previously defined version, it returns an error and the new list of columns won't take effect. If the DataWindow is not updateable, PowerBuilder doesn't check for the validity of the SELECT statement. If the SELECT statement contains computed columns, or if the FROM clause contains more than one table, PowerBuilder sets the DataWindow as not updateable, which makes Update() function call to fail. If this happens, you need to change the UPDATE characteristics by calling Modify(), which is explained next. Typically, these commands are called when a WHERE or HAVING clause has to be changed dynamically.
|
| Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com |