TechLad
asked on
vb6 data report
Hello,
I have a slight annoying problem with my data report with visual Basic 6. I'm trying to design the layout but I'm having problems with how the finished layout looks when the report is rendered.
To help you understand better what I mean I've attached some images of the report in design mode and how it looks when you run the report.
If you see on the design report Label8 appears to be located under another section however, when the report is produced its right at the bottom on the page.
I have a slight annoying problem with my data report with visual Basic 6. I'm trying to design the layout but I'm having problems with how the finished layout looks when the report is rendered.
To help you understand better what I mean I've attached some images of the report in design mode and how it looks when you run the report.
If you see on the design report Label8 appears to be located under another section however, when the report is produced its right at the bottom on the page.
ASKER
I need that label in the report. It works fine all the code is correct however, it just seems to position itself in a completely different location to where I have located it in the page in design mode.
I did also notice, that if I change the height of the page and then locate that label right at the bottom of the section as far as possible it appears at the top. So if i position it at the top of the section it appears at the bottom and vise versa. It just doesn't add up.
I have no idea if this may be a cause but I'm not using any data environment with this report its all coded within the program. ?
I did also notice, that if I change the height of the page and then locate that label right at the bottom of the section as far as possible it appears at the top. So if i position it at the top of the section it appears at the bottom and vise versa. It just doesn't add up.
I have no idea if this may be a cause but I'm not using any data environment with this report its all coded within the program. ?
That last point shouldn't make a difference but I'm not 100% sure.
The only thing I can imagine is that the page size doesn't match up which makes the footer appear at the top but I haven't seen that happen before.
The problem here is that reproducing the situation is difficult if possible at all. Could you think about the smallest project you can make that shows the problem and post it?
The only thing I can imagine is that the page size doesn't match up which makes the footer appear at the top but I haven't seen that happen before.
The problem here is that reproducing the situation is difficult if possible at all. Could you think about the smallest project you can make that shows the problem and post it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Could it be that you're interpreting the section numbers as something they're not and they're just numbered incrementally as they are created? Label8 appears in the Page Footer and that's exactly where it's showing. It could be used for subtotals for example. If you don't want to display it, go into Properties and see if you can set Visible = False, otherwise just delete it although you may wanna search the code to make sure it's not used anywhere.