H
Henry Smith
I have a report, based on a query, with a detail section and group sections.
In the Group Footer Format event I have a Select Case process to perform
addition and subtraction and then fill a text box with the results.
Depending on the value of the group text box (string value) (there are 5 in
all) determines what addition or subtraction is performed, if any. This
whole process works well except for the second Select Case item (the second
string value of the five tested for). Inside each Select Case item there is
similar code. Text boxes are either visible = true or visible = false
depending on weather I need to have that text box displayed on the report
with the arithmetic results.
The rules, as I understand them, is that the Group Format event should only
fire once. In my case the second Select Case item fires twice. Of course
this means my arithmetic results are wrong for that item. Code inside the
second Select Case item is similar to the other Select Case items.
Any suggestions as to what is causing this problem? How can I troubleshoot
this problem?
Any help will be greatly appreciated.
Cheers,
Henry
In the Group Footer Format event I have a Select Case process to perform
addition and subtraction and then fill a text box with the results.
Depending on the value of the group text box (string value) (there are 5 in
all) determines what addition or subtraction is performed, if any. This
whole process works well except for the second Select Case item (the second
string value of the five tested for). Inside each Select Case item there is
similar code. Text boxes are either visible = true or visible = false
depending on weather I need to have that text box displayed on the report
with the arithmetic results.
The rules, as I understand them, is that the Group Format event should only
fire once. In my case the second Select Case item fires twice. Of course
this means my arithmetic results are wrong for that item. Code inside the
second Select Case item is similar to the other Select Case items.
Any suggestions as to what is causing this problem? How can I troubleshoot
this problem?
Any help will be greatly appreciated.
Cheers,
Henry