T
Tintin via AccessMonster.com
Hi All,
I am trying to show the append query progress of approx 50,000 data's into
T_3x3 at F_Progress.
I already put a lable call LbProgress at F_Progress.
For your info I am using code bellow to execute the append query, but it
dosn't work.
Function AppendQ_3x3()
Dim db As Database
Set db = CurrentDb()
Dim prm As Parameter
Dim qdf As QueryDef
Set qdf = db.QueryDefs("Q_3x3")
For Each prm In qdf.Parameters
prm.Value = Eval(prm.Name)
Forms!F_Progress!LbProgress.Caption = dcount("ID","T_Progress","ID")
DoEvents
Next
qdf.Execute dbFailOnError
End Function
I am really desperate to solve this problem, please help me.
Thanks,
Tintin
I am trying to show the append query progress of approx 50,000 data's into
T_3x3 at F_Progress.
I already put a lable call LbProgress at F_Progress.
For your info I am using code bellow to execute the append query, but it
dosn't work.
Function AppendQ_3x3()
Dim db As Database
Set db = CurrentDb()
Dim prm As Parameter
Dim qdf As QueryDef
Set qdf = db.QueryDefs("Q_3x3")
For Each prm In qdf.Parameters
prm.Value = Eval(prm.Name)
Forms!F_Progress!LbProgress.Caption = dcount("ID","T_Progress","ID")
DoEvents
Next
qdf.Execute dbFailOnError
End Function
I am really desperate to solve this problem, please help me.
Thanks,
Tintin