J
John W
I am developing a database that imports delimited text files from multiple
clients into 5 tables, then needs to combine the information, replace
certain fields with our companies information and then export back to text
to be forwarded on for processing. I've successfully written the VBA code
for the import (thanks mostly to this newgroup). Now I need to start the
export. I'm completely self taught so I'm not sure what direction to go.
An example of my tables is:
Table1
Imported File ID* File Submitter(who sent us the file)
Table 2
Imported File ID File Receiver ID* (the destination of the output file)
Table 3
File Receiver ID Order ID*
Table 4
OrderID * OrderHeaderInformation
Table 5
Order ID Details
Each imported file may contain multiple receivers and each receiver will
have multiple orders. This is why I had to break it into so many tables.
I'm needing to look at the table 2 receivers. For each receiver I need to
export to text all the details from tables 3,4&5 before moving to the next
receiver. The information from Table 1 will have to be replaced with our
companies information. The exported files will look just like the imported
ones except all incoming orders for each receiver will be combined and the
table 1 info will be replaced with new info.
I've learned a lot working on the import but now I'm not sure where to start
for the export. If someone could please point me in the right direction so
I at least know where to start. Thanks again for the help!
clients into 5 tables, then needs to combine the information, replace
certain fields with our companies information and then export back to text
to be forwarded on for processing. I've successfully written the VBA code
for the import (thanks mostly to this newgroup). Now I need to start the
export. I'm completely self taught so I'm not sure what direction to go.
An example of my tables is:
Table1
Imported File ID* File Submitter(who sent us the file)
Table 2
Imported File ID File Receiver ID* (the destination of the output file)
Table 3
File Receiver ID Order ID*
Table 4
OrderID * OrderHeaderInformation
Table 5
Order ID Details
Each imported file may contain multiple receivers and each receiver will
have multiple orders. This is why I had to break it into so many tables.
I'm needing to look at the table 2 receivers. For each receiver I need to
export to text all the details from tables 3,4&5 before moving to the next
receiver. The information from Table 1 will have to be replaced with our
companies information. The exported files will look just like the imported
ones except all incoming orders for each receiver will be combined and the
table 1 info will be replaced with new info.
I've learned a lot working on the import but now I'm not sure where to start
for the export. If someone could please point me in the right direction so
I at least know where to start. Thanks again for the help!