Back when I first picked up access I absorbed much of Allen Browne's content and still refer back to it quite often to this day.
One habit I picked up early on was simply using integer fields instead of yes/no fields to completely avert the potential of building problematic queries that crash access (http://www.allenbrowne.com/bug-14.html).
Anyone around here still practice this?
I know Allen got out of the game a while ago so I can't help but wonder how much of his content needs some updating... The above referenced bug post is almost 17 years old now! I ran the example crash triggering query and there was no crash!
(EDIT) I take that last part back, the above query DOES still cause the 'No current record' error. I mistakenly used inner instead of left join.Code:SELECT tblCompany.CompanyID, tblEmployee.IsInvited, Count(tblEmployee.EmployeeID) AS CountOfEmployeeID FROM tblCompany LEFT JOIN tblEmployee ON tblCompany.CompanyID = tblEmployee.CompanyID GROUP BY tblCompany.CompanyID, tblEmployee.IsInvited;