Tab Control?

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
Set the onFormat property for the report section and set the control to
something like Me.TabCtrlName.Pages(index#).Visible = True or False
 
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.
 
Back
Top