Topic: how to make a var in a group sub change value? Posted: 23 Feb 2009 at 9:07pm
hi can anyone help me on this,im having a little trouble about the group sub report, what i need to do is to change the value of a variable depending on the group sub..
an example is like this:
i have a report that is group by name,when i grouped that report, it ranges from 1 to 6 pages per record,now the grouped field only shows on the first page,what i need to do is on that first page, a variable has value,lets say its "1",then when it goes to the next page,the variable becomes "2",then just repeat the changing of variable for every record...can this be done?hope you understand what im trying to say,thanks in advance though
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 25 Feb 2009 at 6:19am
Not quite sure what you are looking for exactly, but it sounds like you shared variables and formulae should help.
probably in you group header you would want to set the variable to 0 or 1, then in page header you can add 1 to the variable. shared variables are easy to use in the formula just declare them:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum