RTC Forums
November 01, 2024, 07:21:07 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Results with parameters
Pages: [
1
]
« previous
next »
Print
Author
Topic: Results with parameters (Read 4340 times)
wbroyles
RTC Expired
Posts: 21
Results with parameters
«
on:
August 13, 2013, 04:51:15 PM »
Is it possible to return the original parameters (or access them) along with a dataset in the RtcResult1Return(Sender: TRtcConnection;
Data, Result: TRtcValue) method of the TRtcResult ?
Thanks
Wade
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Results with parameters
«
Reply #1 on:
August 13, 2013, 07:12:37 PM »
Yes. You have access to the complete "Data" object in the OnResult event. "Data" parameter in the OnResult event is the equivalent of the "Data" object you are using to prepare the remote function call with the TRtcClientModule component. If you have made a single remote function call, the "Data" object will contain a single "asFunction" object, with "FunctionName" and all the parameters you have passed to the call.
Best Regards,
Danijel Tkalcec
Logged
wbroyles
RTC Expired
Posts: 21
Re: Results with parameters
«
Reply #2 on:
August 13, 2013, 08:07:31 PM »
Perfect!
Thank you,
Wade
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...