You can't refer directly to a query that is not part of the record source of the form. You could get the value with a DLookup() if you want (or maybe skip the query and use a DSum()).
You can't refer directly to a query that is not part of the record source of the form. You could get the value with a DLookup() if you want (or maybe skip the query and use a DSum()).