Tab Control?

G

Guest

Hi,
In my database, I have a form that has a tab control (to save space). The
tabs are controlled via a combo box, so whatever selection is made in the
combo, the correct tab will be displayed so they can enter the data for that
dropdow.

So now I want to create some reports, and want to know if it's possible to
do something simlar. What I would like to do is, depending on what is
listed in Field 'A', it will control which tab is displayed on the report.

so if the report is ran and record 1 has A in the text field. Then tab A
will appear, then if record 2 has 'B', then tab 'B' will appear.

Is this possible in reports?

Or is there another way to acomplish this?
 
R

Rockn

Set the onFormat property for the report section and set the control to
something like Me.TabCtrlName.Pages(index#).Visible = True or False
 
G

Guest

What is 'Index#'?

Also before I go to far with this, is a tab control the best option for
this? I thought about sub-reports, but in design mode, I have all these sub
reports on top of each other, and get to be messy.
 

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