have you tried set status bar off and set status off
>Hi Elmer,
>
>It works as long as you don't call another program (or report) from your program. In report preview there is no way (or I didn't find a way) to prevent these messages. I also had to add set message to something in my UDFs. I even created a special form class and put set message to thisform.caption in Click, MouseMove, etc. methods. I almost fought this beast, but everytime I think, it's over and I won, these messages appear and show me their ugly face! I guess, I'm loosing this battle...
>
>Oh, well...
>
>>Hi Nadya,
>>
>>PMFJI, I'm not sure if this will help but have you tried :
>>
>>
SET MESSAGE TO " "
>>or
>>
SET MESSAGE TO "Whatever text you want to display to prevent system messages in the status bar"
>>
>>I think that this will prevent system messages from displaying in the status bar until you issue SET MESSAGE TO with no arguments. At least it seems to in VFP6.0 SP5.