If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
AppActivate with Current Database name
I have a database app that calls other applications through COM. One of
these applications steals focus, and I want to restore focus to the Access application. The Access application has a Database name, and that seems to cause the AppActivate command to not function correctly. Can anyone explain how to set focus back to the Access database if it has its own Application Title? Thanks, Matthew Pfluger |
#2
|
|||
|
|||
AppActivate with Current Database name
Hi Matthew,
Try this: AppActivate CurrentDb.Properties("AppTitle").Value Clifford Bass "Matthew Pfluger" wrote: I have a database app that calls other applications through COM. One of these applications steals focus, and I want to restore focus to the Access application. The Access application has a Database name, and that seems to cause the AppActivate command to not function correctly. Can anyone explain how to set focus back to the Access database if it has its own Application Title? Thanks, Matthew Pfluger |
Thread Tools | |
Display Modes | |
|
|