S
Susan
Well, I found another odd Access problem that I'm hoping
someone can help me solve.
I am using Access through a VB 6.0 program. At one
point, I load an Access form using the following code:
Dim AccessApp As Access.Application
Set AccessApp = CreateObject("Access.Application")
AccessApp.OpenCurrentDatabase <...myfrontenddb.mdb...>
AccessApp.DoCmd.OpenForm <...myformname...>
Set AccessApp = Nothing
The form works as expected and everything is great ...
until ... I reach a DoCmd.FindRecord in the code for the
form. After this statement, the Access application is
visible and won't go away until the form is closed. If
we set the application.visible property to false BEFORE
the DoCmd.FindRecord, we get the same results. If we set
the application.visible property to false AFTER the
DoCmd.FindRecord, we get a flash of the Access
application window. Either way, this is undesirable.
Any clues?
Thanks!
Susan
someone can help me solve.
I am using Access through a VB 6.0 program. At one
point, I load an Access form using the following code:
Dim AccessApp As Access.Application
Set AccessApp = CreateObject("Access.Application")
AccessApp.OpenCurrentDatabase <...myfrontenddb.mdb...>
AccessApp.DoCmd.OpenForm <...myformname...>
Set AccessApp = Nothing
The form works as expected and everything is great ...
until ... I reach a DoCmd.FindRecord in the code for the
form. After this statement, the Access application is
visible and won't go away until the form is closed. If
we set the application.visible property to false BEFORE
the DoCmd.FindRecord, we get the same results. If we set
the application.visible property to false AFTER the
DoCmd.FindRecord, we get a flash of the Access
application window. Either way, this is undesirable.
Any clues?
Thanks!
Susan