>Cathi and Sergey have given you the answer to your problem. (Choose whichever one you like depending on what prompts you want in your messagebox). I just wanted to add that this is an excellent illustration of why it's better to use DEFINEd constants than "magic numbers" like 5 and 16 in your code. Constants for all supported MessageBox() parameters and return values are predefined in FOXPRO.H, so all you need to do is include FOXPRO.H in your program.
>
>Mike
Mike -
your comment there was useful to me. i've been creating my own
definitions every time. i was not aware of the FOXPRO.H file.
thanks !!
patrick
patrick