Access 2000/2003
Hi All,
When importing a txt, excel etc into Access, how can I get a msg popup telling me that there are import errors or not?
This is the basic transfer code used:
Can this be modified to achieve the msg popup?
Many Thanks
Michael
Hi All,
When importing a txt, excel etc into Access, how can I get a msg popup telling me that there are import errors or not?
This is the basic transfer code used:
Code:
Function Macro3()
On Error GoTo Macro3_Err
DoCmd.TransferText acImportDelim, "VRR_Use", "checkformats", "F:\Data\svt2.txt", True, ""
Macro3_Exit:
Exit Function
Macro3_Err:
MsgBox Error$
Resume Macro3_Exit
End Function
Many Thanks
Michael