Results 1 to 2 of 2
  1. #1
    Eviscerator is offline Novice
    Windows XP Access 2003
    Join Date
    May 2010
    Posts
    3

    Append To A Form?

    Hello everyone, I hope you can help me with this!



    Basically in the database I'm working on, we have organizations and named individuals within those organizations. The organizations have 2 identifiers, their name and their reference number. I'm trying to create a form for adding new named individuals which will accept either of their organization's identifiers and automatically fill in the other.

    E.G:
    Dave Smith -named individual
    Unlimited Telecoms - Organization.*
    123 - Organization Ref*
    *When either of these is filled out, the other will automatically complete.

    Sadly, it's important we have both identifiers attached to each individual's record.

    I've had this problem before and solved it by using a long kludge of if commands in VBS, but this time I'd like to do it properly, so the system can be updated without needing to type in new code.

    Ideally, I need something like an append query. I currently have a query set to bring up the organization's name from their ref (query Criteria being [forms]![newnamedcontact]![RefNum]), which brings up the organization's name from their reference number no problem.
    The issue is then getting that name back into the Organization name section on the form. Append queries will only allow me to send the data directly to the table, which is fine except I'm not sure how to make sure the data is added to the correct record.


    So to summarise, I need a way to search a table using data from a form, and then place different data from that query’s result back into a different section of the form.

    Can anyone help?

    P.S
    Using access 2007 for this one.

  2. #2
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    ...2 identifiers, their name and their reference number...
    Does the organization have more than 1 reference #/name combination?

    Am I correct to assume that only 1 reference #/name combination can be applied to a person within that organization?

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

Similar Threads

  1. Append Queries
    By HunterEngineeringCoop in forum Queries
    Replies: 8
    Last Post: 12-12-2012, 01:10 PM
  2. Append Query (Maybe VBA?)
    By justinwright in forum Queries
    Replies: 14
    Last Post: 07-21-2010, 10:31 AM
  3. Append query won't append
    By yelkenli in forum Queries
    Replies: 5
    Last Post: 02-12-2010, 11:19 AM
  4. Append Query
    By aabh in forum Queries
    Replies: 6
    Last Post: 02-02-2010, 04:26 PM
  5. append, Key violation
    By klapheck in forum Queries
    Replies: 0
    Last Post: 09-17-2009, 11:50 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