Results 1 to 3 of 3
  1. #1
    wardw is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    May 2013
    Location
    Hines, Oregon
    Posts
    41

    Subform is blank in Form view

    In the database described in my previous messages, in Form view of the main form, my subform is completely blank. In Form view of the subform itself, only the Form Header displays; the Detail area is blank. How can I change the settings so the subform displays?

    Here's the Record Source of the subform:



    SELECT Publications.PublicationName, PublicationColumns.PublicationColumnName
    FROM AllDeathRecords INNER JOIN (Publications INNER JOIN (PublicationColumns INNER JOIN MultipleObituaries ON PublicationColumns.PublicationColumnID = MultipleObituaries.PublicationColumnID) ON Publications.PublicationID = MultipleObituaries.PublicationID) ON (Publications.PublicationID = AllDeathRecords.PublicationID) AND (PublicationColumns.PublicationColumnID = AllDeathRecords.PublicationColumnID) AND (AllDeathRecords.PersonID = MultipleObituaries.PersonID);

    Here's a screen shot of the Record Source table relationships:

    Click image for larger version. 

Name:	Snap 2013-05-26 at 12.24.09.png 
Views:	16 
Size:	71.3 KB 
ID:	12501
    Last edited by wardw; 05-26-2013 at 02:49 PM. Reason: Add a title

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    This occurs when there are no Records in a Form's RecordSource and Records cannot be entered, i.e. the Form is Read-Only.

    Allen Browne has an excellent article that explains why Multi-Table Queries are frequently Read-Only:

    Why is my query read-only?

    Linq ;0)>

  3. #3
    wardw is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    May 2013
    Location
    Hines, Oregon
    Posts
    41
    Thanks for the link, Missinglinq. The form's RecordSource may not have records, because when the form opens the user hasn't entered any data yet. Not sure how to get around that problem.

    I checked the Read-Only criteria Allen Browne listed, and the subform seems okay for all except one criterion: "It uses JOINs of different directions on multiple tables in the FROM clause. Remove some tables."

    I'm not sure whether the query's FROM clause uses JOINs of different directions; they're all illustrated in the image I inserted in my previous posting. In any case, I don't know which tables I should remove from the query; they all seem necessary.

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

Similar Threads

  1. Replies: 1
    Last Post: 04-24-2013, 12:12 PM
  2. Replies: 4
    Last Post: 10-08-2012, 05:33 PM
  3. Replies: 6
    Last Post: 05-05-2012, 08:43 AM
  4. Replies: 4
    Last Post: 03-30-2012, 01:47 AM
  5. Replies: 1
    Last Post: 11-29-2011, 01:37 AM

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