|
-
Aug 4th, 1999, 12:27 AM
#1
Thread Starter
Lively Member
In VB5, I am using a data control along with a dbgrid, when I delete a row, I have it display a msgbox, but after my msgbox it displays another one saying
"This Action was cancelled by an associated object." the code I am using is
If vbKeyDelete Then
If SSTab1.Caption = "Log Information" Then
Msg = "Delete Row? (This Cannot Be Undone!)"
Style = vbYesNo + vbCritical
Title = "Remove Row"
Ctxt = 1000
Response = MsgBox(Msg, Style, Title, Help, Ctxt)
End If
End If
If Response = vbNo Then
Cancel = True
End If
How Can I remove the seconed msgbox?
Thank you,
Jeremy
------------------
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|