R
Robert Taylor
I am designing an application in another program and using
createobject to connect to an access database. What I want
to do is make it so that when you run this program a form
pops up for you to enter data, which goes into an access
database.
Everything works the way I want as far as opening the
database, but I have to click on the taskbar on the bottom
to switch the focus from the original application to the
database form and back again.
Does anyone know a good way through OLE automation to make
the program shift the focus to the newly opened database
form and back again so that to the end-user the
application appears to be creating the form?
Thank you.
Robert
createobject to connect to an access database. What I want
to do is make it so that when you run this program a form
pops up for you to enter data, which goes into an access
database.
Everything works the way I want as far as opening the
database, but I have to click on the taskbar on the bottom
to switch the focus from the original application to the
database form and back again.
Does anyone know a good way through OLE automation to make
the program shift the focus to the newly opened database
form and back again so that to the end-user the
application appears to be creating the form?
Thank you.
Robert