Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 23rd, 2006, 12:44 AM
Registered User
 
Join Date: Oct 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default DSN for pass through

I have created a Pass through query in MS access. Is there any way that i can pass the DSN as a parameter in that other than using modules in it.

sourav gupta
 
Old November 23rd, 2006, 07:33 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to leehambly
Default

Sourav,

I think this is the solution, though I may be off the right track...

Starting fresh:
Open a new query (SELECT) in design view.
Right click to bring up the query properties window.
Now turn the query into a pass-through.
The ODBC properties should now be available in the query properties.
Simply navigate to the DSN through the ODBC Admin form...

Hope that helps. Bit of a pain to get there since as soon as your turn it into a pass-through, the properties option disappears so you have to bring it up first! Well, maybe been solved on 2k+, Im stuck on 97 today!

Lee
 
Old November 23rd, 2006, 12:31 PM
Authorized User
 
Join Date: Nov 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

lucky you :D

Quote:
quote:Originally posted by leehambly
... Im stuck on 97 today!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help please.......... DSN kumar1225 Java Databases 1 December 26th, 2007 09:02 AM
DSN umeshtheone SQL Server 2000 1 June 8th, 2007 04:18 AM
dsn umeshtheone SQL Server 2000 1 May 16th, 2007 04:54 AM
Application DSN and Session DSN ssampanthar Classic ASP Databases 0 January 6th, 2005 01:23 PM
coonrct using dsn vikaspalic SQL Server ASP 2 June 4th, 2003 02:40 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.