How can I suppress a Page header, when I show my subreport that I put in Report Footer B? Also the password that gets asked?

How can I suppress a Page header, when I show my subreport that I put in Report Footer B, at the end of my report?

Also the password for db logon gets asked when I run my report through my vb app?  Is this due to the subreport?  The prompt doesn't appear for a normal report!
Lalla BelleAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DB Logon - It is probably due to the subreport.  You need to pass the logon information to the subreport just as you do for the main report.

Suppressing the page header
Try this idea
Add a formula to the report header
Global BooleanVar SuppressPageHeader := False;

Add a second report footer
Right click the report footer in the left margin
Put the subreport into Report Footer B

In Report footer A add a formula
Global BooleanVar SuppressPageHeader;
SuppressPageHeader := True;

In the Section Expert
Click the formula button to the right of SUPPRESS
Global BooleanVar SuppressPageHeader;


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lalla BelleAuthor Commented:

It totally supresess the subreport then.  I have a second report footer already, so I added one new (b) and put the report in (a).
Sorry.  You should put the last formula on the PageHeader

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB Reporting Tools

From novice to tech pro — start learning today.