J
Jonathan Stratford
Hi,
I use the following code in an attempt to delete the
current record from the table, using a button on a form.
Unfortunately it doesn't work! Can anybody tell me why?
Dim strSQL As String
strSQL = "Delete * FROM [TSpecialDays] WHERE [Special Day
Date]='" & Special_Day_Date
'MsgBox strSQL
CurrentDb().Execute strSQL
Many thanks,
Jonathan Stratford
I use the following code in an attempt to delete the
current record from the table, using a button on a form.
Unfortunately it doesn't work! Can anybody tell me why?
Dim strSQL As String
strSQL = "Delete * FROM [TSpecialDays] WHERE [Special Day
Date]='" & Special_Day_Date
'MsgBox strSQL
CurrentDb().Execute strSQL
Many thanks,
Jonathan Stratford