Is it possible to use the result of query as the value of a field in an INSERT query? This is what I'd like to achieve but am I going about it the right way?
INSERT INTO tblCounts ( CategoryID, GroupID, CountNo )
VALUES (DMAX("CategoryID","tblCategories"), (SELECT GroupID from tblGroups), 0);