Results 1 to 4 of 4
  1. #1
    sneuberg is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Posts
    23

    Different Tabs - Same code space


    I thought I’d give the tab control a try and started by trying to convert an existing system with different forms to a system with tabs. I wasn’t very far into this process when I discovered (at least as a default) that the different tabs share the same code space. I’m hoping there is some way to change this. If not then the tab control would only be useful on very small systems. Please tell me how I can separate the code.

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Please explain what it is that you are doing and want to do! You can have forms and subforms as an example on a tab.

  3. #3
    sneuberg is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Posts
    23
    Quote Originally Posted by burrina View Post
    Please explain what it is that you are doing and want to do! You can have forms and subforms as an example on a tab.
    I have an existing system with five forms. A main form for data entry and four other forms which are used to maintain legitimate values for combo boxes. Currently the user navigates to these forms and the report through a form with buttons. I wanted to convert this to a system with tabs. There would be a data entry tab, a reports tabs (more reports are coming) and a tab for maintenance which would have four sub tabs. I added a tab control to the main form and moved the controls to the tab by cutting and pasting. I found out that I would have to update the controls to point to the event handlers, but that wasn’t a big deal. I then tried to move the controls from one of the maintenance forms to the other tab. I cut and pasted the controls. The code didn’t come along with the cut and paste, but I figured I could copy and paste that with no problem; however, when I clicked on one of the control’s events I found myself in the same module that was used by the controls in the other tab (data entry tab). The main form has a button named “deleteBTN”. These four maintenance forms have a button named “deleteBTN”. Without changing a lot of control names this won’t work for me.

  4. #4
    sneuberg is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Posts
    23

    May be getting somewhere

    Update to my posts

    Just for a hell of it I dragged one of the existing forms onto one of the tabs. It seems to have inserted it as a subform. This could work. Right now it's a mess. Things aren't showing up right and it complains when I go to form view. If I can figure out the right way of doing this I'll be back on track.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 12-05-2013, 02:57 AM
  2. Not enough space
    By bignate in forum Queries
    Replies: 21
    Last Post: 08-20-2013, 08:59 AM
  3. Tab space
    By jamesfranklin in forum Queries
    Replies: 11
    Last Post: 11-18-2012, 08:29 PM
  4. Replacing space with dot
    By JeroenMioch in forum Programming
    Replies: 15
    Last Post: 10-22-2012, 07:09 AM
  5. Getting Rid of Empty Space
    By Pam Buckner in forum Database Design
    Replies: 5
    Last Post: 03-05-2010, 05:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums