Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3 unrelated files into one report
Message
De
26/04/2007 14:48:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01219736
Message ID:
01220225
Vues:
24
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform