>In VFP 3.0 you could issue a SetFocus() to change the focus to a different prompt. In 5.0, a new error is genterated. Error 2212 - "Cannot call SetFocus from within a When, Valid, RangeHigh or RangeLow event."
Yes, I had to change my framework for that as well. When I was doing a Save, I was making sure to SetFocus() to the current control to make sure the buffer of the control is saved. I had to change my method to take care of not doing the SetFocus() is the Valid() event was in the hierarchy.