V
VJ
hi all,
I create a button on form to import file to table;
Private Sub Cmd_Get_Data_Click()
DoCmd.RunCommand (acCmdImport)
End Sub
i does work properly. but let say if i cancel the
importing process halfway,it prompted me run-time
error '2501' window (the run command action was
canceled).how do i get rid of this?anything miss in the
code?
thanks
I create a button on form to import file to table;
Private Sub Cmd_Get_Data_Click()
DoCmd.RunCommand (acCmdImport)
End Sub
i does work properly. but let say if i cancel the
importing process halfway,it prompted me run-time
error '2501' window (the run command action was
canceled).how do i get rid of this?anything miss in the
code?
thanks