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

Home Posts Topics Members FAQ

ACCESS - Delay update of subforms until Masterform Opens

13 New Member
I have a master form with 4 subforms. The subforms all contain editable controls. When a user updates a control, an audit trail sub is activated which records the change, the user, etc. This audit trail sub is actived "before update" on each subform.

What I'd like to do is delay the update of the subforms until the user specifies. This means, allow an edit of the controls and a switching between subforms without updating the record. Then, once all editing has been performed, have the user select a "update" button that will update all records and perform the audit trail on each subform.

Any thougts would be greatly appreciated.
Jun 24 '14 #1
1 1256
twinnyfo
3,653 Recognized Expert Moderator Specialist
Curtis,

Just on the surface, one idea would be to have your subforms (as well as all the controls) as unbound. Then, when they open, populate the text boxes based on the current record. In this way, no record is actually changing. You could freely navigate to other subforms.

When the user clicks "Update", the VBA behind the subforms would check the values of the text boxes against the values in the current record. If there are any changes, the audit trail fires.

This could also be useful for when a user starts typing a change and then changes their mind or changes the value of the text box to the original value--this would not fire the audit trail--but with a bound form/control, the record would still have been considered "dirty".

Hope this makes sense. More importantly, I hope this hepps!
Jun 25 '14 #2

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

Similar topics

1
7441
by: JJMM | last post by:
Hi, I have a form (form1) with a large number of subforms inside it (around 20 subforms), There is the possibility of filtering the data using a pop-up form that create/change a query (all the...
3
4112
by: | last post by:
Hi, I have a major problem. I use Windows 2000 highest SP and ACCESS 2000 inside Office 2000 SP-3. I want to use the following simple command inside ACCESS in VBA UPDATE tbl_SATURN_Benutzer...
7
8375
by: aaron.kempf | last post by:
team so i have a nice little list in sharepoint.. about 15k items i've got the simplest little join statement in access; and im trying to UPDATE the sharepoint list via an access query. so...
2
7133
by: ruthboaz | last post by:
Hi, I am exporting a table with data to an excel file.. Some fields are empty in the exported file while the others and the key field, has values. The empty field(s) in excel, will be entered...
2
2323
by: bbasberg | last post by:
I have been working hard to clean up my code but I am still wondering why all incoming records go to the "AddNew" part of the IF statement and never to the Edit alternative. I believe that it must be...
9
3320
by: mtgrizzly52 | last post by:
Hi all, I've looked for an answer for this in lots of books, online in several discussion groups and have not found the answer which I feel may be very simple. What I want to do is have a...
2
4540
by: Neville MADDEN | last post by:
Good morning everyone, I'm producing an A97 database of Mining records. One of the tables has the map sheet references as SH/55-14. The other table has the references as SH55-17. I want to...
3
3017
by: VivDenham | last post by:
Hi there In MS Access 2007, I have a Form which contains fields that are Visible = False in certain circumstances, and this works perfectly. When I use this form as a Subform in another form,...
0
1210
by: NormanB | last post by:
I have a bound Access database which contains tables "Recipes", "Ingredients" and "Units". A linked table "Recipe ingredients" holds id references to each of these tables. My problem occurs when...
4
8575
by: tamcq | last post by:
When my database is opened, it starts with the form Patients.Page 2 of the the Patients form contains a subform called New Record. This New Record subform is where you put entries about the...
0
7007
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7171
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
7220
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...
0
7386
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5468
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
4918
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
4599
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3098
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
3090
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.