>>
I have SQL in the LOAD, but I need it to use the parameter sent to the form's INIT, but it is not available there. I could move the SQL to the INIT, but isn't that the point of the LOAD event?>>
>>Well, if you make the parameter a property of the calling form, there is a little trick you can use because in the load of the child form, _Screen.activeform is still the calling form. So code like this could do it for you:
>>
>>
>>tuParameter = _Screen.ActiveForm.ParameterProperty
>>
>
>Interesting. I didn't know you could do that. I never would (blows OOP principles all to hell) but it's interesting to know that you can.
Well it also blows OOP principles to be unable to pass a parameter to the constructor - which .load() is; .init() actually fires at the end of construction of the object.