Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql server 2000 sp from Access 2000

Status
Not open for further replies.

glealv

Programmer
Apr 17, 2002
17
0
0
US
Hi, I am wondering why this SP does not return any rows when executed from Access 2000?
[CREATE PROCEDURE [dbo].[UspContaks] @clyent nvarchar(7) AS
select *
from tabContacts
where ClientID = @clyent
order by ClientID, ContactKey
GO]

Access 2000 VBA:
[conLocal.Open "Provider=SQLOLEDB;Server=HXXPFSRV08;Database=CustService;Trusted_Connection=Yes"
conLocal.Execute "UspContaks 'Y338032'", lngRows]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top