how to add a form to a tab control?

M

Maggie

hi,
I wanted to add a form to a tab control. But, it's not working.Here's what I
did:
1. added a tab control to my existing form.
2. dragged another form onto my tab control
I noticed that when I open up the form in form view, I only can see my
subform.
I want to be able to see my main form detail as well. What did I miss?

thanks
 
B

Barry Gilbert

I think you need to select the tab's page before you drag the form onto it
otherwise Access assumes you're dragging it to the form section rather than
the tab control.

Barry
 
M

Maggie

Do you know why I can't see my text boxes in my main form? But, if i move
them to the header part(from detail) I can then see them?
 
B

Barry Gilbert

Can you see anything in the detail section? I guess I would check that the
form's vertical sizing isn't preventing you from seeing them. Also, is the
detail section's visible property set to Yes?

Barry
 
M

Maggie

No, I can't see anything in the detail. I have the subform in the footer
section and I have the 'visible' in the detail set to yes. Do you mean the
"height" of the detail section ?
 
B

Barry Gilbert

If the detail section's height is big enough, when the form's height is
shrunk by using the border, some controls might become hidden. I suggest
putting something at the very top of the detail section to see if it's
visible.

Barry
 
M

Maggie

This might not be right, but when I add everything to the detail section I
see everything - so I have no header/footer now. I'll keep trying with the
header and footer though. thanks
 
V

Van T. Dinh

It sound to me that the Form's RecordSource returns an empty Recordset and
either the RecordSource is not updatable or set to Snapshot Recordset or the
AllowAdditions Property has been set to No/False ...
 
P

Peter Yang [MSFT]

Hello Maggie,

Based on my experience, we shall still see header/footer when we put
tabcontrol in the detail section, and then put subform on the tabcontrol.
If the issue still occurs, you may try the following steps instead of
dragging the form directly to the tabcontrol:

1. In design view of the main form, select the tab of the tab control as
you want

2. Click the subform control, move the mouse to the tab you just select

2. Select the proper form you want.

If you have any further questions, please feel free to let's know. Thank
you!

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
<http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx>.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
<http://msdn.microsoft.com/subscriptions/support/default.aspx>.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Top