when i convert my access batabase from access 2003 to access 2007
from mdb to accdb
i receved error in this code part
-------------
code
-------------
Private Sub ACCID_BeforeUpdate(Cancel As Integer)
Set Q1 = CurrentDb.OpenRecordset("select * from Accounts where AccId = '" & AccID & "'")
If Q1.RecordCount > 0 Then
from mdb to accdb
i receved error in this code part
-------------
code
-------------
Private Sub ACCID_BeforeUpdate(Cancel As Integer)
Set Q1 = CurrentDb.OpenRecordset("select * from Accounts where AccId = '" & AccID & "'")
If Q1.RecordCount > 0 Then