I'm using version 2.5 adapter.
I'm trying to figure out how to do the following.
Retrieve records from a transaction table and a couple of other linked tables.
All these transactions have a start and end date.
I would like to add a column containing a boolean telling me if the start date of a record is equal to the max start date of all records. I would like to avoid making a view for this but I wouldnt mind a typed list.
Would it be possible to have one of the resultset fields give a result similar to this?
If(startDate==maxStartDate)
return true
else
return false
Here are the fields.
ResultsetFields fields = new ResultsetFields(6);
fields.DefineField(CadetCorpsGroupAssignmentFields.Id, 0, "KeyId");
fields.DefineField(CadetCorpsFields.Name, 1, "CadetCorpsName");
fields.DefineField(CadetCorpsGroupFields.Name,2);
fields.DefineField(CadetCorpsGroupAssignmentFields.StartDate,3);
fields.DefineField(CadetCorpsGroupAssignmentFields.EndDate, 4);