What im trying to do:
Select FieldId from SalesLine groupby Salesline.(FieldId);
FieldId is of type FieldId. This select statement can translate to this (if the FieldId was the Name);
Select Name from SalesLine group by Name;
My field list requires that it is the Field Name on the table (so it doesnt error even if i have a local variable with the same name).
I have tried creating a string and it sstill doesnt work. SalesLine.(FieldId) in the field list doesnt work either.
Is it possible what im trying to do?