Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 January 16th, 2004, 11:24 AM
Authorized User
 
Join Date: Jun 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default stored procedures in ADP do not work on other comp

Hello I am working on an Access Project which works great on my computer. This database is placed on a server which others have access to open it and work with the forms and reports ONLY! However I'm testing this on one of the user's computer and I noticed that the only forms and reports that are not working are the ones whose record source is a stored procedure. Am I doing something wrong? I cannot figure it out. Please if anyone can help me I'd greatly appreciate it. :)

slypunk
__________________
slypunk
 
Old January 16th, 2004, 11:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's probably down to the ODBC connection to the SQL server, it needs to be set up on each machine used to access the database.



There are two secrets to success in this world:
1. Never tell everything you know
 
Old January 16th, 2004, 12:05 PM
Authorized User
 
Join Date: Jun 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Where can I go to verify that? I went to the Enterprise Manager and I checked their permissions and it looks fine to me.

THanks

Quote:
quote:Originally posted by chrislepingwell
 It's probably down to the ODBC connection to the SQL server, it needs to be set up on each machine used to access the database.



There are two secrets to success in this world:
1. Never tell everything you know
slypunk
 
Old January 16th, 2004, 12:13 PM
Authorized User
 
Join Date: Jun 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok I'm at the ODBC Connection do I have to go to each machine and set up the same ODBC Connection? I'm a little cofused.

Thanks

slypunk
 
Old January 16th, 2004, 12:19 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, you could do each machine individually, or you could use the ODBC connection manager to create a file-based connection, and link to that from the Access db (make sure that the file is located somewhere everyone can access it). It will probably mean re-creating the connection in Access too, but that's less hassle that going around each user's machine.


There are two secrets to success in this world:
1. Never tell everything you know
 
Old January 16th, 2004, 12:46 PM
Authorized User
 
Join Date: Jun 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So because of this I cannot use stored procedures as the record source for forms and reports? Because when I use views(which I am not very fond of) as the record source it works fine on the other computers.

slypunk
 
Old January 16th, 2004, 12:50 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is a known problem. What is your Access version and service pack version. You may need the latest service pack installed on all computers.
How does the name of the stored procedure look when you open the adp on the users machine? any charachters in front of the name of the sp? if yes, that is the problem.



Sal
 
Old January 16th, 2004, 02:20 PM
Authorized User
 
Join Date: Jun 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's Microsoft Access 2000 (9.0.2720) and yes on the other machines the sp may say for example (subEstimatePaymentLog;1(dbo))and on mine it says (subEstimatePaymentLog). Why is that??
Quote:
quote:Originally posted by sal
 This is a known problem. What is your Access version and service pack version. You may need the latest service pack installed on all computers.
How does the name of the stored procedure look when you open the adp on the users machine? any charachters in front of the name of the sp? if yes, that is the problem.



Sal
slypunk
 
Old January 16th, 2004, 02:22 PM
Authorized User
 
Join Date: Jun 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm sorry it's version 5.0.2195 Service Pack 4 Build 2195

slypunk
 
Old January 16th, 2004, 03:08 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

all of your users need the latest service pack. I am not sure what it is. That should fix your problem.



Sal





Similar Threads
Thread Thread Starter Forum Replies Last Post
adp- stored query problem LeoTiger1 Access 0 June 13th, 2006 04:11 PM
Stored procedures won't work properly... eBilyboy SQL Server 2000 1 December 12th, 2005 11:25 AM
stored procedures in ADP do not work on other comp sherr8 Access 15 June 5th, 2004 01:59 PM
Use of "IF" in a ADP Stored Procedure Mickey123 Access 0 December 5th, 2003 01:53 AM
custom menus don't work with a shared adp Ash Access 3 August 12th, 2003 01:22 AM





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