Possible to Group on Shared Variable?

I have created a shared variable from a sub report in my main report. I would like to group my main report using that shared variable. Is that possible? When I do the “Insert Group”, the shared variable is not listed with all the fields.

Any other way to do what I want?
Thanks,
Susan


beechers (BOB member since 2007-06-29)

Hi Susan, were you able to find a solution to this? If so please share that would be helpful.

Thanks,
Pippa


pippa123 (BOB member since 2011-07-12)

The shared variable needs to be in a formula. Even if that is the only thing in the formula.

Example:
Shared numbervar somevar;
somevar


kevlray :us: (BOB member since 2010-06-23)

No, we cannot use shared variable formula in a group. Shared variable is something, that gets its value during print time, so it cant be used in a group.
I have tried it before, it throws error when you try grouping on a formula which uses Shared Variables.

–Krishnam


krishnam raju yeluri (BOB member since 2008-08-04)

Opps! I missed the part about the ‘shared’ variable. Need more caffeine.


kevlray :us: (BOB member since 2010-06-23)