PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → [WD23] HExecuteProcedure
[WD23] HExecuteProcedure
Started by ARV, Jul., 12 2018 6:37 PM - No answer
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on July, 12 2018 - 6:37 PM
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 modified, July, 12 2018 - 6:38 PM