Gustav Brock
Gustav at cactus.dk
Thu Feb 14 02:24:00 CST 2008
Hi Jim The short answer is none. If at all possible it will not be reliable as the connection to the site easily can be lost. The recommended method is to use a database engine like SQL Server or MySQL which at most decent hosting companies is available for a fair if not low additional cost. Then connect to that. The simple method is to use ODBC, and - if the database is moved to another host - all you need to do is to change the IP address of the connection. /gustav >>> accessd at shaw.ca 14-02-2008 07:34 >>> Hi All: What connection method and code do you use to connect to an MDB DB on your web sites? (I have only used MS SQL in the past and that is fairly straight forward.) My client had originally hard coded the MDB location in a Global file variable and used the DSN-less Database Connection method but that will not work now that he is planning on migrating to a public internet hosting company. Is there a way to pre-setup an ODBC Database Connection that would work on any location? Any insights and coding samples would be greatly appreciated. TIA Jim