Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB to VFP Syntax change ?
Message
 
À
11/01/1999 00:33:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00174566
Message ID:
00174613
Vues:
23
Hi Xavier,

>thisform.cf.fieldvalue("HeaderRec","HeaderCustName")= "TEST"
>
>This returns an invalid function !
>It should normaly assign the value "TEST" to that specific field.
>This syntax works with VB !

This tries to access a collection on the left side of an assignment, something that is not possible in VFP. Maybe

thisform.cf.fieldvalue("HeaderRec","HeaderCustName").Value= "TEST"

does work. IAC, you need to have a property in order to store a value.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform