Plinio -----
>Thanks by your fast answer.
>I tried what you said, but only works if when my Object.name is has the same name of the controlsource. Coud you give me a better example
Yes, you would have to change your controlsources from m.field to object.field....OK, another way might be the following:
LOCAL cFieldName
SELECT tablename
GATHER MEMVAR
FOR i = 1 TO FCOUNT("tablename")
cFieldName=FIELD(i)
cFieldName = "m."+cFieldName
RELEASE (cFieldName)
ENDFOR
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05