Results 1 to 2 of 2
  1. #1
    todobfl is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    4

    Having 2 form results combined into one new field automatically

    First off, I thank you for reading. I'm in way over my head (always say yes to the boss right?) and think if I can get this one item I can at least pass.....

    Building a DB in Access 2010, that has multiple tables that are all for data collection on employees. The primary key for the "main" table was impossible. Could not use last name or last,first as several family members usually work at one of our affiliates, and it is possible that all the data we will ever have on people are their names and some test scores.

    So I came up with using a combination of Last Name, followed by basically an autonumber. I had 3000 name I had to import so this worked well for the import but now we will be using forms from here on out. I notice on the form, as soon as any entry is made, the autonumber field populates correctly with the next number. So the question is (keeping in mind this is my first shot at Access) does a possibility exist of the "EmpID" field auto populating while the form is still active or as it is saved? The first field to fill out on the form is Last name, and as soon as that is complete we have everything needed for the ID (Smith3011 for example) just could not find a solution searching through here.

    To summarize: I would like to take two fields and combine into one

    Last name:
    IDNumber:

    And somehow on the form turn automatically into

    EmpID:[LastName][IDNumber] without any spaces or punctuation.



    Thank you VERY much for any help.!!

  2. #2
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    See if this will help:


    "AutonumberProblem.mdb (beginner)"

    http://www.rogersaccesslibrary.com/forum/topic395.html

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

Similar Threads

  1. Replies: 6
    Last Post: 05-14-2012, 07:24 AM
  2. Replies: 4
    Last Post: 04-18-2011, 07:18 AM
  3. Combined "person" field on form
    By Remster in forum Forms
    Replies: 14
    Last Post: 09-15-2010, 10:44 AM
  4. Replies: 4
    Last Post: 01-19-2010, 05:36 AM
  5. Format options in combined Form field
    By perry in forum Forms
    Replies: 0
    Last Post: 03-06-2009, 04: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