Hi Bill,
All controls that are aggregated share one datasession. Or in a more practical manner, whenever there's a Parent reference, all objects that you can reach via this reference share one datasession. In your scenario, all containers added to the pageframe share the datasession of the form. If you change the datasession before adding a new container, you change the datasession of the entire form.
Only objects created with CREATEOBJECT() or NEWOBJECT() can have their own datasession.
Christof
--
Christof