Results 1 to 2 of 2
  1. #1
    caniread is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2015
    Posts
    86

    From not updating table


    I have a form that works off of a query that has a few tables. Everything updates just fine except for one table of the query. It will loose the data I put in when I go back to the entry but if I then put in the data at this point it does transfer the data to the query and table. Any ideas why this would happen?

    The relationship is a one to one that joins a few tables together using a main table.
    Thank you for the help.

    UPDATE:
    I updated the query and it worked there so something must me wrong with my form, at least I am leaning that way now.
    Click image for larger version. 

Name:	rela.PNG 
Views:	19 
Size:	32.4 KB 
ID:	27947

  2. #2
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,388
    You are going to go crazy using queries and such with that naming convention for keys. To keep some sanity, name your keys this way:
    The primary key in each table should be named tblName_PK.
    If you want to include a key to another table (foreign key) use tblName_FK.

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

Similar Threads

  1. Replies: 2
    Last Post: 11-11-2016, 09:07 AM
  2. Replies: 1
    Last Post: 02-23-2016, 05:00 PM
  3. Replies: 3
    Last Post: 10-08-2015, 01:02 PM
  4. Replies: 12
    Last Post: 11-11-2014, 02:10 PM
  5. Replies: 6
    Last Post: 05-10-2012, 08:20 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