Results 1 to 7 of 7
  1. #1
    AVHer is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2011
    Posts
    3

    Appending records to other records

    I am working on a database for my card collection and I was wondering if anyone knows how I can append one child record to a parent record. For example; if I get a buy a card one day and I already have that card entered into my database, I want to be able to just put in the cards information (the one I just bought) and then for quantity put 1. I want that record to be added to my other record with that same card info.

    Before:
    "This is a card" Quantity: 5

    After
    "This is a card" Quantity: 6



    Thanks in advance!

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    You might want to look at this model, if you are dealing with sports cards collecting.
    http://www.databaseanswers.org/data_...ting/index.htm

  3. #3
    AVHer is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2011
    Posts
    3
    I already have a database built, I just want to know how to append records to other records.

  4. #4
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    Why are you creating a new record. Why not open the original record and change the quantity? Create a look up/search/filter to determine if a record for that card already exists first. What is the unique identifier that is common for both cards?

    Alan

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Quote Originally Posted by AVHer View Post
    I already have a database built, I just want to know how to append records to other records.
    What exactly does this mean?
    You append records to a table. You could update a field as Alan has suggested.

    The purpose of the data model was simply to give you something to "compare/test/confirm" your database/table structures. It wasn't meant to replace anything you have built.

  6. #6
    AVHer is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2011
    Posts
    3
    The problem is, I am entering hundreds upon hundreds of cards and I'm entering duplicates that I do not know I have duplicates of. It takes forever to type in the name of the card to find the already existing record, so I'd rather just type the entire card in and have it append to the already existing record. If there is a way to do that, please let me know!

  7. #7
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    Instead of typing in the full name of the card and having duplicates, why not set up a custom filter. See below link and this will save you lots of time and energy.

    http://www.datapigtechnologies.com/f...tomfilter.html

    Alan

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

Similar Threads

  1. Date function to query records and Sum records
    By sullynivek in forum Queries
    Replies: 0
    Last Post: 04-05-2011, 08:37 AM
  2. Replies: 10
    Last Post: 01-10-2011, 07:52 PM
  3. Replies: 7
    Last Post: 10-20-2010, 04:08 PM
  4. Key violation when appending records
    By slaterino in forum Programming
    Replies: 10
    Last Post: 08-26-2010, 08:25 AM
  5. Appending Records to tables with relationships
    By RubberStamp in forum Import/Export Data
    Replies: 0
    Last Post: 12-14-2008, 06:52 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