devicode Site Admin
Joined: 05 Mar 2005 Posts: 248
|
Posted: Thu Jun 01, 2006 10:18 pm Post subject: Extract newdata from the updated text file. |
|
|
Question
I got another trouble from Response mailer.
I did create RegKey_column_1, RegKey_column_2,\r\nRegKey_column_3,RegKey_column_4,RegKey_column_5,RegKey_column_6,RegKey_column_7,RegKey_column_8\r\n\r\nI will run the access program to generate a item1.txt file to allow the Response mailer to extract data from item1.txt file. But the Response mailer will only take previous data from the Response mailer data file. It ignore my update item1.txt file.
Please tell me how to clear the old data in Response mailer and to allow Response mailer to extract newdata from the updated text file.
Best regards
Answer
I believe I see what is causing the problem. You are trying to use the 'Extract Data' function on a file that is created during the running of the 'Action' tasks.
This will not produce the expected because the program works by first applying all filters, then it performs the data extractors and finally run the actions.
What will happen is that the program will use the previous data instead of the newly created one.
The work-around is to use 2 responders process.
Responder 1 will run the batch program and responder 2 will send the email.
Make a copy of autoresponder using the 'duplicate item' feature.
Edit the first item and remove the 'send a email' action.
Edit the second item and remove the 'write file ' and 'run program' items. |
|