I am trying to group by ShippingDate, ProjectNumber, LoadNumber, Stack, Level in the following SQL Statement:csSelect.Format("SELECT ShippingLoadTable.ShippingDate, ShippingLoadTable.ProjectNumber, ShippingLoadTable.LoadNumber, ShippingLoadTable.MarkNumber, [ShippingLoadTable.Stack], [ShippingLoadTable.Level], [ShippingLoadTable.Position] FROM ShippingLoadTable WHERE ShippingLoadTable.ShippingDate = #%s# AND ProjectNumber = '%s' GROUP BY ShippingLoadTable.ShippingDate, ShippingLoadTable.ProjectNumber, ShippingLoadTable.LoadNumber, ShippingLoadTable.Stack, ShippingLoadTable.Level", csDate, m_csProjectNumber);
I get the following error:"You tried to execute a query that does not include the specified expression 'LoadNumber' as part of an aggregate function." (1)}What does this mean?Mike BEdited by - MikeB on 07/04/2002 10:48:24Edited by - MikeB on 07/04/2002 10:49:04