473,385 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Access 2016 How to update data in background form before current form closed.

Help,

I have a form that has a graphic with pump images. If I click on a pump it brings up a form with notes on the pump. If I enter a note when I close the form it will display a command button indicating a note for that pump. The question I have is when I close the form with the note, it causes the background form to update but it doesn't look smooth and seems awkward to the eye. What I want is either a loading screen to hide this form while the data updates or either not to see anything until it completely updates. I tried a loading screen that times out but the background form still appears for a brief second. I am currently using pop up forms and maximizing the main form. Thanks for your help in advance.
Oct 28 '19 #1
3 1833
NeoPa
32,556 Expert Mod 16PB
Hi AccessUser2016.

Welcome to Bytes.com.

I'm afraid I'm thoroughly bemused by your explanation of what it is you're doing - or trying to do. I get you have two Forms. I don't get the purpose of a second Form if the first already shows the notes, nor how the first can be updated if it doesn't. All very confusing from my perspective.
Oct 29 '19 #2
Hi NeoPa,
I'll try to explain it better the main form has images with no notes but a flag indicating a note. The second form (pop up) is brought up by clicking on a transparent command button to bring up information for that pump on the main form. When I close it the main form is in the background working to update all of the fields. When I close the second form it causes the main form to update but it doesn't look smooth and seems awkward to the eye. How do I fix this?
Oct 29 '19 #3
NeoPa
32,556 Expert Mod 16PB
Ah. I think I'm starting to understand better.

The answer depends to a certain extent on whether or not you hide the original Form when you open the Notes Form.

However you do the Requery (IE. Wherever it's triggered from.) you should try to ensure that it's called prior to closing down the Notes Form. That way, even if the main Form is still visible at that point, the user won't notice it, or be distracted by it, so much.

Unlike Excel, there's no Application.ScreenUpdating property to use. If hiding the main Form isn't right for you I imagine all you can do is to ensure it happens before the user's focus is back on it. I'm not aware of anything else that could really help I'm afraid.
Oct 30 '19 #4

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

Similar topics

0
by: PMB | last post by:
Thank you in advance for any and all assistance. I have a small program that I'm tracking accounts rec. and I want to keep data, stored by day and have a month end. I have a form called...
0
by: lanky_tx | last post by:
Hi All, I am trying to acess the rows within a child table of a windows form datagrid. I have tried using the CurrencyManager & BindingManagerBase to get the data but doesn't work. The...
15
by: http://www.visual-basic-data-mining.net/forum | last post by:
Does anyone have any idea how to transferring data from TextBox1 in form1 to textBox2 in form2..... That means after i fill in any data in textBox1 and click Next button... It will bring me to...
6
emandel
by: emandel | last post by:
The background of my form is dark blue, Is there any way to tell access that when printing it should not print the background or it should change the background?
1
by: Rodney Frisard | last post by:
Can anyone help me get this working. table1 has 3 field, CustId, CustName, CustRate table2 has 7 fields TimeId, TimeCustId, TimeCustName, TimeDate, TimeStartTime, TimeEndTime, TimeCustRate,...
11
by: flametail | last post by:
I have a php script that shows all the data in a table. I want it to have check boxes next to each line of this data that it puts out, so I can check the boxes next to certain entries, and when I...
1
by: t eldred | last post by:
in my database are forms of several employees. a few months ago particular data was on this form. (this data cannot be deleted in a query but can in the form) for some reason the data is gone. this...
2
by: Amian | last post by:
So I'll explain to you everything that I'm doing and then let you know what I need help with b/c maybe I should be doing this a different way. I am trying to create a database for all patient...
4
by: CAW86 | last post by:
I have a form I am trying to do for work which is an inventory/transaction database. I have a Home screen that loads when the database is open that contains 3 buttons at top (which refer to 3...
1
by: HalloweenWeed | last post by:
Good day I am new to the forum and still learning MS Access. I have developed a code to allow 'live' 'searh-on-the-fly' queries 'as you type.' However, the problem lies in that when doing a query you...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...

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.