>Great tip. Many stars. I had no idea there was a set command like that. Too bad "Office Automation with VFP" does not have a reference to that potential problem. Just to be sure I was not talking out of turn, I went back an looked. There is no reference to "SET OLEOBJECT".
To clarify, the book does cover SET OLEOBJECT. It covers it first in Chapter 3, "Visual FoxPro as an Automation Client," then in Chapter 14, "Handling Automation Errors." If you haven't already, download the .CHM file from
www.hentzenwerke.com. It contains the entire text of the book, and is searchable.
- della