BT2019 Select external data source file dynamically at print time 追蹤
I have a folder that contains loads of txt files that are archived for reprint purpose. They all have the same structure which is : REPRINT_PROD_#####.txt
The "#####' part is different for each file and needs to be passed dynamically through an entry form.
Of course the selected file would be used as a database for the Bartender document. Each file contains one line with values separated by pipe.
I have found a workaround to achieve this but was wondering if there is not an easier way to do it?In fact, I don't how to return the database file values to the original Bartender document.
I have used the Form-Level Actions as such :
- Set Variable to create a variable to fill the "#####" part of the file
- Transform Text To Record Set to get all my values in the EventDate variable
- Loop to each records (even tough there is only one per file)
- Print the desired document that uses the database file
Bartender 2019 automation license used.