[AccessD] Query runs and doesn't run

Stuart McLachlan stuart at lexacorp.com.pg
Wed Jan 10 16:49:19 CST 2018


You don't need to specify the expression.

The default (implicit) parent is the current application - "Application". (Type Application. in an 
immediate window and check out the autocomplete). Every one of the listed 
subs/functions/properties is the same.

So RefreshDatabaseWindow and Application.RefreshDatabaseWIndow are equivalent.

The only time you would need to explicitly state <exp> is if you are using VBA to control 
another Access application using Automation.



On 10 Jan 2018 at 15:15, Bill Benson wrote:

> 
> Stuart or Jim, what is the "required" expression with which to anchor
> the *RefreshDatabaseWindow *method? The link says it is required, then
> the code sample doesn't even specify one!
> 
> 



More information about the AccessD mailing list