Results 1 to 5 of 5
  1. #1
    WestofYouLB is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2011
    Location
    Long Beach, CA
    Posts
    6

    Access 2003: Can't update from query

    I have changed (as many told me I should) from a list of employees and another list of applicants, to a list of People including both sorts of folks.



    I made a query with the list of Applicants joined one-to-many to a list of References by Badge. I could append data on each applicant, uniquely, and have several references. No problem.

    But since I have changed to a single list of People, I can no longer append additional References[Names], for instance, under the same Badge number (the common field that links most of my stuff).

    BUT I note that the query People>>References actually HAS several instances of many previously entered records where the Badge and some info on the People record shows in the query, along with whatever unique References records as exist.

    Badge is unique in People but not in References, which it probably should be. But Access won't allow me to append new records (by filling in People[badge number] in the query). Used to be, when I filled in Applicant[badge number] it would automatically fill in some Applicant information, then I could happily fill in the References info, but no more. When I get to the References fields, I can't enter any information. A loud sort of Doink sound, instead.

    Thanks.

    Don.

  2. #2
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    I have changed (as many told me I should) from a list of employees and another list of applicants, to a list of People including both sorts of folks.

    I think the suggestion was intended for you to create a People table....then a separate Badge table...then a People_Badge table...since there's a one-to-many relationship between badge and people.

    You're having trouble updating from the query you created because of the multiple tables involved, I believe. I don't think you're current setup is going to work quite the way you want.

  3. #3
    WestofYouLB is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2011
    Location
    Long Beach, CA
    Posts
    6
    Quote Originally Posted by kennejd View Post
    I have changed (as many told me I should) from a list of employees and another list of applicants, to a list of People including both sorts of folks.

    I think the suggestion was intended for you to create a People table....then a separate Badge table...then a People_Badge table...since there's a one-to-many relationship between badge and people.

    You're having trouble updating from the query you created because of the multiple tables involved, I believe. I don't think you're current setup is going to work quite the way you want.
    kennejd,

    Thanks for replying. Maybe we're getting somewhere.

    There is no Badge for References, as a unique identifier. The references' Badge is the link back to the People table to link a person in the People table they refer to.

    But someone here said that what I need is a form (that's what I had earlier, and can't find a way to recover it) where I fill in the Badge and it calls up (without actually adding data to the People table) data like Badge, First/Last names, etc., but the data doesn't get written back to the People table. The only write would be to the References. Which is what I used to be able to do and no longer can.

    This notion of typing in the Badge and getting info from the People table has mystified me since I first did it, and I always feared this would happen: the form goes away and I can't remember how to do that trick again.

    I have better notes as I go along, but this one I don't have.

    Don.

  4. #4
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    Can you post some sql or a pic of your relationships? I'm having a hard time following.

    Seems like maybe you'd have a form based on Badge number....with a subform that lists related people. Then you could have a combo box that you use to do a search...just use the wizard.

  5. #5
    WestofYouLB is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2011
    Location
    Long Beach, CA
    Posts
    6
    Not sure how to do that, but Monday maybe I can sort out a way. Thanks for replying.

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

Similar Threads

  1. Conditional query in access 2003
    By mosquito_admin in forum Queries
    Replies: 3
    Last Post: 11-21-2010, 01:22 PM
  2. Update table MS Access 2003
    By riagil in forum Queries
    Replies: 2
    Last Post: 08-31-2010, 12:12 AM
  3. Access 2003 Query Help?
    By Stirling Steve in forum Queries
    Replies: 1
    Last Post: 08-26-2009, 03:25 AM
  4. Replies: 0
    Last Post: 11-10-2008, 12:35 PM
  5. Replies: 1
    Last Post: 09-06-2006, 11:48 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