Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917

    Try this one.
    Attached Files Attached Files

  2. #17
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    And to answer your next question, look at Query1 in this attachment.
    Attached Files Attached Files

  3. #18
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    The subform has the "Data entry" set to true. This setting will not allow you to see previously entered records. The "Data Entry property should be set to NO.

    The OP shows two tables in the example database. Are the table structures the same for the real tables?

    If there are common fields - like "FieldName" in the example tables - then you should be able to use an update query to update the "IDToUpdate" field.
    The query I used is:
    Code:
    UPDATE tblToUpdate, tblSource SET tblToUpdate.IDToUpdate = [tblsource].[id]
    WHERE (((tblSource.fieldname)=[tblToUpdate].[FieldName]));

    Then you should look at normalizing your table structure.

    "ID" is not a good name for a field, especially if used in multiple tables. Plus it is not very descriptive.
    The autonumber should not be visible on forms, nor should the foreign key field. (I do make them visible during development to ensure the correct linking)

    See: Autonumbers--What they are NOT and What They Are
    http://www.utteraccess.com/wiki/index.php/Autonumbers

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Auto Organization?
    By ProjectCamaro in forum Database Design
    Replies: 9
    Last Post: 01-18-2012, 07:00 PM
  2. Replies: 3
    Last Post: 11-04-2011, 01:50 PM
  3. Auto Run Report then Auto Email
    By jo15765 in forum Reports
    Replies: 1
    Last Post: 10-05-2011, 10:57 AM
  4. auto replace??
    By d3pl0y3d in forum Access
    Replies: 2
    Last Post: 02-11-2011, 02:09 PM
  5. Auto-number
    By rkski in forum Programming
    Replies: 2
    Last Post: 01-13-2010, 02:04 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