Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yg
  Where is Yg?
Subject: returning object from RPC
Thread ID: 22879 Message ID: 22879 # Views: 0 # Ratings: 0
Version: Not Applicable Category: Active X Controls & OLE Automation
Date: Tuesday, April 29, 2003 11:18:25 AM         


I want to use single RPC for retrieving data from multiple tables which reside on server. The only solution I have come up so far is to use some object which includes arrays of records from different tables.

Now the problem is that if I return object from my function then I only get a reference to the actual object not a copy of it. Therefore every time I want to get the contents of one array included in it I have to make another RPC, right?

I found an article about VB where is said that this thing can be done with VB. But how can I tell VFP that I want the whole object to be copied not referenced?


Yg Ringo


returning object from RPC Posted by Yg @ 4/29/2003 11:18:25 AM