RTC Forums

Subscription => Support => Topic started by: wbroyles on August 13, 2013, 04:51:15 PM



Title: Results with parameters
Post by: wbroyles 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


Title: Re: Results with parameters
Post by: D.Tkalcec (RTC) 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


Title: Re: Results with parameters
Post by: wbroyles on August 13, 2013, 08:07:31 PM
Perfect!

Thank you,

Wade