I have converted a 2003 mdb to a 2013 accdb and now my modules won't compile. I get (for findfirst) - "method or data member not found". Do I need new reference libraries or something?
code below:-
mySQL = "SELECT * FROM [5-4AveSchoolBySector] ORDER BY [SID], [Sect];"
Set myPercs = myDB.OpenRecordset(mySQL)
MyInput.MoveFirst
Do
mySID = MyInput!sid
mySQL = "SELECT * FROM [5SchoolSectors] WHERE Sid = " & mySID & ";"
Set MyOutput = myDB.OpenRecordset(mySQL)
MyOutput.MoveFirst
Do
mySect = MyOutput!sect
myPercs.FindFirst "SID = " & mySID & " and Sect = '" & mySect & "'
code below:-
mySQL = "SELECT * FROM [5-4AveSchoolBySector] ORDER BY [SID], [Sect];"
Set myPercs = myDB.OpenRecordset(mySQL)
MyInput.MoveFirst
Do
mySID = MyInput!sid
mySQL = "SELECT * FROM [5SchoolSectors] WHERE Sid = " & mySID & ";"
Set MyOutput = myDB.OpenRecordset(mySQL)
MyOutput.MoveFirst
Do
mySect = MyOutput!sect
myPercs.FindFirst "SID = " & mySID & " and Sect = '" & mySect & "'