Results 1 to 4 of 4
  1. #1
    Joe8915 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    10

    Arrow 2 Forms and 1 subform

    How would I go about the following:

    FormA ........ In FormA......... I have a field called txt2

    FormB
    .......with a subform1 . In subform1, I have a field called txt1

    How would I populate:
    FROM FormA txt2

    TO Form B

    TO subform1

    TO txt1

    Bottom line:
    2 Forms
    1 subform
    2 txt fields



    Thanks for taking the time to read and review

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Why would you need to copy data from FormA to record in FormB? Are these the pk/fk linking fields? 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
    jwd is offline Novice
    Windows 7 32bit Access 2010 64bit
    Join Date
    Nov 2012
    Posts
    4
    Thanks for the quick reply. Here is my thinking. I have all the employee details such as date hired, address and the amount rate to pay per piece and bla bla. That information would be stored on FormA.
    For FormB I have all the work types and on the suform1 txt1 is where I would store the amount paid per type of piece work.

    As of now I have the linking of the subform1 to Form B, so that works ok. I just need to be able to update the amount paid from FormA, if I choose to upgrade the piece rate (amount paid).

    I hope that make sense.


    So here is the bottom line. On FormA I have all the personal information of employee. On FormB I have types of work and the subform1 would store the amount paid per types of piece, and that is where the txt fields comes in.


    Once again thanks for taking the time to view and make suggestions.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Employee gets same rate regardless of type?

    Perhaps code in the AfterUpdate event of Types combobox, set value in Rate.

    Me!Rate = Forms!mainformname!Rate
    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.

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

Similar Threads

  1. 2 forms and one subform update
    By jwd in forum Forms
    Replies: 6
    Last Post: 11-20-2012, 07:08 PM
  2. Replies: 3
    Last Post: 09-06-2012, 11:01 AM
  3. Replies: 3
    Last Post: 04-17-2012, 10:28 AM
  4. Replies: 1
    Last Post: 01-04-2011, 05:04 AM
  5. Replies: 4
    Last Post: 04-01-2009, 08:49 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