Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 19th, 2003, 08:35 PM
Registered User
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Object Oriented VB6 programming and DAO

I am an intern at Indiana State University working on a program for their Career Center. I have developed an Access database consisting of 2 tables which have a one to many realtionship between them. Each of these tables are accessed through a class object that defines strings for the database fields. I am using DAO 3.60. What I am trying to do is show a student's basic information at the top of the form and the student's career center session information at the bottom of the form. The student will have more than one session record related to it, but the form will advance to records not related to that student's record. How do I code the form to reflect the relationship that the tables have between each other in an object oriented format? For example, to point to the primary key of the first table: Students.strkey and the realtionship is linked to: Sessions.strkey. Any help would be greatly appreciated!

Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a question re: Oject Oriented Programming dotnetDeveloper General .NET 2 July 24th, 2008 05:33 PM
Object Oriented Programming jgrant C# 2005 0 March 16th, 2007 03:04 AM
Object oriented programming with VB6 james gold Pro VB 6 3 September 27th, 2003 02:31 PM
Object oriented programming with VB6 james gold VB How-To 2 September 23rd, 2003 09:29 AM
Object oriented programming with VB6 james gold Beginning VB 6 3 September 18th, 2003 02:56 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.