Hi Adrian,
Unless there is a very compelling reason not to do so, you're going to want to get rid of scatter/gather and use the fields as the controlsource directly (row or table buffer the table). Trying to implement a SCATTER/GATHER architecture might end up being more trouble than it's worth.
>I'm converting a FoxProDOS 2.6 app to VFP6. I hoping to not rework all the Scatter/Gather code from the original, but I'm having trouble understanding the scope of the Scatter'ed "m.variables".
>
>If I Scatter in the Activate method of the form, m.vars that are bound to controls will persist even after the form is unloaded.
>
>On the other hand, m.vars that are not bound to a control don't persist outside the Activate method.
>
>What are the rules here?
>
>TIA, Adrian
------------------------------------------------
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