New saga in the database from hell.
For a long time I haven't had to hinder you with my trials and tribulations..... but now I have a new humdinger on my plate.
I have need to create a form that performs multiple functions.
1)Allows the user to select a .csv or .txt file by browsing to a location (.csv or .txt file name will change) and selecting on (or more) files for import.
2)Imports the data to a temporary table.
3)Runs various validating queries and imports if criteria is met (ie all the fields is valid) or else throws up errors (looking to create a interface that displays the offending record and identifies the erroneous entry).
4)Once all errors are corrected (or if there was no errors in the first place) transfers the data and appends it to the master table and then deletes the records (not the table itself) from the temporary table.
I realize this is a large project and must admit to asking here for info before i start (individual input in how best to do any or each part has always be constructive in the past when faced with a issue I have no experience with previously).
The main issue is the import and the ability to browse and then import a file whose name is not specifically specified and refer it to a import macro (if that is the best way) since the import macro I have played with so far seems to require a defined path and file name before attempting to import.
Any pointers at where to start would be greatly appreciated.
Mark
(
For a long time I haven't had to hinder you with my trials and tribulations..... but now I have a new humdinger on my plate.
I have need to create a form that performs multiple functions.
1)Allows the user to select a .csv or .txt file by browsing to a location (.csv or .txt file name will change) and selecting on (or more) files for import.
2)Imports the data to a temporary table.
3)Runs various validating queries and imports if criteria is met (ie all the fields is valid) or else throws up errors (looking to create a interface that displays the offending record and identifies the erroneous entry).
4)Once all errors are corrected (or if there was no errors in the first place) transfers the data and appends it to the master table and then deletes the records (not the table itself) from the temporary table.
I realize this is a large project and must admit to asking here for info before i start (individual input in how best to do any or each part has always be constructive in the past when faced with a issue I have no experience with previously).
The main issue is the import and the ability to browse and then import a file whose name is not specifically specified and refer it to a import macro (if that is the best way) since the import macro I have played with so far seems to require a defined path and file name before attempting to import.
Any pointers at where to start would be greatly appreciated.
Mark
(