| 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 | |
Questions And Answers for PowerBuilder Interviews
QuestionIn a DataWindow, there are few fields with validation rules, and few fields with script in the ItemChanged event. I want to display custom error message when data doesn't go through the ItemChanged event, but want to display default error messages when the data doesn't go through the validation rules. What should I do? Click here to see the answer
AnswerWell, define an instance variable. Turn it one when you decide the data is invalid in the ItemChanged event. In the ItemError event, return appropriate return code depending on the instance variable value and reset the instance variable to it's default value appropriately. Click here to go to top of the page.
|
| Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com |