Hello David,
If you have one form (FORM_A) that has some objetcs (Form_A.Text1) and then, you call another form from this object (Form_A.Text1.Valid). For Example: DO FORM_B
So, in FORM_B if you have a SETFOCUS (any event or method) you will receive this error message... It happens because you have a call from a VALID (not necessary the current object).
Sorry about my English, but I think I could explain you what is doing wrong! :-)
[]s!
and... of couse, change the call (DO FORM_B) to LostFocus (instead Valid) and your program will work fine....
If you are not using VFP 7, you could have problems with LostFocus... sometimes it runs twice...
[]s again!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte