BadgerLikeSpeed
Registered User.
- Local time
- Today, 05:37
- Joined
- Feb 7, 2013
- Messages
- 35
Right... I'm creating a table in another access database (which was created earlier in the code), and I'm getting an Access Security Warning every time. When the code is executed it creates 7 new tables, and so the user gets 7 consecutive popups.
The text is (can't copy/paste):
A potential security concern has been identified.
Warning: It is not possible to determine that this content came from a trustworthy source. You should leave this content disabled unless the content provides critical functionality and you trust its source.
File Path: ....
This file might contain unsafe content that could harm your computer. Do you want to open this file or cancel the operation?
My code is
I've googled around, and tried bracketing the table creation section with DoCmd.SetWarnings False/True, but I'm still getting the warnings.
Any ideas? Is there any way that I can automatically acknowledge the warnings, since I've just created the database/tables from scratch I know that it is all ok...
And I can't edit the registries on the computers that this is to be run on, which removes another solution I've read.
All help is much appreciated!
The text is (can't copy/paste):
A potential security concern has been identified.
Warning: It is not possible to determine that this content came from a trustworthy source. You should leave this content disabled unless the content provides critical functionality and you trust its source.
File Path: ....
This file might contain unsafe content that could harm your computer. Do you want to open this file or cancel the operation?
My code is
Code:
DoCmd.TransferDatabase acExport, "Microsoft Access", LFilename, acTable, "WatCrew", "WatCrew"
Any ideas? Is there any way that I can automatically acknowledge the warnings, since I've just created the database/tables from scratch I know that it is all ok...
And I can't edit the registries on the computers that this is to be run on, which removes another solution I've read.
All help is much appreciated!
Last edited: