Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calulated ControlSource
Message
From
13/08/2001 14:02:30
 
 
To
13/08/2001 13:38:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00543139
Message ID:
00543159
Views:
23
>Hi!
>
>I am having trouble creating a Calulated ControlSource for a TextBox on a Form.
>
>When I specify an expression as the ControlSource of the TextBox I get an error "The data source for this object must be a variable reference"
>
>e.g. ThisForm.TxtFileName.ControlSource = "juststem(filename) + '.'+ justext(filename)" where filename is a memo field.
>
>I have tried a few different ways but none of them seem to work.
>
>Thanks in advance.
>
>Sarosh

Try, thisform.txtFileName.controlsource = "tablename.memofieldname"

hth,
chris
Previous
Reply
Map
View

Click here to load this message in the networking platform