Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combining flds in a text box
Message
From
17/12/1999 03:33:08
 
 
To
16/12/1999 14:46:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00304805
Message ID:
00305129
Views:
29
Hi Randy.

>> I have a field in my form. I have marked it read-only. I want to put
'ALLTRIM(name.last)+', '+ name.first' in the field. I tried under 'control source', but it tells me that it is invalid. Using the '=' doesn't work either.
How can I do this? <<

In addition to what the others have suggested, if you want to specify this as the textbox's controlSource, just enclose the entire expression in parentheses like so:

( ALLTRIM(name.last)+', '+ name.first )

This tells vfp to evalualte what is inside.

Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform