RTC Forums
November 23, 2024, 05:18:38 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Returning Multiple Rows of Columns.  (Read 5426 times)
SteveG
RTC License++
*****
Posts: 17


« 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
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: October 13, 2017, 04:53:18 PM »

Here are most topics related to remote functions - HERE.

Best Regards,
Danijel Tkalcec

Logged
Star5
RTC Expired
*
Posts: 27


« Reply #2 on: October 14, 2017, 01:46:03 AM »

It is recommended to return a JSON string, or a data set, or an array.
Logged
SteveG
RTC License++
*****
Posts: 17


« Reply #3 on: October 14, 2017, 01:59:07 AM »

Here are most topics related to remote functions.

Best Regards,
Danijel Tkalcec



Perfect!  Thanks Danijel.

Steve
Logged
SteveG
RTC License++
*****
Posts: 17


« Reply #4 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.025 seconds with 17 queries.