I'm new to this grou and to VFP but not to Foxpro. Few years ago I used Foxpro2.6 (for DOS) and in BROWSE command I used "computed values" in some fields. Example
USE customers BROWSE FIELDS cust_id, fullname=ALLTRIM(fname)+' '+ALLTRIM(lname) NOMODIFY I found that the similar command work in VFP8 too: BROWSE FIELDS cust_id, fullname=ALLTRIM(fname)+' '+ALLTRIM(lname) NAME bygrid In debugger I see that mygrid.Column2.ControlSource contain this value "ALLTRIM(fname)+' '+ALLTRIM(lname)" but I'm not able to do the same effect in standard Grid object. Is it possible? How? To explain why I can do it I want to say: fields "fname" and "lname" is defined as C(100) and this is too big to show in grid. For this reason I want to show single "computed" field containing both trimed values from table fields. -- 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: ProFox@leafe.com 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.