473,499 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Loading sub forms on tab control main form

68 New Member
I have run into a situation in my Access 2010 database that I don't understand. I have a form with many other forms on a Tab Control. The original issue was that the subtotals on a continuous form stopped loading. I have reworked the form and now have the subtotals loading on Form_Current using a DOA.Recordset. So, now the form looks beautiful but the data has become read-only.

Background: This database is an Access front end linked to Oracle and Access back end tables. The Access tables are newer tables that we have not yet switched to Oracle.
The form I am working on has 6 tabs on the tab control.
The first tab has 2 forms residing on it. Both of these forms get their data exclusively from Oracle tables. The first form is the continuous form that I referred to above. It is loading the details from a query and the headers and footers (totals) from the DAO.Recordset. The text box on this form is loading as read only. The second form is a single form that has both check boxes and text boxes. The check boxes on this form work but the text boxes are read only. The properties on both forms are set to Enabled=Yes, Locked=No. When I open the form separate from the tab control I am able to update all fields.
The second tab has 1 form and indicators (rich text boxes that load red, yellow, green based on the status of cost, schedule, scope, and funding). The indicators load through functions and the form gets its data exclusively from Oracle. I am getting the same results with the check boxes, and the combo boxes updating but the text boxes being read-only. The properties are set to Enabled=Yes, Locked=No. When I open the form separate from the tab control I am able to update all fields.
The third tab as 1 form that gets its data exclusively from Oracle. This form is all check boxes and combo boxes and it is update-able.
The fourth tab has 1 form that is pulling data from an Access table. The data is maintained elsewhere and is information only on this form. This is read only by design and is loading fine.
The fifth tab has 2 forms that are pulling data from an Access table. These forms are also read only by design and loading as expected.
The sixth tab has 1 form that is pulling 1 field from Oracle and the rest of the fields from Access. This form has text boxes and a few commands. This form loads correctly and the data in both the Oracle and Access fields can be updated.

If the user goes into the sixth tab and then back to the first or second tab the text fields that were read-only are now update-able. I moved the sixth tab to be first and this holds true. The user does not need to make any changes on the sixth tab; just going into it resolves the read-only issue. The problem with moving the sixth tab is the users need to update the sixth tab much less often than the first tab and it is not logical to go into the sixth tab first.

As I was typing this all up to get your input on what is happening and why, I came to the hypothesis that it has something to do with the mixture of the Access and Oracle tables as the data source for the forms. Have you run into this issue? Can you explain what is happening? Is there a better way to solve this?

Thank you for taking the time to read and respond to my issue.
Oct 9 '15 #1
1 1143
zmbd
5,501 Recognized Expert Moderator Expert
no clue

my first thought, in the on_load event of the subforms that are giving you issues, insert a me.Refresh at the end of any code you currently have running in this event... it's a guess and may not do anything; however, this shouldn't do any harm either. :)
Dec 5 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
937
by: source | last post by:
I am trying to create a custom setup project. I know this is very silly, but want to know what is the best way so that when I start my setup I should see a splash form and then my main setup form....
4
995
by: Snuyt | last post by:
Hallo, I have 3 forms : main, form1 and form2 I can open form1 and form2 from main by clicking a button in main. I can open form2 form form1 by clicking a button in form1. I can open form1...
3
3675
by: EnglishMan69 | last post by:
Hello All, I am using VB2005 Beta 2 in VS 2005 and am running into a small problem. I need to be able to add a picture box to the main form from within a thread. The program goes to a web...
1
6152
by: Vladimir O¾ura | last post by:
I am building a Pocket PC application in C#. I have 5 forms (1 main and 4 sub forms). The main form must always load first. The sub forms are loaded from the main form. The application is run...
0
1583
by: theBman | last post by:
I have 2 tables. One master, one child using Access 2003 (PC) Have 2 forms. The main form is continuous while the sub is datasheet. I can filter on the main form and the subform filters with...
2
4096
by: SREDWORB | last post by:
Hello, Try to explain this as best as I can. I have a main form with several cmd buttons, (Not interested in subforms for this project) that opens popup forms. Example: Main form frmPerson,...
11
4016
by: OldBirdman | last post by:
I have a form with several bound textboxes. These are routinely updated by User. The table in RecordSource for this form currently has 8 fields not shown on this form, but which occasionally need...
1
4368
by: Gordon Padwick | last post by:
I’m still having a problem with using a combo box in a main form to select records to be displayed in a subform. I’ve tried code suggested in several sources, but it doesn’t work. In “Filter records...
1
937
by: Shahich | last post by:
Dear Sir, One toggle link (child form) automatically attached with main form through form wizard. I wanna link more 10 forms with main form as child forms. How can I do this. Please guide. Thanx &...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7178
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7223
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5475
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.