Dave Crozier wrote:
> Peter,
> Prefix the expression with an "=" and that will allow you to use any
> expression that you want.
>
> i.e
> =ALLTRIM(fname)+' '+ALLTRIM(lname)
>
Hi Dave
I tried to write this into ControlSource property in Grid Property window but 
I got error message
"The data source for this object must be a variable reference."

I tried too to rewrite ControlSource value at runtime in Grid Init method but 
I got the same error message at this line. It looks that VFP8 work different 
with Grid builtin object and grid created by BROWSE command.

Heh :-) I found now this in VFP help:

<cite>
A data source or ControlSource property must contain a variable.
Make sure you have not specified an expression.
</cite>

-- 
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your
mail from another non-spammer site please.)

Please reply to <petr AT practisoft DOT cz> 




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to