Hi to all,
I have this VBA code that gives an error "Method or data member not found"
I don't know how to fix it.Code:If DCount("*", "tblBorrowedBooks", "fkBookId = " & Me.txtfkBookId _ & " AND fkMemberId = " & Me.cboMember _ & " AND DateBorrowed=#" & Me.txtDateBorrowed & "#" _ & " AND DateReturned=#" & Me.txtDateReturned & "#") > 0 Then MsgBox "A book matching these details already exist!", vbExclamation, "Library Program"
Khalil