Adding a new sheet in existing form - is it possible?

Copper Contributor

I have a form. In that I need to add a sheet(like in excel). So when you open you can select between select sheet one(CMDB) ore sheet to be created(Decommed Servers)

 

Is it possible to add another sheet in Access in same form next to CMDB sheet? See attachment.

 

 

5 Replies

@MichaelF35 

You can do this with subforms.  First, create (sub)forms for CMDB and Decommed Servers. I called them SubCMDB and SubDecommedservers. Next, create a blank form and add the subforms to the blank main form through the Design-tab with this control:

subform.png

You can place the subforms next to each other like this:

Sub1.png

 

And when you open the form in View mode it looks like this:

Sub2.png

 

Hope this fulfills your request.

 

Best wishes,

Tieme

 

 

 

@Tieme Woldman 

 

I tried but forms does not come up as sheets:

 

MichaelF35_1-1600421106277.pngMichaelF35_2-1600421364085.png

 

 

You need to use Multi TAB Form,,, or just Right Click & add TAB/Page.

@MichaelF35 

If you open the subforms in Design view you can set the forms properties for

Default View to Datasheet

Allow Datasheet View to Yes

and then the subforms should be shown as sheets.

 

datasheet.png

@MichaelF35 

PMFJI:
I would do this on a tab control unless you want to see both subforms simultaneously. 
inserttablecontrol.png

 

On the tab control you can insert many subforms, each of which is, in turn, displayed as a datasheet.

FormDatasheetView.png

 

Finally, I think your future ACCESS development work will go much smoother if you try to focus more on the Access environment and much, much less on the Excel environment. Excel is a wonderful tool for the purposes it is intended for, but Access is a much better tool for developing relational database applications. And that's what you are now developing.