Dooh, sure. I do not know then where I get this one mistake. Was this different in the previous versions of VFP?
>>Hi!
>>
>>I know that. But when you have public variable, better to cleanup it, otherwise next Public statement will throw an error if such variable already exists in the memory. I usually do this for public variables.
>>
>
>The only time you get an error by issuing a public statement is if the variable was previously scoped as something other than public (local, private). You can reissue public all day long on variables that were previously defined as public. The value of the variable doesn't get reset.
>
>See Error 1960.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.