Hi,
I am building an intranet site for a client and at the moment I am connecting to data on my server using a dsn, but the only way I could get it to work was to hard code the server name. Now when I come to deploy this on the clients machine although they will have the same DSN specified in the code, they will not be able to find the server to look at the data on their server. Is there a way around this?
Can I connect to a DSN without having to hard code the server name?
Many thanks in advance
I am building an intranet site for a client and at the moment I am connecting to data on my server using a dsn, but the only way I could get it to work was to hard code the server name. Now when I come to deploy this on the clients machine although they will have the same DSN specified in the code, they will not be able to find the server to look at the data on their server. Is there a way around this?
Can I connect to a DSN without having to hard code the server name?
Many thanks in advance