RTC Forums

Subscription => Support => Topic started by: SteveG on October 13, 2017, 12:56:52 PM



Title: Returning Multiple Rows of Columns.
Post by: SteveG on October 13, 2017, 12:56:52 PM
Hi,

What is the best way to return multiple rows of a few columns using a remote function?  For example, returning 10 rows of 5 columns/fields.

The data will be populated by code.

I'm sure I've done this in the past but I can't find the code.  I have searched the forum for examples but couldn't find anything.

Thanks,

Steve


Title: Re: Returning Multiple Rows of Columns.
Post by: D.Tkalcec (RTC) on October 13, 2017, 04:53:18 PM
Here are most topics related to remote functions - HERE (https://rtcforum.teppi.net/index.php?topic=311.0).

Best Regards,
Danijel Tkalcec



Title: Re: Returning Multiple Rows of Columns.
Post by: Star5 on October 14, 2017, 01:46:03 AM
It is recommended to return a JSON string, or a data set, or an array.


Title: Re: Returning Multiple Rows of Columns.
Post by: SteveG on October 14, 2017, 01:59:07 AM
Here are most topics related to remote functions (https://rtcforum.teppi.net/index.php?topic=311.0).

Best Regards,
Danijel Tkalcec



Perfect!  Thanks Danijel.

Steve


Title: Re: Returning Multiple Rows of Columns.
Post by: SteveG on October 14, 2017, 02:00:01 AM
It is recommended to return a JSON string, or a data set, or an array.

Thanks.  I'm returning a dataset and it's working really well.

Steve