I have a form and subform with my subform being a continuous form. It lists timesheet records in a Tabular format. I have a command button that has the following code to delete the record that has focus in the Tabular form:
Private Sub BtnDelete_Click()
With Me.TimesheetRecords
DoCmd.RunCommand acCmdDeleteRecord
Me.TimesheetRecords.Form.Requery
End With
End Sub
The "Requery" does not refresh my subform with any data. All data is blanked out. What am I doing wrong?
Thanks!
Private Sub BtnDelete_Click()
With Me.TimesheetRecords
DoCmd.RunCommand acCmdDeleteRecord
Me.TimesheetRecords.Form.Requery
End With
End Sub
The "Requery" does not refresh my subform with any data. All data is blanked out. What am I doing wrong?
Thanks!