Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Sybase stored procedure from VFP (ODBC connection)
Message
De
20/06/2012 17:24:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Calling Sybase stored procedure from VFP (ODBC connection)
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01546475
Message ID:
01546475
Vues:
70
Hello.

I have s sybase stored procedure which accepts several input parameters and one input/output parameter.

I try to execute it as it would be usual agains SQL server but nothing happens, no recordset returned and no way to get the output value back to FoxPro.

I'm connecting thru ODBC driver, and run simple "select * from" but calling the stored procedure seems to do nothing


I have found that more people get in trouble trying to make it work but I don't get a clear example to solve my next example.

From Sybase, the stored procedure is called this way:

declare @msg varchar(200)
exec sp_test @operation = 'C', @key = '13290000000009', @msg=@msg out
select @mensaje

IT normally returns a record and a response string into @msg

Does anyone know how to do this from FoxPro by using ODBC connections?
Thanks,
Juan C.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform