Link to home
Start Free TrialLog in
Avatar of TechLad
TechLadFlag for United Kingdom of Great Britain and Northern Ireland

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.

User generated imageUser generated image
Avatar of Robert Schutt
Robert Schutt
Flag of Netherlands image

Maybe I'm reading this wrong but
on the design report Label8 appears to be located under another section
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.
Avatar of TechLad

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. ?
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?
ASKER CERTIFIED SOLUTION
Avatar of p912s
p912s
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial