Handling errors in the payroll bridge application

Clients email the company their payroll files, and the columns on the payroll indicate Regular Hours, Overtime, Vacation, and so forth. To make the bridge application work, I and the other developer map the program that assigns payroll items based on this layout. It only works, however, when the layout is consistent. Whenever a client changes it by adding or deleting a column, the program generates an error.

One thing I have found so helpful in resolving errors is the Error Handler function. I use the Err object in Visual Basic, but I also add additional information such as the module name and procedure name where the error occurred. The user gets a message box, which is helpful for them, but I also wrote the program to create a log file with the same information so that I can go back and see errors that have occurred.

 

If you liked this post, click here to share it with your network!


Want to read more like this from Daniel Johnson, Jr.? If you do, subscribe right now!


 Get via Email  Add to Google Add to Google  Subscribe to the Feed Subscribe to the Feed


About Daniel Johnson, Jr.

Daniel Johnson, Jr. believes in the power of connecting others and helping tell great stories with technology. Connect with Daniel on Google+.

Tags: , , , , , ,

Bad Behavior has blocked 1480 access attempts in the last 7 days.

Performance Optimization WordPress Plugins by W3 EDGE