Well, Its now old to use private varibles in our forms. Create form's property and use it anywhere in the form.
The answer of your question :
Define them in the Load() not in Init()
>I have a form with some memory variables that I only need while the form is in use. In the init method, I set them all to .f. since they are for check boxes. The form runs fine, but then when I do a comparison with one of the variables, I get datatype mismatch, and in the debugger I see the value of the variable is 1, not .t. What's up with that? Thanks! Marvin
- Jayesh