Hi Dale and Graham,
true, the backend contains only the tables BUT the database is in
Namibia and I am sitting in Germany. So if I have to add some fields
in a table (or create a new one) I should have the backend which is a
problem, as they can't use it there any more. So my idea is to have
the same structured backend here (without the data), write the changes
in a module in the frontend (find the differences with the program
CompareEM), send the frontend to Namibia with a nice button (which
copies the module with the changes in the backend there and would -
this is what i want to know from this posting - run the code in the
backend database there. The user would only have to click on the
button in the frondend. Sounds maybe a little bit complicated, but
would make it quite easy for the user to make the changes in the
backend.
Any ideas how to run the module in the backend with an command in the
frontend?
Thanks,
Andreas
Hi Andreas
It is unusual for a backend to contain anything except data tables. Is it
not possible to put thecodein your frontend?
Another way would be to call your function from a macro and use the Shell
command torunup another instance of Access and execute the macro from the
command line. The command line string for the Shell command would be
something like this:
"C:\Program Files\Microsoft Office\Office11\msaccess.exe"
"<path to your backend>" /x <name of your macro>
--
Good Luck
Graham Mandeno [Access MVP]
Auckland, New Zealand
I have a frontend and backend database. I have a nice tool to update/
create variables in the backend with VBA (compareEM). I copy thecode
to the backend with VBA.
Problem: Now I want torunthe module in the backend from the frontend
(so the user just clicks "update backend" and it will close the
frontend and runs the update-function in the backend).