A2003

D

dogbert

We are reviewing some A2000 code prior to upgrading to A2003 and have found a
problem.

Clicking button on frm01 call logic below in form01:
Dim frm02 As New [Form_2]
frm02.sProperty = sValue

where Form_2 has public property defined:
Property Let sProperty (ByVal a_sValue As String)
doing something here
End Property

The sProperty is then referenced in the Form_2.form_load event.

This all works correctly in A2000 but when stepping through the code in
A2003, it appears that the Form_load event is firing before the "Property
Let" and therefore sProperty is null when referenced from the Form_load.
Preferably, we do not want to modify all A2000 code prior to the upgrade.
Does anyone know why the event order has changed and if there is a "global"
way to change the way A2003 process these events? Thanks for any help.
 
Top