Dave
Whooops! Let me clarify my last reply. In a command
window you do not have to declare a form var since it is
publlic already. Anywhere else you do.
A form var is just that, a var & is part of a local procedure.
Once that procedure is finished all vars are released. Got
to do with the encapsulation thing. This is not a quirk in
Fox but OOPs strategy.
Bottom line is form vars need to be made public before
used in the 'Do Form' command.
Sorry for the confusion,
Tom