D
dean.brunne
Hi,
I have a table with a Product field and need to export a txt for each
Product. I figure that I need to do the following:
Create select query
Create a loop through the unique values in Product field populated in
an array
Within loop set criteria of Select Query to array
Within loop use DoCmd.TransferText method to export query.
However I am a liitle confused with:
How to create the array (dynamic as values may change period to
period)
How to use the array value in the criteria field of the select query
How to use the Select query results in the TransferText method.
Any help is greatly appreciated.
Cheers,
Dean
I have a table with a Product field and need to export a txt for each
Product. I figure that I need to do the following:
Create select query
Create a loop through the unique values in Product field populated in
an array
Within loop set criteria of Select Query to array
Within loop use DoCmd.TransferText method to export query.
However I am a liitle confused with:
How to create the array (dynamic as values may change period to
period)
How to use the array value in the criteria field of the select query
How to use the Select query results in the TransferText method.
Any help is greatly appreciated.
Cheers,
Dean