Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can cursors be passed from Form A to B?
Message
De
28/11/2011 06:03:36
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
28/11/2011 03:48:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01529824
Message ID:
01529910
Vues:
38
>>Never happened to me that it could prove the scatter caused anything. Just mentioned it because others (Tamar, I think) said it's possible.
>
>It's easy to test - did so last week
>
>If form B has a private datasession
> - it creates an object (other than the onces that have private datasessions)
>- then puts that object in Form A
>- then releases
>
>you will see an unknown datasession, that will disappear as soon as you set the object in form A to null

Wow! This implies some behind-the-scenes connection between the scatter object and the alias it was scattered from.

Perhaps an anonymous scatter would help? Something like
o=createobject("empty")
n=afields(aa)
for i=1 to n
   addproperty(o, aa[i], eval(aa[i]))
endfor
return o

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform