Results 1 to 5 of 5

Thread: Fatal error linking tables

  1. #1
    Junior Member
    Join Date
    May 2012
    Location
    Los Angeles
    Posts
    22

    Fatal error linking tables

    I created a couple of tables from scratch.

    One named Company with a unique ID of CompanyID Int 10 that is set to be autoinc and mandatory.

    The other one is contacts and it has in it a field called CompanyID Int 10 that is of the type int, but not set to autoinc or mandatory. They both have about a dozen more fields mostly of character types of varying lengths.

    I then create a new page, add two sections one of type form and one of type grid.

    I drag the table companies to the top (form) section and about 1/2 dozen of the fields from contacts to the bottom (Grid) section.

    I then click on the plus sign to the left of the top section and then on the header of the bottom section.

    Every time I get a fatal error.

    Name:  7-6-2012 12-51-39 AM.jpg
Views: 102
Size:  63.1 KB

    If it helps attached is a zip file with the database I was working with.


    Cheers
    Jay
    Attached Files Attached Files

  2. #2
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,187
    I had a similar bug; ticketed it, and it's fixed. Maybe yours too?

    In the meantime, if you specify the Parent Key in the first section attributes, and Child key in the 2nd section attributes, that will probably prevent the error (it did for me).

    Hank

  3. #3
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    Ok we will take a look. It may already be fixed in beta9R4.

  4. #4
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    Ok I just tested this in beta9R4 and it is indeed already fixed.

  5. #5
    Junior Member
    Join Date
    May 2012
    Location
    Los Angeles
    Posts
    22
    Hank,

    Unfortunately no, I tried that.

    In the section attributes for the top (form) section I set the Parent key to "CompanyID" and in the section attributes for the bottom (grid) section I set the Child key to "CompanyID" that being the linking key between the company and contact tables. I also tried it the other way around setting the child key in the form section and the parent in the grid section, and lastly because this is what is in the Lianja Demo, I left both fields blank in the attributes to section one and filled in both the parent and the child field in section 2.

    Hopefully they will have the next build out soon and I won't have to worry.


    Cheers
    Jay

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us