o sorry i can not a sample because i am using expressgrid.
i will try with my bad english
now, I am using devexpress. it's ok. and my all forms is inherited. namely There is a standard form (have got a express grid). another form is inherited from this form. when my customers make a filter (on grid), I am sensitiving filtertext and sending to TMSQuery' s where clouse. Because expressgrid's original filter is very slowly. filter must be in sql (for speed). if MSQuery's sql is easy query then, no problem. But if sql query have got delivered or view, field.origin is showing real [tablename].[fieldname] and begining my problem. I hope, you understand me
SELECT NAME, SIRNAME FROM ADRESS
NAMEfield.orgin is ''ADRESS.NAME" (it 's ok no problem)
SELECT * FROM (
SELECT NAME, SIRNAME FROM ADRESS) TBL
NAMEfield.orgin is ''ADRESS.NAME" (but not be show this because now origin is "TBL.NAME")
i using fibplus (firebird). fibplus have got a property :
Sets the rule for filling field origin.
property FieldOriginRule: TFieldOriginRule read FFieldOriginRule write FFieldOriginRule default forTableAndFieldName;
Use the FieldOriginRule property to establish the rule for filling field origin. Can have values:
Value FieldOrigin form
forNoRule Do not fill FieldOrigin.
thanks and best regards.