T
TA
Hi,
I am a newbie with coding for MS Access Please help.
I create a form have 2 button: OK & Cancel, and 1 list box
contain year 1990,1991,...,2010 (I assign var is batch)
If the user select year 2003 AND click OK button.
How do I call a procedure or subprogram to do like this:
"Select * from tblEmployee where tblEmployee.year=batch
insert into tblTempReport (batch,id,sex,code)
values (tblEmployee.year,tblEmployee.id,tblEmployee.sex,
tblEmployee.code)"
This code will be in Modules (?) How can I do this.
Thank you in advance,
TA
I am a newbie with coding for MS Access Please help.
I create a form have 2 button: OK & Cancel, and 1 list box
contain year 1990,1991,...,2010 (I assign var is batch)
If the user select year 2003 AND click OK button.
How do I call a procedure or subprogram to do like this:
"Select * from tblEmployee where tblEmployee.year=batch
insert into tblTempReport (batch,id,sex,code)
values (tblEmployee.year,tblEmployee.id,tblEmployee.sex,
tblEmployee.code)"
This code will be in Modules (?) How can I do this.
Thank you in advance,
TA