I have imported a tab-delimited text file in an Access database on a button click event.
The file is properly imported, the issue comes if the user selects a text file of different format, the code will import the improper data into the database and creates a new ErrorLog table.
How do I restrict improper data from table? How to do error handling? If a user selects a file that is of improper format (rather than improper data, which generatings an ErrorLog), it will pop up a MsgBox, telling the user that the file if not in proper format.
Will be highly thankful for your Help.