Problem:
I have created database in MS SQL and Data Form in MS Access 2003. The table DepEmployee has three column. EmpID [char(5)](Pk), Dep[varchar(15)], Rc[varchr(15)]
I want to auto generate EmpID with Dep, Rc when I click add button on Form.
I have two text boxes call Start EmpID and End EmpID.
For example
If I enter Start EmpID 50636 and End Emp ID 50736 database should store all EmpIDs between 50636 and 50736 automatically with other column data.
Please help to write above program.
Thanks for all.
I have created database in MS SQL and Data Form in MS Access 2003. The table DepEmployee has three column. EmpID [char(5)](Pk), Dep[varchar(15)], Rc[varchr(15)]
I want to auto generate EmpID with Dep, Rc when I click add button on Form.
I have two text boxes call Start EmpID and End EmpID.
For example
If I enter Start EmpID 50636 and End Emp ID 50736 database should store all EmpIDs between 50636 and 50736 automatically with other column data.
Please help to write above program.
Thanks for all.
Comment