automatiaclly fetch the salary form a database against the empID given.
Posted on 2003-12-04
I am working on an assignment. using vb6 and sql server2000.
The problem is.... On the employees form of the application... i have fields like EmpID.. Salary.. etc.
What i need is that when i write an empID in the "txtEmpID" textbox, on its lost focus event a code should execute and populates the Salary textbox with that particular employees salary. Getting the salary form the employees table against the EmpID provided.
on calculating its overtime payment I again submit the form to the database. But this time salary field will not be added to the database.
I hope u understand whats my problem.
thanks in advance... waithing for reply.