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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
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,223,261
Messages
6,171,080
Members
452,377
Latest member
bradfordsam

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