Dragan
You are absolutly right in your explanation- the wall between sessions
I knew this , but had temptation to jump through it
It was to sad to repeat queries
By the way, if I used remote views, opening view each time
in the form makes server query again.
Now I took the following method
In customer object I add dynamically ( addproperty) 2 vector properties
Go to first form ( set it session)and put afields() in first
property and make sql select ( from the cursor I took form server)into array in the second property
Go to the second form ( set its session)
Create cursor from first property
Makes insert in it from the second property, drop 2 properties, besause next
cursor could have absolutly diffrent data types.
So, I avoided cicle. It does not makes the work more fast in one user variants, but
decrease numbers of the server requests and many clients will work faster
Vladimir
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.