Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_assign with scatter name
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
_assign with scatter name
Divers
Thread ID:
01214016
Message ID:
01214016
Vues:
58
Hi,

I wonder if I got the _Assign scheme.

I have a business object (bz) that wraps a table. bz has a property oData that I use to access the "current record" of the table via
scatter name this.oDAta
Now I wrote an "assign" method in bz:
procedure oData_Assign
parameter oData
this.oData= oData
...
wait window oData.Field1
and in Init I have
select <table>
scatter name this.oData blank
The Assign method gets fired alright, but I get
FIELD1 is not a property
What am I missing?

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform