>I remember someone alluding to problems with DODEFAULT() I just can't remember the specifics.
>
Hiya John,
Besides the one Christof mentioned there was problem in 5.0 which went like this. Say you had a method with a parameter statement. If one wasn't passed you got either a data type mismatch or non-numeric value error which you issued DODEFAULT() with the non-existant parameter. If you tried to work around it like:
LPARAMETER pcCharStr
IF TYPE('pcCharStr') = "C"
DODEFAULT(pcCharStr)
ELSE
DODEFAULT
ENDIF
For some reason this messed with the event instantiation order so that Load, Init, Show, Activate, and GotFocus got changed to Load, Init,
Activate, Show>, GotFocus. I don't know the details, but I think Drew Speedies mentioned in it the latest FPA.
George
Ubi caritas et amor, deus ibi est