Hi!
>Why does it work if I use a refrence to a document created on a separate line (loDoc), but not if created on the same line as the PrintOut?
I have no idea. I guess it because inaccurate development of the COM objects interfaces or some internal restrictions inside of the Word object model that prevents doing it from VFP. ADO fields objects collection works ok in such case.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.