borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (ADOX Table Creation - Access Properties)Next Topic (verify username and password using VB6 and msaccess) New Topic New Poll Post Reply
AndreaVB Forum : Database : Master/Detail form
Poster Message
vle
Level: Guest


icon Master/Detail form  Archived to Disk

Hi, does anyone know how to create a master/detail form in VB6? Both forms should be updateable.

Thanks

11-06-2002 at 05:20 PM
| Quote Reply
GPA
Level: Guest

icon Re: Master/Detail form  Archived to Disk

The master usually shows a list of records. The detail shows... yes, the details of the record you selected. Whether it is the details of the record (Item and ItemDetails)or just another set of records (Order and OrderItems) With the default grid provided by MS it is not possible to change the contents of a record. You can, however, do this in the detail section. I usually do this by creating two recordsets one for the master and one for the details. With a filter on the rsDetails, to reflect the contents of the master record.
Hope this helps.
Guus

BTW if you want to edit records in the grid use e.g. True DB Grid by www.ComponentOne.com

[Edited by GPA on 13-06-2002 at 06:00 AM GMT]

13-06-2002 at 05:59 AM
| Quote Reply
AndreaVB Forum : Database : Master/Detail form
Previous Topic (ADOX Table Creation - Access Properties)Next Topic (verify username and password using VB6 and msaccess) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder