M
Morgan
Hi
I have a MS Access DB that i use to process some global
variables. At a certain point in the process i would
like to open another Access DB and pass some values to
one of its forms and then have that form do some
processing.
So far i can open the second db ok but the problem is
then updating a control on a form in the second db.
I have tried using the DoCmd.OpenForm command in the
first database to open the form in the second db followed
by the [Forms]![Formname]![controlname] = valueabc
however it errors out because the form does not appear in
the forms collection of the first db.
I know that i can achieve a solution by writing the
valueabc out to a txt file and then have the second db
reference the text file however I am sure there must be a
way to pass a variable value between instances of Access.
Any help will be greatly appreciated.
Cheers
Morgan
I have a MS Access DB that i use to process some global
variables. At a certain point in the process i would
like to open another Access DB and pass some values to
one of its forms and then have that form do some
processing.
So far i can open the second db ok but the problem is
then updating a control on a form in the second db.
I have tried using the DoCmd.OpenForm command in the
first database to open the form in the second db followed
by the [Forms]![Formname]![controlname] = valueabc
however it errors out because the form does not appear in
the forms collection of the first db.
I know that i can achieve a solution by writing the
valueabc out to a txt file and then have the second db
reference the text file however I am sure there must be a
way to pass a variable value between instances of Access.
Any help will be greatly appreciated.
Cheers
Morgan