Forum Discussion
JackD2275
Jul 16, 2024Copper Contributor
Subforms in Tabs: Can They Be Dragged-and-Dropped In, or Cut-and-Pasted?
Hello, I have a question or two about using tab controls and subforms. I am using Access 2021, and am a novice at database design. I am designing a movie collection database, and I currently ha...
mr_aryalcode444
Jul 16, 2024Copper Contributor
- While you can’t directly cut and paste subforms into tabs (as you would with regular controls), you can follow these steps:
- Open your main form in Design View.
- Create a new tab page within your tab control (if needed).
- In the Navigation Pane, right-click the subform you want to use and select “Copy.”
- Go back to your main form and navigate to the desired tab page.
- Right-click and choose “Paste.”
- Access will create a subform control on that tab page, bound to the copied subform.
- This method requires a few extra steps but achieves the same result.
Personally, I recommend the drag-and-drop method as ensures that the subform control is correctly anchored within the tab control.
for Drag-and-Drop Method:
- Yes, you can drag and drop subforms into tabs on your main form. Here’s how:
- Open your main form in Design View.
- Ensure you have a tab control on your form (if not, add one from the toolbox).
- In the Navigation Pane, locate the subform you want to use.
- Drag the subform onto the desired tab page within the tab control.
- Access will create a subform control on that tab page, and it will be bound to the subform you dragged in.