Chasing Parent Relationships in a datagrid

Tech-Archive recommends: Speed Up your PC by fixing your registry



I have a question regarding whether datagrids (and DataViews) can
support automatic synchronization between a child and parent (i.e.
based on being on a child record, automatically position the parent).
Parent to Child relationships are obviously supported. I am looking
for the opposite relationship. To setup the example I used two tables
similar to the Orders and Order Items tables in the Microsoft Northwind
demo database. I noticed that I can setup two datagrids and show the
Orders in one grid and (using the relationship for the second
Datagrid)the Order Details in the second grid. Changing from one order
to another automatically keeps the OrderItems in sych.

My question is whether I can setup this scenario in the opposite
direction. Can I display all the OrderItems (for all orders) in one
grid and automatically have the Orders table position itself on the
Parent (i.e. Order) for the OrderItem I have selected?

I am thinking that this relationship synchronization is not supported.
The reason is that I noticed that when I setup a datagrid with
navigation turned on and position myself on a parent table, the child
relationships are displayed. However, when I show a child table in the
datagrid, I get no relationships displayed.

Does anyone have any insight into this problem? I have worked several
angles on this problem and all the solutions require a lot of code (and
I still don't have it working).

Jerry
jdipalmajr@xxxxxxxxxxx

.



Relevant Pages

  • Re: What joy! Boys wearing nail polish
    ... It is the insecure children who want to keep the other OUT. ... >>> Well, you can support your studies and me, mine. ... >> themselves in single parent households, that family members of the sex ... > raising the child has a penis. ...
    (soc.men)
  • Re: Deadbeat dads.
    ... If one spouse was providing 80% of the child's financial support ... we are discussing child support. ... should get 80% custody. ... parent the child lives with and I agree that that tendancy needs to change. ...
    (alt.tv.survivor)
  • Re: Deadbeat dads.
    ... within the marriage, is it really logical to decide that they should ... we are discussing child support. ... with the parent best able to financially support them. ...
    (alt.tv.survivor)
  • Re: Error dataset deletion
    ... child table will also be deleted by the delete rule ... the child table first and then update the parent table. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: 400 ?Deadbeat Dads? but not ONE with a Decent Job?
    ... show me where it said the mothers are not. ... "What kind of parent wouldn't want to give his money to ... You decide not to give the child up for adoption. ... would support his erstwhile partner as much as he could. ...
    (soc.men)