Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Questions And Answers for PowerBuilder Interviews

HomePrevious Lesson: Question: #34 of #131
Next Lesson: Question: #36 of #131
Question: #35 of #131 Section: DataWindow Version: 5.0 or later

Question

Explain the following error: 'Row(s) changed between retrieve and update'. Also explain how you will get rid of that error?

Click here to see the answer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Answer

PowerBuilder reports this error when some one/process updates the row after you retrieve it but before apply the changes. POWERBUILDER detects this type of error when you include the TimeStamp column in the DataWindow or use the 'Key columns and Updatable columns' in the WHERE criteria. We can't avoid this error. The solution to this problem would be, reselect the row that caused the error and display it to the user with appropriate message and then update the database again. You can use ReSelectRow() function to get the latest values for the error row.

Click here to go to top of the page.
HomePrevious Lesson: Question: #34 of #131
Next Lesson: Question: #36 of #131

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com