Results 1 to 5 of 5
  1. #1
    byterbit is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Location
    Noou Yauk
    Posts
    32

    Question subform fails with linked tables

    Have a standard working form/subform that fails when I split the tables


    I tried recreating the subform with the tables already split off into a "backend" mdb; the subform still fails to populate.

    Master /child relationship is simple, just based on one foreign field (id in master table, exam_id in child)

    This is the sort of simple subform stuff I've been doing for years; but I never tried it with linked tables. Can it be done ?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Abrolutely! Are your relationships still intact after the split?

  3. #3
    byterbit is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Location
    Noou Yauk
    Posts
    32

    Question Relationships unchanged.

    Relationships unchanged. Nothing very formal here; just created the subform with the wizard , and it worked fine.
    I tried to formalize matters to fix it ( used the relationship window ; made no difference) and then based the subform on a query that linked the two tables; that had an interesting effect in that no editing could take place in the subform. I could change data in the table, and it would show, properly, on the form, but no adding/editing on the form. Properties showed nothing locked.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It sounds like you had created a non-updateable query. http://allenbrowne.com/ser-61.html

  5. #5
    byterbit is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Location
    Noou Yauk
    Posts
    32

    further

    Yes, the query did not allow updates as one side, though indexed, was not set to unique; setting it so seems to have been all that's necessary. Thanks for that !
    Next step will be rebuilding app to use the query.

    On the broader issue, I'm still confused though . Once I brought back the tables into one MDB everything was happy (without adding the above query as the basis for the subform); it seems the linking logic for the form/subform works fine if the tables are in the main mdb and bombs when they are split.

    I dont think running the formal Access "spliter" would make any difference, but I'm too tired at the moment to test it.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Help with Linked Tables
    By softspoken in forum Forms
    Replies: 22
    Last Post: 03-25-2010, 09:35 AM
  2. Replies: 3
    Last Post: 02-05-2010, 10:10 AM
  3. Linked tables and copy
    By TimG in forum Access
    Replies: 2
    Last Post: 10-08-2009, 07:54 AM
  4. help with linked tables
    By davidoakley in forum Access
    Replies: 9
    Last Post: 06-17-2009, 05:23 PM
  5. Open a linked subform with a command button
    By flablueeyedblond in forum Forms
    Replies: 0
    Last Post: 11-18-2005, 01:18 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums