Download presentation
Presentation is loading. Please wait.
1
Write a program that allows a user to enter information relating to the name and salary details of an employee The user should be able to enter the name of the employee and the gross salary of that employee by way of a pair of text boxes. When the user clicks on a “save details” button, the name of each employee, their gross salary and tax paid should be saved in a random access file called “employees.dat” Use a function procedure to calculate the tax paid by each employee. The amount of tax paid should be calculated by multiplying their gross salary by 20%. The information held in the random access file should be displayed to the user in a picturebox when the “show details” button is pressed.
2
Form Design
3
In Standard Code Module… General Declaration section of frmEmployees
4
Open/Create RA File in Form_Load
5
Enter + Save Info
6
Function to calculate Tax
7
Display contents of file to user
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.