M
magmike
I set up a button control to start the import process:
Private Sub ImportData_Click()
DoCmd.RunCommand acCmdImport
End Sub
However, when "Cancel" is selected from the resulting file selection
box, I receive an error from the database:
Run-time error '2501':
The RunCommand action was canceled.
How can I fix this?
thanks,
magmike
Private Sub ImportData_Click()
DoCmd.RunCommand acCmdImport
End Sub
However, when "Cancel" is selected from the resulting file selection
box, I receive an error from the database:
Run-time error '2501':
The RunCommand action was canceled.
How can I fix this?
thanks,
magmike