Delete button not "deleting" ???
- From: Ryan <Ryan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Jan 2009 07:31:02 -0800
I have a delete button on my form to delete a record but when the are you
sure you want to delete yes no box appears nothing happens when "yes" is
pushed. Here is my code:
Private Sub DeleteRecord_Click()
If MsgBox("Confirm delete", vbYesNo) = vbYes Then
'add delete code
Else
Exit Sub
End If
End Sub
What am I missing? Thx.
.
- Follow-Ups:
- Re: Delete button not "deleting" ???
- From: BruceM
- Re: Delete button not "deleting" ???
- Prev by Date: Re: Sorting records within a subform based on two control fields
- Next by Date: Re: Adding <All> as option in a multiselect list box
- Previous by thread: Tab stops
- Next by thread: Re: Delete button not "deleting" ???
- Index(es):