Harmannus said:
Hallo,
Is it possible to hard code a back-end *server* path, that i do not have
access to, into a front-end?
For develop reasons i use a local back-end to make changes in the front-end
and sent it back. For this purpose i want to reset the path in the front-end
to its orginal state. The code below checks for a valid connection as far as
i do understand the code. This check should not be made. It should simply
update the linked tables to the original path.
No, you cannot link to a database if you don't have access to it. The
solution is to simply check at start-up, and then re-link it. It is a one
time affair, and should not be a problem. In fact, I have a actually have a
table in the front end with one record, and two fields for the back end. One
field is for path to back end (production), and path to back end
development. Right before I send out the mde, I simply check mark the flag
for production back end, and then the user at start-up is informed about
this..and my code re-links.
So, no..you can't set the location of the back end BEFORE you deploy, but
you can certainly save the location of WHERE you want to link to...and then
simply link at start-up.
The end result is the same thing....