Create Form with Tabs In Tabular Layout
Thank you for taking the time to report an issue.
What's wrong... Please write below.
I want to put a button in the subform that will automatically create another tab in the tabular control with another blank copy of the subform in it. I need to do this because the subform contains data from a query that is in a many to one relationship with the data in the main part of the form, and it is possible sometimes that the user will need to enter additional records in the subform for the one record that is in the main part of the form. By having a button that automatically opens a new tab with a blank copy of the subform he will be able to do so easily.
What code should I write for the click event of the button on the subform to accomplish this
But the labels for the tabular records seem to be stuck within the Form header instead of next to their respective record.
The problem is in design mode I can see the tabs on the form but in form mode and can see the tabs. its just a blank form. I've tried rezing the tabs and also coping properties of other forms that have tabs but I am getting the blank form in Form view mode
My idea resolution is to have the first tab populate with data when the form opens but the subform tabs not populate until the user actually clicks on the tab. I know I can achieve the same result by getting rid of the tabs and opening individual forms but my preference is to keep the tab layout as I have it now and only have the subforms load when the user clicks on that tab.
One of the forms I'm working on is linked between three different tables. One option is to have buttons that can be clicked that will take you to different details of each prospect (thus opening up another form) and the other option is to use tabs to enter details of each prospect. Pictures below.
Option 1: The use of buttons. Another form will open up with a click of a button. The button "Stats" at the bottom was clicked and opened up the formStat.
Option 2: The use to tabs. No form opens up with each click. The form is unprintable however, since tabs are being used.
Which option would you recommend or do you prefer? Buttons or tabs.
How can I create tabs within a form? I'm not sure how many tabs I want. It could be as little as 3 or as many as 10 or more, depending on how complex it is.
Right now, I have my database set up using one table and multiple forms based on that table. I would prefer to set it up as one table and one form with multiple tabs on the form.
After I did so, it is not allowing me to write in the fields. And the the bottom displaying this message (Control cannot be edited, its' bound to unknown field.)
Can anyone tell me what I am doing wrong or maybe I cannot just copy and paste other forms in a tab?
Can you also tell me how to add a control key to be able to navigate to a tab without using the mouse? This last one is an extra but I thought it would be cool.