Greetings. I am running Acc 2k3 on Windows XP. I have the following VB
code behind a form in the btnClose_Click event:
Dim intAns As Integer
If blnDataChanged = True Then
intAns = MsgBox("Data has been updated but the record has not been
saved." & _
vbCrLf & vbCrLf & _
"Do you want to save your changes before the window
closes?", _
vbYesNo + vbQuestion, "SAVE Record Changes?")
If intAns = vbYes Then
btnSave_Click
End If
End If
Would anyone know why the MsgBox is not issuing a 'beep' when the box is
displayed? I get a 'beep' for other MsgBox occurrences?
Thanks.
Regards,
SueB
*** Sent via Developersdex http://www.developersdex.com ***