H
Home Alone
Hi,
I am calling Word from another application, and doing a mailmerge operation.
When I send a bunch of letters I have no trouble trapping the
afterrecordmerge event. However when I merge in a loop calling open and close
(with different source data) about 20 documents, the event just plain doesn't
seem to fire all the time. I put trace code in the event just to make sure.
What I am doing to get around this problem is putting a lot of pause
statements between the open and close and it works ok.
But is there a way to make sure this event gets fired?
Thanks- JP
I am calling Word from another application, and doing a mailmerge operation.
When I send a bunch of letters I have no trouble trapping the
afterrecordmerge event. However when I merge in a loop calling open and close
(with different source data) about 20 documents, the event just plain doesn't
seem to fire all the time. I put trace code in the event just to make sure.
What I am doing to get around this problem is putting a lot of pause
statements between the open and close and it works ok.
But is there a way to make sure this event gets fired?
Thanks- JP