>Hi,
>
>
>PUBLIC myvariable
>
>
>HTH
John,
PUBLIC and global are NOT the same thing. PUBLIC is a command that should be avoided like the plague, it creates very bad;ly behaved variables that can cause untold problems in places that you would never expect them.
A global variable in VFP is a private variable that is declared and created in the top level program of the application. Any such variable is visible to the entire application.