PC Review


Reply
Thread Tools Rate Thread

Chasing Parent Relationships in a datagrid

 
 
jdipalmajr@comcast.net
Guest
Posts: n/a
 
      16th May 2005
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
(E-Mail Removed)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid parent relationships for nested elements, or any kind offormatting! Gary Microsoft VB .NET 3 10th Apr 2009 02:10 AM
How do I remove parent-child relationships in the parent table? Pat Dools Microsoft Access 3 1st Apr 2009 03:19 AM
parent/child row relationships =?Utf-8?B?VmFuQHdvcms=?= Microsoft Access Form Coding 2 25th Oct 2007 12:15 AM
Datagrid Parent/Child relationships??? Darryn Ross Microsoft C# .NET 3 24th Sep 2004 01:53 PM
Parent Child Relationships Help Please! Heather Microsoft Access Forms 1 7th Jun 2004 09:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:06 AM.