Link multiple datagrids to a single record (Master\Detail Form with multiple details)

Link multiple datagrids to a single record (Master\Detail Form with multiple details)

Post by Rob » Fri, 05 Jul 2002 06:19:41



I don't know if this can be done but if someone could point me in the right
direction it would be appreciated:

I have several tables that track history information and are all linked to a
single record in a master table.

Using ADO can I link several datagrids to a single record in a recordset and
then scroll through those records and the datagrids update accordingly?
(Similar to a Master\Detail Form but with multiple details)

 
 
 

Link multiple datagrids to a single record (Master\Detail Form with multiple details)

Post by Douglas Laudenschlager [M » Fri, 05 Jul 2002 07:44:38


For a quick start, I'd probably let the VB6 Data Form Wizard (assuming
you're talking VB) create a master/detail form for me, then simply copy and
adapt the "detail" pieces as necessary for multiple detail recordsets and
datagrids.

-Doug

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure? For information about the Microsoft Strategic Technology
Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.

 
 
 

Link multiple datagrids to a single record (Master\Detail Form with multiple details)

Post by Nelson Le » Sat, 06 Jul 2002 02:15:07


Yes, it can be done.  Use the ADO Shape command to create your hierarchy
(extend the Shape syntax in the master\detail form to tie the single Master
to multiple details)

HTH

Nelson


Quote:> I don't know if this can be done but if someone could point me in the
right
> direction it would be appreciated:

> I have several tables that track history information and are all linked to
a
> single record in a master table.

> Using ADO can I link several datagrids to a single record in a recordset
and
> then scroll through those records and the datagrids update accordingly?
> (Similar to a Master\Detail Form but with multiple details)

 
 
 

Link multiple datagrids to a single record (Master\Detail Form with multiple details)

Post by Nelson Le » Sat, 06 Jul 2002 02:18:25


If you need help with the ADO Shape syntax try this link

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q189657

It provides some examples to help you get started.

Nelson


> Yes, it can be done.  Use the ADO Shape command to create your hierarchy
> (extend the Shape syntax in the master\detail form to tie the single
Master
> to multiple details)

> HTH

> Nelson



> > I don't know if this can be done but if someone could point me in the
> right
> > direction it would be appreciated:

> > I have several tables that track history information and are all linked
to
> a
> > single record in a master table.

> > Using ADO can I link several datagrids to a single record in a recordset
> and
> > then scroll through those records and the datagrids update accordingly?
> > (Similar to a Master\Detail Form but with multiple details)

 
 
 

1. Multiple forms with master/detail tables

What is the proper procedure for adding/deleting records in master/detail tables?

Problem I have experienced:  Master/detail table is contained in a single
datamodule and when a record in the master table which resides on one form  is
deleted, the wrong record in the detail table which resides on another form is
deleted.

When browsing from record to record, both forms synch together properly or so
it appears.


2. Backup of model db failing with Legato Networker

3. What is better? Multiple Masters or Single Master

4. Config I/Net to DNS

5. HELP: Master-detail form: sequence of detail records

6. Q: Sybase FTP-sites? ODBC drivers for SQL Server 10.0.1?

7. generate multiple records with single form?

8. Need to print multiple forms of multiple records

9. Printing multiple forms from multiple records???

10. master/detail datagrid form

11. Combining multiple selected records into a single record

12. QuickReport: Multiple master-detail