G
Guest
I am sending data from Access to Word. In Access there is a form with
selection criteria. There is also a query that contains the selected data.
There is code behind a form button that writes the data in the query to Word.
As each record is written the code selects the appropriate table in the Word
document and adds new rows to the table, adds and resizes cells and sends the
data. The code works if I step through it but fails if it runs free. I
suspect that Access sends commands and data faster than Word can process
them. Is there a way for Word to talk to Access? Specifically Word needs to
tell Access that the previous process is complete and it is OK to send the
next.
Thanks,
selection criteria. There is also a query that contains the selected data.
There is code behind a form button that writes the data in the query to Word.
As each record is written the code selects the appropriate table in the Word
document and adds new rows to the table, adds and resizes cells and sends the
data. The code works if I step through it but fails if it runs free. I
suspect that Access sends commands and data faster than Word can process
them. Is there a way for Word to talk to Access? Specifically Word needs to
tell Access that the previous process is complete and it is OK to send the
next.
Thanks,