Tab Control Mystery

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm new to using Access 2002 and am developing a form, one with a tab controls and subforms. My problem is that after making the form using the wizard, then adding the tab controls, the form and subforms on the first tab are stuck to all subsequent tabs. I can't get rid of the extra forms and subforms lest I lose the main ones on the first tab. In other words, the contents of all tabs are identical and cannot be individually deleted. Can anyone enlighten me? Many thanks in advance.
 
Roach said:
I'm new to using Access 2002 and am developing a form, one with a tab
controls and subforms. My problem is that after making the form using
the wizard, then adding the tab controls, the form and subforms on
the first tab are stuck to all subsequent tabs. I can't get rid of
the extra forms and subforms lest I lose the main ones on the first
tab. In other words, the contents of all tabs are identical and
cannot be individually deleted. Can anyone enlighten me? Many thanks
in advance.

This happens when you have controls already existing on the form and try
to move them onto the tab page by dragging. Instead of ending up on the
page you want, they are placed on the form *behind* the tab control, and
so they appear on all pages. The procedure that works to move the
controls, and which should work for you to correct the problem, is to
select the controls you want, "cut" them from the form using the Cut
button, Ctrl+X, or Edit->Cut, then click the index tab of the page you
want to put them on to select that page, and and then paste the control
onto the page using the Paste button, Ctrl+V, or Edit->Paste.
 
<snip>
The procedure that works to move the
controls, and which should work for you to correct the problem, is to
select the controls you want, "cut" them from the form using the Cut
button, Ctrl+X, or Edit->Cut, then click the index tab of the page you
want to put them on to select that page, and and then paste the control
onto the page using the Paste button, Ctrl+V, or Edit->Paste.
<end snip>

Thank you Dirk for the rapid response. This worked. I had atttempted this previously, but on your advice tried it again. The difference, bearing in mind that I'm a newby, is that the first time I simply dragged a selection rectangle using the selection tool, and I unwittingly grabbed the whole form and not just the selected elements (label, text boxes) which removed everything. The second time, I clicked on each element individually while holding the shift key. Subtle, but it worked. Thanks again.
 
I'm new to using Access 2002 and am developing a form, one with a tab controls and subforms. My problem is that after making the form using the wizard, then adding the tab controls, the form and subforms on the first tab are stuck to all subsequent tabs. I can't get rid of the extra forms and subforms lest I lose the main ones on the first tab. In other words, the contents of all tabs are identical and cannot be individually deleted. Can anyone enlighten me? Many thanks in advance.

They're *in front* of the Tab control, not attached to it. This often
happens when you drag existing controls onto a tab page, or just
select a control from the toolbox and draw it. It's annoying!

To insert a control on a tab page you must first select the page by
clicking *on the tab* - not on the surface of the page; the surface
will highlight. You can then insert a control from the toolbox.

For existing controls, as in your case, you can ctrl-click all the
controls which belong on a page; Ctrl-X to cut them to the clipboard;
click the tab to highlight (darken) the page; and Ctrl-V to paste
them.
 
Back
Top