Bly,
>
>Thanks for the quick reply; however, it is doing it with ALL fields on the form not just the last. I have checked the tab order too.
>
I would check default and cancel property of your buttons too...
>
>
>>>I am having problems with a form in a formset that used to work properly. Obviously I have done something buy WINDIFF won't find it nor can I.
>>>
>>>As long as I use the mouse to move the focus from field to field in my form, all events fire normally (just some minor calculations and refreshes). If I use the keyboard (tab or enter) to move from field to field, I am bounced off of the current form back to the previous form.
>>>
>>>Any ideas what I have done to make the VFP Gods unhappy?
>>>
>>>Bly Beach
>>>Arnoldsville, GA
>>
>>It is by design. After the last field on the form which is included in the formset the focus goes to other form.
>>You can either:
>>
>>1. Not use formset as most of us. :)
>>
>>2. Put
>>
>>thisform.myfirstfield.SetFocus()
>>in your last field .LostFocus() on the given form (according to the Tab order)
>>
>>Nick
If it's not broken, fix it until it is.
My Blog