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

Mastering PowerBuilder

HomePrevious Lesson: Course 3:: Session 24 :: Page 120
Next Lesson: Course 3:: Session 24 :: Page 140
Using Error Service

The very simple usage of error service requires one line of code. That is, direct the error processing from the application's SystemError event to pfc_SystemError in the application manager.

// Object: Application object
// Event: SystemError
pfc_SystemError()

For the demonstration purpose, we have created one error in the w_product_master's pfc_PostOpen event. PowerBuilder displays the following when I run the application.


Default PFC Error Message.

This is a simple message box. Clicking on the OK button halts the application. The functionality we have created in the Product Management System is far better than this. Right? We haven't enabled the error service yet, that's why you are getting the default functionality. Without enabling the error service, we can't use any of the error service features.

HomePrevious Lesson: Course 3:: Session 24 :: Page 120
Next Lesson: Course 3:: Session 24 :: Page 140

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