>John,
>
>I'm doing all this in VFP5.
>
>>Yeah, this code was version 5.0 and the vba code wouldn't work. I use the later stuff in my version 6 code too.
Well, I sit corrected!< G > When I was developing the code, I couldn't get it to do those things and stumbled on the notion of using word basic. Got my app working and moved on. I also didn't have the include file at that time. Good catch.
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright