Results 1 to 2 of 2
  1. #1
    MrBeardo is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Mar 2012
    Posts
    2

    Automatic field generation of combined data when new record made

    I am wondering if it is possible to automatically generate a field entry containing two fields next to each other



    IE: Table2.Field1= Table1.Field1 & Table1.Field2 & Table1.Field3
    or Table2.Field1 = Table2.Field1 & Field2 etc


    The idea is that I want to generate a username combining the user's first & second name with their ID number ("JoeBloggs1" or "Jim.Wright_54" etc)

    The ID number should be relational to another table with the same ID and match the ID of the other table.

    Also I have found that the ID field which is supposed to reflect the ID number (auto-increment) of the original source table

    IE: the Table2.ID field should match Table1.ID field (auto-incremented) and have the same first name and last name.

    I hope this is enough to help with!

    Thanks!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,598
    This would require code to save the value to table and might not even be necessary as the value can be generated at anytime by calculation.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Linking data fr report generation
    By DPCarusone in forum Reports
    Replies: 1
    Last Post: 02-08-2012, 09:30 AM
  2. Automatic Next number generation
    By MicroMan in forum Programming
    Replies: 17
    Last Post: 10-21-2011, 05:57 PM
  3. Automatic Field DAta Entry
    By Lupson2011 in forum Access
    Replies: 4
    Last Post: 09-01-2011, 09:15 AM
  4. Automatic Report Generation - Access VBA
    By initiator in forum Programming
    Replies: 2
    Last Post: 04-19-2010, 05:10 AM
  5. Format options in combined Form field
    By perry in forum Forms
    Replies: 0
    Last Post: 03-06-2009, 04:53 AM

Tags for this Thread

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