Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3 unrelated files into one report
Message
 
 
To
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:
01220229
Views:
20
>>>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

Nothing too complex. Perhaps just my unability to read long code samples <g> BTW, it two places in your code you do not need to use macro and may just use name expression. I always prefer to use name expression if there is a choice.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform