The following code gives a "No Current Record" error on the MoveLast function. We have tried messing around with the SQL string. It functions well in separate parts, but not as one string. Any thoughts?
strSQL = "Select * from tbl_Attendants Where Parish_Group_ID = " & Forms!frm_Check_In_Attendants_by_Group!frm_Check_In_Attendants_by_Group_Subform.Form![Parish_Group_ID] & " AND Arrival_Verification = TRUE"
Set rs2 = CurrentDb.OpenRecordset(strSQL)
rs2.MoveLast
*************
M. MARNEY
strSQL = "Select * from tbl_Attendants Where Parish_Group_ID = " & Forms!frm_Check_In_Attendants_by_Group!frm_Check_In_Attendants_by_Group_Subform.Form![Parish_Group_ID] & " AND Arrival_Verification = TRUE"
Set rs2 = CurrentDb.OpenRecordset(strSQL)
rs2.MoveLast
*************
M. MARNEY