I have an Access-2007 application, I use Visual Basic to export/import tables from text file.
DoCmd.TransferText acExportDelim, "MySpec", "Table1", "c:able1.txt", True
DoCmd.TransferText acImportDelim, "MypSpec", "Table1", "c:able1.txt", True
I want to trap all errors that this method can raise. I want to have the list of this method's error numbers, I searched on MSDN but I didn't find any thing.
Also I want to prevent access from creating ImportErrors table if the import fails.
Any idea ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…