Hi--
According to Patrick Halstead's Developing Solutions with Microsoft InfoPath:
The order of processing at startup of a form is:
-
User roles
-
Open rules
-
OnLoad event handler
-
OnSwitchView event handler
From page 322. Now, that was written for 2003, so browser forms weren't in play, but I'd imaging the processing order is still the same. It should be simple enough to test -- you could add a rule in your open rules to set a fields value, then add a line of code in your loading event to set the same field to a different value -- publish and open your form and see what value you get....