Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB to VFP Syntax change ?
Message
 
To
11/01/1999 00:33:57
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00174566
Message ID:
00174613
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform