>
> >Hmm...I tried this and it worked. I
> tried the exact same code before without the 'nodefault' and it didn't
> work. Well, hey, I still say there should be some sort of 'required'
> attribute for controls, but this seems to work so I guess this is what I'll
> use. Thanks Bruce, Michael, and everyone else for their assistance!
> >
>
> What exaclty is NODEFAULT and what does it do? I did a search of the online
> help and the master index, and can't find it.
>
> Jeff Rusch
Jeff,
Let me try.
When you write code to an object on a form, you link it to one of the
events, in fact this code will be executed before the 'default'
procedure of this event. If you issue NODEFAULT in your snippet, you
really tell VFP not to execute this default procedure.
For example if you write nodefault in the KEYPRESS event, the character
will not be echoed to the screen.
HTH,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.