Results 1 to 2 of 2

Thread: Inheritance : what happens with relations??

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2003
    Location
    Europe, Belgium
    Posts
    84

    Inheritance : what happens with relations??

    Hi,

    I've created a base form (form1) which contains three listboxes and a dataset with three tables (tblMainGroup, tblGroup, tblSubGroup). In the base form I've also created relations between the tables. Every listbox is filled with a table from the dataset based on what the user selects in the listboxes.

    In another form (frmIngaveBedrijf) I also needed the three listboxes, so I inherited the baseform in this form.

    When I compile the application (frmIngaveBedrijf is set as the startup form) I get the error message: "cannot create childlist for field tblMainGroup". I don't understand this because everthing works in the baseform.

    Am I doing something wrong (eg should the base form be loaded first instead of frmIngaveBedrijf) or is there something wrong with the relations.

    I added the code.


    I would appreciate your help.

    Thanks

    Tom
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width