>>*I rarely use public in production, but without it, this sample will end as soon as it reaches the last line of code.
>>
>>Public oForm
>>oForm = Createobject('AutoCompleteCountrySample')
>>oForm.Show
>
>
>Shame on you Mike, you do not *NEED* a public variable, a local variable and a modal form would have done it just right for this example :P
>
>
>LOCAL oForm
>oForm = Createobject('AutoCompleteCountrySample')
>oForm.Show(1)
>
I would not use the silly modal form approach either.