I have a table field "kstsrt" with values like A00,A01,A02.......A99.
I want to create a report and in that I Want some of the values to appear as grouped. ie say A11 and A13 should appear as A11+A13. similarly A71,A72,A73 should appear as A71+A72+A73. The rest of the values should appear as it is. I tried creating a query based on the table and then using SWITCH FUNCTION. But am not getting the results correctly. Can anyone guide me?
I tried something similar below, the grouped values are appearing correctly, but getting #Error for the non grouped values
Switch([kstsrt]="A11","A11+A13","A13","A11+A13","A71","A71+A72+A73","A72","A71+A72+A73","A73","A71+A72+A73",True,[kstsrt])
Regards,
Charley
I want to create a report and in that I Want some of the values to appear as grouped. ie say A11 and A13 should appear as A11+A13. similarly A71,A72,A73 should appear as A71+A72+A73. The rest of the values should appear as it is. I tried creating a query based on the table and then using SWITCH FUNCTION. But am not getting the results correctly. Can anyone guide me?
I tried something similar below, the grouped values are appearing correctly, but getting #Error for the non grouped values
Switch([kstsrt]="A11","A11+A13","A13","A11+A13","A71","A71+A72+A73","A72","A71+A72+A73","A73","A71+A72+A73",True,[kstsrt])
Regards,
Charley