Drew Wutka
DWUTKA at Marlow.com
Thu Feb 14 09:23:59 CST 2008
Why won't a DSN-less connection work? You just have to know where the database actually is on the hosted server. You can find this with (I think) Server.Path. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, February 14, 2008 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MDB on the web 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI BusinessSensitve material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited.