Tab Control Issue - Content Disappears

C

creejohnson

Hi--

Can anyone help with why this code causes the subform inside of a tab
control page to disappear?

Forms!frmPurchaseOrder!pgCurrent.Visible = True
Forms!frmPurchaseOrder.Section(acFooter).Visible = True
Forms!frmPurchaseOrder!pgCurrent.SetFocus
Forms!frmPurchaseOrder!pgAddEdit.Visible = False

At first, I had 2 subforms inside of a main form. When a button was
clicked, one form was hidden and the other visible. That was causing
the subform to turn completely white and become useless.

I decided to try tabs thinking this might solve the problem; it
didn't. Mind you, this is only an issue with Access 2007. I tried it
on Access XP with no hassles. I'm definitely porting this app to .NET
after the unbelievable headaches switching to Access 2007 has caused.

Thanks for your help,
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top