PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WD23] HExecuteProcedure
[WD23] HExecuteProcedure
Débuté par ARV, 12 juil. 2018 18:37 - Aucune réponse
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 12 juillet 2018 - 18:37
Hi

I was wondering about to execute a stored Procedure but this are going to return a Data Source, when I try to read this data source WD said that this data source wasn't declare.

In the end I conclude that the data it's delete it when it's return to the app.

So there's a way to return a data source and can be use it on my app?

Here's some code

My app:
dsTest is Data Source
dsTest = HExecuteProcedure(Connection1,ServerTest)
HReadFirst(dsTest)
Info(dsTest.ID)



My server:
HExecuteQuery(QRY_QueryTestProcedure)
RESULT QRY_QueryTestProcedure


or

resp is Data Source
HExecuteSQLQuery(resp,hQueryWithoutHFCorrection,"Select * From Table_Test")
RESULT resp


Thanks.

--
Best Regards
Jose
Message modifié, 12 juillet 2018 - 18:38