Results 1 to 3 of 3
  1. #1
    Derrick T. Davidson is offline Competent Performer
    Windows 8 Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    142

    Copy field to open subform

    Hi,


    I have a form[frmTransactions] which is used for financial purposes. Within the[frmTransactions] I have several sub forms [sfrmTransport],[sfrmOfficeSupplies], etc.

    The sub formsare hidden until the specific category is entered in the [frmTransactions] afterwhich the corresponding sub form is displayed, and the details of the gross amountare broken down into constituent parts.

    Within thesub form as well as its own ID (Primary Key) there is a field to enter the ID(Primary Key) of the [frmTransactions].

    My questionis, is there a way to automatically enter the ID of the open [frmTransactions]into the appropriate field in the open sub form?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Have you set the subform container control Master/Child Links properties?
    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
    Derrick T. Davidson is offline Competent Performer
    Windows 8 Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    142
    Boy do I feel stupid, thanks works great !!!!!!

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

Similar Threads

  1. Copy an open dbfile
    By gg80 in forum Programming
    Replies: 4
    Last Post: 05-04-2013, 10:58 PM
  2. Copy Open db file
    By gg80 in forum Programming
    Replies: 4
    Last Post: 04-24-2013, 04:35 PM
  3. Replies: 1
    Last Post: 12-04-2011, 09:11 PM
  4. Replies: 2
    Last Post: 08-11-2011, 10:02 AM
  5. Replies: 7
    Last Post: 01-12-2011, 08:59 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