How do I refresh users forms to show all newly added records

hollifd

Board Regular
Joined
Apr 3, 2002
Messages
248
I have a front end and back end database setup. About 30 simultaneous users have a front end database that is looking at the data in the back end database. This has been working great for about 8 years now. One issue that I have always had is when a user adds a new record, it does not appear in the other users forms until they shut down and restart the form / database. There must be a simple way that I can refresh the records so that all users can see all records at all times. The form is based upon a select query that selects records from only 1 table.

What is the method of refreshing data in forms?

Thanks,

David
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
You could try an ontimer event

Code:
Private Sub Form_Timer()

Me.Refresh

End Sub

set the timer interval to whatever number you wish.

(1000 = 1 Second)

Regards

Pete
 
Upvote 0

Forum statistics

Threads
1,221,902
Messages
6,162,726
Members
451,782
Latest member
LizN

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top