>>>You need to have
>>>
>>>lnjunk = MESSAGEBOX("You have to enter a quote number"+chr(13)+"Do you want to continue?",20,gcAppName)
>>
>>But not in 5.0 or 6.0.
>
>Why not in 5.0 or 6.0? As far as I can tell, the only difference is that you added a variable for the result. That would still be needed, right? Maybe I'm just too tired and don't see what else you added?
>
>Denise Duggan
Denise, I too am confused by the above messages. However, VFP3 needs to have the = sign in front of functions like MessageBox. The variable is not needed, just the = sign.
In VFP 5 and 6 you can use just the function if you aren't interested in the return value.
HTH
Barbara