Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing Data

Status
Not open for further replies.

matpj

Technical User
Mar 28, 2001
687
GB
How do I get access to refresh the data, if mutliple users are entering information on a shared drive?
 
You can use

DBEngine.Idle dbRefreshCache

to force read the new data base information.

Xavier Cos

P.D.: Sorry for my english.
 
Where do I type that?
I am quite new to Access, and so don't know much about the programming side of things, and all of these functions!

could you tell me what to type and where?
I would be very grateful!

 
Create a new module and write this function inside

Public Function RefreshCache() as boolean

On Error GoTo Error

DBEngine.Idle dbRefreshCache
RefreshCache = True

Exit Function

Error:
RefreshCache = False

End Function


Then you can use this function in your VBA code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top