>How do I get my messagebox with Yes and No buttons to pop up with the Yes highlighted instead of No. In other words if I am quickly keying in info I want to be able to enter on through yes on my messagebox instead of no.
>Thanks
>Rick
cMessageTitle = 'My Application'
cMessageText = 'Record not found. Would you like to search again?'
nDialogType = 4 + 32 + 256
* 4 = Yes and No buttons
* 32 = Question mark icon
* 0 = First button is default
nAnswer = MESSAGEBOX(cMessageText, nDialogType, cMessageTitle)
3rd numeric value selects default button.
Value Default button
0 First button
256 Second button
512 Third button
HTH
Jeff
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com