Functions that are blocked in sandbox mode
The following functions are blocked when Jet is configured to run in sandbox mode. the functions cannot be used in expressions, but they can be utilized in Visual Basic for Applications (VBA) code.
Blocked functions located in the Visual Basic for Applications (VBA) object library
Function Name |
---|
AppActivate |
Beep |
Calendar |
CallByName |
ChDir |
ChDrive |
Command |
Command$ |
CreateObject |
CurDir |
CurDir$ |
DeleteSetting |
DoEvents |
Environ |
Environ$ |
EOF |
Err |
FileAttr |
FileCopy |
FileDateTime |
FileLen |
FreeFile |
GetAllSettings |
GetAttr |
GetObject |
GetSetting |
Input |
Input$ |
InputB |
InputB$ |
Kill |
Load |
Loc |
LOF |
Randomize |
Reset |
SaveSetting |
Seek |
SendKeys |
SetAttr |
Shell |
Spc |
Tab |
Unload |
UserForms |
Width |
Blocked functions and properties in the Microsoft Access object library
Object | Blocked Function/Property |
---|---|
Application | AddAutoCorrect |
Application | AddToFavorites |
Application | ADOConnectString |
Application | AnswerWizard |
Application | Application |
Application | Assistant |
Application | AutoCorrect |
Application | BeginUndoable |
Application | CloseCurrentDatabase |
Application | CodeContextObject |
Application | CodeDb |
Application | COMAddIns |
Application | CommandBars |
Application | CompactRepair |
Application | ConvertAccessProject |
Application | CreateAccessProject |
Application | CreateAdditionalData |
Application | CreateControl |
Application | CreateControlEx |
Application | CreateDataAccessPage |
Application | CreateForm |
Application | CreateGroupLevel |
Application | CreateNewWorkgroupFile |
Application | CreateReport |
Application | CreateReportControl |
Application | CreateReportControlEx |
Application | CurrentDb |
Application | DataAccessPages |
Application | DBEngine |
Application | DDEExecute |
Application | DDEInitiate |
Application | DDEPoke |
Application | DDERequest |
Application | DDETerminate |
Application | DDETerminateAll |
Application | DefaultWebOptions |
Application | DefaultWorkspaceClone |
Application | DelAutoCorrect |
Application | DeleteControl |
Application | DeleteReportControl |
Application | DoCmd |
Application | Echo |
Application | ExportXML |
Application | FeatureInstall |
Application | FileDialog |
Application | FileSearch |
Application | FollowHyperlink |
Application | GetHiddenAttribute |
Application | ImportXML |
Application | InsertText |
Application | LanguageSettings |
Application | LoadFromText |
Application | LoadPicture |
Application | Modules |
Application | NewAccessProject |
Application | NewCurrentDatabase |
Application | NewFileTaskPane |
Application | OpenAccessProject |
Application | OpenCurrentDatabase |
Application | Parent |
Application | ProductCode |
Application | Quit |
Application | References |
Application | RefreshDatabaseWindow |
Application | RefreshTitleBar |
Application | ReloadAddIns |
Application | ReplaceModule |
Application | RunCommand |
Application | SaveAsText |
Application | SetDefaultWorkgroupFile |
Application | SetHiddenAttribute |
Application | SetOption |
Application | SetUndoRecording |
Application | SysCmd |
Application | TransformXML |
Application | VBE |
BoundObjectFrame | Object |
Combobox | Recordset |
Control | Object |
CurrentProject | AccessConnection |
CurrentProject | BaseConnectionString |
CurrentProject | CloseConnection |
CurrentProject | Connection |
CurrentProject | OpenConnection |
CustomControl | Object |
Form | Dynaset |
Form | Recordset |
Form | RecordsetClone |
Hyperlink | AddToFavorites |
Hyperlink | CreateNewDocument |
Hyperlink | Follow |
ListBox | Recordset |
ObjectFrame | Object |
Report | Recordset |
SmartTagAction | Execute |
Screen | ActiveDataAccessPage |