Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call SQL Stored Proc With Output Param
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01396149
Message ID:
01396151
Vues:
55
Check Re: Can stored procedures return values? Thread #876879 Message #876903

>I can't seem to get this to work. SQL is returning Syntax Error:
>
>
>SELECT Import
>SCAN
>
>	sPartNo = ALLTRIM(Import.PartNo)
>	iPartId = 0
>	
>	sCommand = "exec ap_GetPartIdByPartNo ?@sPartNo, ?@iPartId OUTPUT "
>	iResult = SQLEXEC(iConnHandle , sCommand)
>
>	IF iResult < 0
>		AERROR(ArrayName)
>	ENDIF
>
>ENDSCAN
>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform