|
Help me to solve this problem(sqlserver & visual basic)
I am using sqlserver and vb6
Problem - I made 2 tables in sql server. 1) emp and 2) tmpemp
Some data in emp table :
Id Name address
1 Fosiul Uk
2 Steve Uk
3. Martin uk
Want to make a procedure, which will copy record for ID 1 to table tmpemp.
like , if id = 1 from emp table, copy record to tmpemp table.
and want to execute it from visual basic.
like user will select Id from combo box. and that employee record will shift to tmpemp table.
this is basicaly for reporting purpose.
Can any one help me please.
|