Results 1 to 2 of 2
  1. #1
    drew17 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2014
    Posts
    5

    Populate form with current record

    Hi, I'm new to access and I'm having trouble setting up my forms.

    I have tables for "owners" (this is basically just a weird name for customers) and for "jobs". The related fields between the two tables are called "OwnerID". I have specific numbers (not autonumbers) for both OwnerID and Job#. I have created forms for both of these tables.

    I want users to be able to enter in a new owner or find an existing one, using the owner form, and then to hit a command button to open the "job" form to be able to enter information for that specific customer. I have tried using the command button wizard to open a form to a specific set of data and I set the two related fields (OwnerID) as references for the button. However, when the button is clicked, the Job form opens up to a new record but does not populate the OwnerID field.

    How can I fix this?

    Thank you for your help

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    You should have that on your Main form and use a Combo box with a Lookup. 2 fields, 1 for the lookup, 1 for a New Record. is all you need.

    HTH

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

Similar Threads

  1. Form loads with no current record
    By ts_hunter in forum Forms
    Replies: 11
    Last Post: 01-15-2014, 10:33 AM
  2. Add Record from Current Form to a Table
    By Smtz in forum Access
    Replies: 1
    Last Post: 08-26-2013, 03:49 PM
  3. Replies: 63
    Last Post: 01-25-2013, 05:20 AM
  4. Replies: 3
    Last Post: 02-28-2010, 11:05 PM
  5. Open form to current record
    By rbpd5015 in forum Access
    Replies: 1
    Last Post: 08-28-2009, 01:53 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