Hi all,
I've been looking through the FAQs and haven't seen one that has an answer to this. If you know of one, I apologize in advance for the repetition.
Using Version 2002, I have set up a crosstab query and am trying to create a report from it with some custom calculations. The query tracks # of incidents per month on the column headers, and rows are grouped by Dept, Incident Type (3 values) and Status (3 values). I have created some custom calcs in textboxes in one group footer and need to capture these values for use in another group footer.
I am able to get the values into variables using the Detail section's Format event. However, I can't seem to get the textboxes in the Dept. group footer to display the values of these variables. I just did the simple:
txtMarNC.Value = MarNC
in the Dept. group footer Format event, and nothing shows up.
I've put a break in my code and stepped through it to be sure the variables are getting something in them, and they are. I declared all of them in Gen Decs as Private.
Should they be Public? (I'm only using them on this one report) or am I missing something simple here?
I will appreciate any help you can give me and will explain further if I've been too cryptic,
Thanks,
Tru
I've been looking through the FAQs and haven't seen one that has an answer to this. If you know of one, I apologize in advance for the repetition.
Using Version 2002, I have set up a crosstab query and am trying to create a report from it with some custom calculations. The query tracks # of incidents per month on the column headers, and rows are grouped by Dept, Incident Type (3 values) and Status (3 values). I have created some custom calcs in textboxes in one group footer and need to capture these values for use in another group footer.
I am able to get the values into variables using the Detail section's Format event. However, I can't seem to get the textboxes in the Dept. group footer to display the values of these variables. I just did the simple:
txtMarNC.Value = MarNC
in the Dept. group footer Format event, and nothing shows up.
I've put a break in my code and stepped through it to be sure the variables are getting something in them, and they are. I declared all of them in Gen Decs as Private.
Should they be Public? (I'm only using them on this one report) or am I missing something simple here?
I will appreciate any help you can give me and will explain further if I've been too cryptic,
Thanks,
Tru