Results 1 to 2 of 2
  1. #1
    Bx Snipe is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Location
    Arizona
    Posts
    1

    Merging fields in a table


    I have started a database to track my coin collection I have 2 questions.

    1. I started tables for various coins the tables have 6 fields in addition to the primary field description, year, mint, condition, value & notes I decided it would make more sense to include the mint with the year is there any way to combine these 2 fields or do I have to redo the information?

    2. I initially started with multible tables for certain denominations of coins ie: jefferson nickles, Buffalo nickles I have since decided it would be easier to have all the same denomination coins in the same table is it possible to merge tables?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    1. Use query and create a field by expression that concatenates the two fields. There is no need to actually save the concatenated value in table and is probably a bad idea to do so - this can be calculated whenever needed. Concatenation is easier than splitting.
    SELECT *, Mint & [Year] As MintYear FROM tablename.

    2. Could probably have all coins regardless of denomination in one table. Just have another field for the denomination attribute. Can use an action sql (probably an INSERT SELECT) to merge tables or maybe just a manual copy/paste of records will serve your needs.
    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. Replies: 5
    Last Post: 08-05-2011, 12:33 PM
  2. Replies: 5
    Last Post: 07-28-2011, 08:34 AM
  3. merging fields, link, text boxes
    By compooper in forum Programming
    Replies: 1
    Last Post: 06-23-2011, 03:30 PM
  4. merging two fields
    By brandon in forum Access
    Replies: 5
    Last Post: 06-09-2010, 08:17 AM
  5. Replies: 8
    Last Post: 11-04-2009, 04:22 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