Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3 unrelated files into one report
Message
From
26/04/2007 15:09:07
 
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:
01220236
Views:
31
>>>>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.

It could be but I think I tried more less everything back then.
If you fell like it, amend it as you wish, test if it works with memo fields and if you make some noticable speed diff, we can amend
original. Whole solution/FAQ was done more less for fun of it. I had solution like this long before, but without support for memos. So after some 'datamunging' discussion here, I took my old code and turned it into more generic solution.

And as I said before, if your Russian friends came up with some
cool solution without any limits - keep me posted :)
*****************
Srdjan Djordjevic
Limassol, Cyprus

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

Click here to load this message in the networking platform