>I am using the following code:
>In the following message box yes button is getting the focus i want to turn the focus to NO button.
>
>**********
>IF MESSAGEBOX("Word not found in picklist. Do you" + CHR(13) +;
> "want to ADD it to the picklist?",4+32) = 6
> SELECT (mTable)
> APPEND BLANK
>**************
>
>Thank you.
As explained in the help, you have to add 256 to the constants:
IF MESSAGEBOX("Word not found in picklist. Do you" + CHR(13) +;
"want to ADD it to the picklist?",4+32+256) = 6
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)