Hi Anna
Thanks for your reply. This is the code which simply use in my button,
There is no code attached to your message ??
The Call Shell will open the other database but when "you get there" you
want the other database to open at a specific form. So what you need to do
is run a macro as soon I you arrive at the other database to open the form.
Sorry if I have not explained it very well English is not my 1st language.
You need to open the other database - the one one you want to "call".
The create a new Macro
* Click Macro (on the left of the screen)
* Click New (at the top of the screen)
* In the "Action" column scroll down to "OpenForm"
* In the options box (lower section of the macro screen) scroll down to the
form you want to open.
* Just to start with (you can change it later) I would leave the View at
"Form" and leave "Fitler" Data" and "Where" all blank.
* For the Mode try "Normal" for now.
* Save the macro as TransOpenForm
I normally put trans at the start of names if I am calling it from a
"transfer" but this is up to you.
If you do use TransOpenForm
Then the code would be
""C:\MyDocuments\MyDataBase.mdb""/XTransOpenForm", 1)
"If" your d base in on your C drive - you will need to alter the text
MyDocuments \ MyDataBase
to show the location of the file and the name of the MDB (d Base)
--
Wayne
Manchester, England.
Not an expert.
Enjoy whatever it is you do.