sacacompany
Member
- Local time
- Tomorrow, 02:16
- Joined
- Dec 28, 2022
- Messages
- 31
please help me locate issue in following code.....
Dim Records As DAO.Recordset
Dim Records1 As DAO.Recordset
Set Records1 = CurrentDb.OpenRecordset("Select ID, Paid From RentInvoice where ID = " & Me.Text6, dbOpenDynaset, dbAppendOnly)
Debug.Print ID, paid
With Records1
Records1.Edit
Records1!paid = True
Records1.Update
Set Records1 = Nothing
End With
Dim Records As DAO.Recordset
Dim Records1 As DAO.Recordset
Set Records1 = CurrentDb.OpenRecordset("Select ID, Paid From RentInvoice where ID = " & Me.Text6, dbOpenDynaset, dbAppendOnly)
Debug.Print ID, paid
With Records1
Records1.Edit
Records1!paid = True
Records1.Update
Set Records1 = Nothing
End With