Hi Joel,
Unless declared public in the init, init's variables get destroyed when init exits.
Put some custom proertries in the form and initialize the variables to there.
>I have a form that I want to reinitialize the memory variables from a DBF everytime the form displays.
>
>Naturally one would think this is easy since you just put it in the INIT of the form.
>
>NOT SO.
>
>The Form init is not the first thing to run.
>
>So I went to the first item below the form in the Properties window (a text box)and put my Init code there. I put a wait window there and it WAS first.
>
>
>Is that a reasonable way to do this????
>
>
>Joel
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney