Bill,
This may not apply to what you're doing, but you do need to be careful when using _CLIPTEXT in an application. _CLIPTEXT is not just confined to VFP but the whole of windows, which can cause problems -
[ol]Say the user sets a routine going in your application and then goes to do a letter in Word. If they should copy some text between the time that your routine copies text and then uses it, _CLIPTEXT will get changed.[/ol]
I had a report that took a minute or so to run and kept getting unexpected results. These were because the user was copying text while the report was running.
I got around this by immediately copying _CLIPTEXT to a variable.
Hope that helps,
Stewart
PS If you want to get the best response to a question, please check out FAQ184-2483 first.