Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbfname.fieldname equals classname.propertyName
Message
De
22/07/1998 09:50:06
 
 
À
22/07/1998 01:34:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00120028
Message ID:
00120139
Vues:
23
>Big trouble here.
>
>I have a field called provcode in a
>table called LOG thus to call the
>field I use: log.provcode
>
>I have a class called LOG with a
>property called provcode thus to use
>the class\property I use log.provcode
>
>I just used
>tmpstring=log.provcode
>wanting the class\property but the
>dbf.fieldname with the same name\reference
>was returned.
>
>What should I do?

You got many andvices how to handle this from data side, however I guess you just have problem with referencing the object (instance of class): if you add this object to some form, then you should call it:
Thisform.Log.Provcode etc. and it will never be confused with some data.field
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform