ADP: Can't use stored procedure on remote SQL server
- From: "Marcus" <marcus@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 Jul 2008 22:56:17 +0200
I'm happily using a remote SQL server over the internet using Sylvain Lafontaine's suggestion:
"use a comma to specify the port number as in a.b.c.d,1433"
Unfortunatelly I have noticed that stored procedures have some problems, that is
they don't execute at all when launched remotely... is there a particular
reason, in your opinion, why this happens? While in LAN, they work perfectly....
The error is:
"Run-time error '2812' Could not find stored procedure 'SPInc'.
here's the offending code:
***********************
spstring = "exec SPInc '" & _
fGDataFine & _
"' , '" & _
fGDataInizio & _
"'," & _
Me.Anno & "," & _
Me.Mese & "," & _
AnnoPrec & "," & _
MesePrec & "," & _
spOrderBy
Me.RecordSource = spstring
**************************
I
.
- Follow-Ups:
- Re: ADP: Can't use stored procedure on remote SQL server
- From: a a r o n . k e m p f @ g m a i l . c o m
- Re: ADP: Can't use stored procedure on remote SQL server
- From: a a r o n . k e m p f @ g m a i l . c o m
- Re: Can't use stored procedure on remote SQL server
- From: bcap
- Re: ADP: Can't use stored procedure on remote SQL server
- Prev by Date: Re: ADP/2003 sends wrong query to SQL server
- Next by Date: Re: Can't use stored procedure on remote SQL server
- Previous by thread: Access klient slow down on SQL 2005 HELP PLZ
- Next by thread: Re: Can't use stored procedure on remote SQL server
- Index(es):
Relevant Pages
|
Loading