Apr 4, 2001 #1 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?
How do I get access to refresh the data, if mutliple users are entering information on a shared drive?
Apr 4, 2001 #2 xaviercos Programmer Apr 3, 2001 2 ES You can use DBEngine.Idle dbRefreshCache to force read the new data base information. Xavier Cos P.D.: Sorry for my english. Upvote 0 Downvote
You can use DBEngine.Idle dbRefreshCache to force read the new data base information. Xavier Cos P.D.: Sorry for my english.
Apr 4, 2001 Thread starter #3 matpj Technical User Mar 28, 2001 687 GB 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! Upvote 0 Downvote
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!
Apr 4, 2001 #4 xaviercos Programmer Apr 3, 2001 2 ES 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. Upvote 0 Downvote
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.