Results 1 to 4 of 4
  1. #1
    Adam858 is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    4

    Question Copy from one form to another

    I have a Jobs form that a technician uses to look up details of a job they are working on. This form already contains a JobID and CustomerID. I want a button that the technician will click to do the following:

    1 Create a new invoice using the Customer Orders form. (this I can manage lol).

    2. From the Jobs form I want to take the values from CustomerID and JobID and insert them into the new record on the Customer Orders form. (this is the bit I am stuck on atm).

    Thanks in advance!



    Adam
    Last edited by Adam858; 07-29-2010 at 07:05 AM.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    From the source form, the code would be:

    Forms!SecondFormName.TextboxName = Me.TextboxName

    Here's a good reference:

    Forms Refer to Form and Subform properties and controls
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Adam858 is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    4
    Excellent, thanks paul, that was a great help, its all working now!

    Cheers

    Adam

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help, and welcome to the site!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 07-27-2010, 02:27 PM
  2. Create Hash - Copy File to string
    By andrew_ww in forum Programming
    Replies: 0
    Last Post: 03-20-2010, 02:14 AM
  3. Replies: 3
    Last Post: 01-14-2010, 08:32 AM
  4. Create PDF for each record in table/form
    By ChrisCMU in forum Forms
    Replies: 15
    Last Post: 07-28-2009, 01:52 PM
  5. Replies: 0
    Last Post: 11-10-2008, 12:32 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