I didn't get which line you were having the problem on but I had a similar error on a line starting with:
Set rsDateLast = New ADODB.Recordset
rsDateLast.Open SQL1 = "SELECT Max(Month_LastDay_Year) AS MaxLDY FROM tblAdmitMonthYear_Lookup", CurrentProject.Connection, adOpenKeyset...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.