Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3 unrelated files into one report
Message
From
26/04/2007 14:48:49
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01219736
Message ID:
01220225
Views:
29
>>I would set focus on the button before collecting data in the cursor. It must work.
>
>I'll try one more time. In the meantime I looked at How to pass cursor between two VFP datasessions (without using XML) FAQ #29297 and it's a bit too complex. Perhaps cursortoxml would be easier in my case.

I just saw this message so I hv to clarify it little bit.
Solution is generic, so after you dump set of functions with class definition into some visible library of yours - you are left with just two functions to use;
.
oCarrier=Cur2Obj('SourceCursor')  
*to 'compress' cursor into object carrier   
oSomeForm.receive_and_decompress(oCarrier)
.
After you passed it to another session or form with private datasession
you simply use oposite function to 'decompress' cursor within target data session.
&&some form or session method 'receive_and_decompress' 
lparameters oCursor
=Cur2Obj(oCursor,'TargetCursor') 
What is so complex in this case ?
Perhaps will hv to amend FAQ to explain usage little bit better.
Solution might be a bit 'funny' but usage is quiet simple :)

HTH
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform