>>I have a form on which I change the active page in the forms GotFocus event if certain conditions are met.
>>
>>I use code like the following
>>
>>DODEFAULT()
>>IF ll_isfirsttime AND ll_user_wants_second_page as default
>> THISFORM.ACTIVEPAGE=2
>> THISFORM.PAGE2.SETFOCUS()
>>ENDIF
>>
>
>Place that code in the forms Activate method.
I agree. If you want to see some odd behavior sometime, try doing a SET DATE TO some other date format in the GotFocus method. I forget exactly what was happening, but I do remember it being pretty bizzare!