I think this is an issue that has haunted me for a long time and claims a lot of my loss sleep.
i need to create an aggregated query of records, with all fields grouped by except the DateCompleted field which is Max. This is so i can find the last date that an event was completed. simple enough.
Ok but what if i need to have the RecordID field as well so later i can distinguish between the records and save more data to it? Obviously without RecordID all the fields are grouped correctly but when i throw the RecordID field in it creates a unique field that can not be 'grouped', thus giving me ungrouped data.
is there anyway i can achieve this aggregation, and have the RecordID field there so i know what Record to work with later?
i hope someone understands where im coming from and can help.
i need to create an aggregated query of records, with all fields grouped by except the DateCompleted field which is Max. This is so i can find the last date that an event was completed. simple enough.
Ok but what if i need to have the RecordID field as well so later i can distinguish between the records and save more data to it? Obviously without RecordID all the fields are grouped correctly but when i throw the RecordID field in it creates a unique field that can not be 'grouped', thus giving me ungrouped data.
is there anyway i can achieve this aggregation, and have the RecordID field there so i know what Record to work with later?
i hope someone understands where im coming from and can help.