Results 1 to 4 of 4
  1. #1
    spidge32 is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2021
    Posts
    58

    1 form works and a similar form does not.


    I have 1 form Job Sheet which works well. I have another form which uses a different start table via a lookup but uses the same sub forms . The unbound field to select which part is being updated in the sub forms. The only change is the lookup for the master form and the Header form which is a copy of the original header form in the original job sheet.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Which is the 'another form'? What does 'not work' mean - error message, wrong result, nothing happens?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    spidge32 is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2021
    Posts
    58
    The first form frmJobSheet which works has 3 sub forms, frmJobSheetTrfHdr, frmJobSheetWdgDetail and frmTerminationData. The underlying data is linked by the unbound field in the frmJobSheet using the query qrylookupjobsheet which the source is tblpart. I needed to make another form which is similar except for the subform frmJobSheetTrfHdr, this form is frmJobSheetTrfHdr3. So I copied the frmJobsheet to frmJobsheet3 and changed the query as its source to qrylookupjobsheet3 which uses the table tblpart3.
    The unbound field is Jobsheetcombo. In the first frmjobsheet the selection of the part No is used to update the 3 sub forms, but in the frmJobsheet2 the underlying subforms are not updated.

    The form frmJobSheetTrfHdr3 is not in the relationships, can I add it and have 2 tables at the start of the relationships?

  4. #4
    spidge32 is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2021
    Posts
    58
    Ignore my last line... I don't know what I was thinking, getting confused with tables and forms.

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

Similar Threads

  1. Replies: 3
    Last Post: 03-10-2021, 09:35 AM
  2. Replies: 8
    Last Post: 07-03-2015, 05:03 PM
  3. Replies: 2
    Last Post: 12-07-2014, 10:03 PM
  4. similar code, one works, the other doesn't
    By johnseito in forum Access
    Replies: 15
    Last Post: 11-03-2013, 07:59 PM
  5. Replies: 6
    Last Post: 09-02-2012, 04:30 PM

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