You guys have been great in helping me make a transition from traditional SQL/ASP to Access SQL/VBA. I'm on the home stretch of my process and need some direction on the automation to make my solution practical. Your help would be greatly appreciated.
My task is to wrtie a module that does the following in sequence:
1. Import a fixed width text file (call the text file Import.txt) into an existing table using an import defintion (I have no experience using import/export definitions - I've only done manual imports and exports).
2. Execute "Module1"
3. Execute "Query1"
4. Execute "Query2"
5. Export the results from "Query2" to a another text file to a specified location. Call the export text file "Export.txt". Call the location "C:\Directory"
The execution of "Module1" can take up to 15 minutes and the queries run in a few seconds - if that matters.
Any help for someone who has only helped write a single module in Access would really be valuable. Hopefully I've provided enough information.
Thanks,
Fred
My task is to wrtie a module that does the following in sequence:
1. Import a fixed width text file (call the text file Import.txt) into an existing table using an import defintion (I have no experience using import/export definitions - I've only done manual imports and exports).
2. Execute "Module1"
3. Execute "Query1"
4. Execute "Query2"
5. Export the results from "Query2" to a another text file to a specified location. Call the export text file "Export.txt". Call the location "C:\Directory"
The execution of "Module1" can take up to 15 minutes and the queries run in a few seconds - if that matters.
Any help for someone who has only helped write a single module in Access would really be valuable. Hopefully I've provided enough information.
Thanks,
Fred