G
Guest
Hi..
I've been working with standalone DataSets and DataTables. I've defined a schema to model some xml data like the following
<Root><Client id="1" total="Sum(Child(rel).cost)" updated="Max(Child (rel).updated"><Order id="1" cost="12" updated="<date>"/><Order id="1" cost="3" updated="<date>"/
..
</Client
..
</Root
With the schema to represent this, I end up with 2 tables, Client and Order with a relationship defined making Order the child of Client. Two columns in Client are defined as operations on the child table orders
The problem I'm running into now is that after the first query on Client, total and updated both get set according to the current state of Order but never get updated again. Subsequent queries on Client after there have been changes on Order don't reflect the Order changes
Is there a way to structure this or a flag to set to allow this to work
Thank
-Mar
I've been working with standalone DataSets and DataTables. I've defined a schema to model some xml data like the following
<Root><Client id="1" total="Sum(Child(rel).cost)" updated="Max(Child (rel).updated"><Order id="1" cost="12" updated="<date>"/><Order id="1" cost="3" updated="<date>"/
..
</Client
..
</Root
With the schema to represent this, I end up with 2 tables, Client and Order with a relationship defined making Order the child of Client. Two columns in Client are defined as operations on the child table orders
The problem I'm running into now is that after the first query on Client, total and updated both get set according to the current state of Order but never get updated again. Subsequent queries on Client after there have been changes on Order don't reflect the Order changes
Is there a way to structure this or a flag to set to allow this to work
Thank
-Mar