Hi Chaim,
Thanks for thought. My mission in life is to never use a global, though. I'm sure a new method will come handy some other place as well.
Thanks again.
>Yes, there is a workaround, but it's a little ugly. As you correctly observed, it's too late by the time the called form's Init method executes.
> Instead, create a global or private memvar in the calling form. Then query this memvar in the called form.
> This will work fine as long as you don't have multiple instances of the calling form and multiple instances of the called form.
>Hope this helps.
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!