Results 1 to 2 of 2
  1. #1
    thclegg is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2012
    Location
    Rochester, NY
    Posts
    1

    Merging two identicle Databases

    Hi,

    I'm helping some friends who own a book shoppe. They have closed up both their retail stores and are working on line only. A long time ago they bought a PC based program to keep their inventory and manage their on line sales. The program is called BookTrakker and still on sale today.

    I called them to ask for assistance merging the access databases for but stores with their Master database. The owner sads they dont offer any assistance in combining databases.

    So I said i'd tackle it myself.

    I have had no trouble using the append command to combine the 40 odd tables in the database except for one small table called Keywords. This table only has 5 fields but the sallest has over 7,000 rows. This is one of the more important tables because Keywords are used by the search engins on-line to help potential buyers find their interests.



    The error message I get from Access is "Microsoft Outlook Access set 0 field(s) to nulll due to a type conversation failure, and it didn't add (number of rows in table) to the table due to key violations, 0 records due to lock violations, and 0 records due to validatoin rule violations"

    The table structure is identical. The only difference is the data in the rows.

    I tried removing both Primary Keys for both the tables (in and out). Nothing, same error message.
    Next I tried appending the tables without the entire Keyword_id (Primary Key) field. Nothing same error message.

    I'm out of ideas, so could someone help?

    Thanks,
    Tom

  2. #2
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    You need to look at more than the PK of the tables. If you look at the indexes on the tables, you will see that there is one or more that have Unique set to Yes, and it is one of those that is causing the error. Primary keys are unique by definition, but other fields can have unique indexes as well.


    You can resolve the difficulty by removing the Unique requirement, but before doing that, analyze the data to determine what data is in that table field, and why it is supposed to be unique.

    John

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

Similar Threads

  1. Replies: 1
    Last Post: 04-28-2011, 07:58 AM
  2. merging two fields
    By brandon in forum Access
    Replies: 5
    Last Post: 06-09-2010, 08:17 AM
  3. merging PDF files
    By cuzza69 in forum Programming
    Replies: 1
    Last Post: 01-29-2010, 07:13 AM
  4. Merging 2 tables
    By todavy in forum Queries
    Replies: 4
    Last Post: 12-02-2009, 10:12 AM
  5. Merging
    By bailey537 in forum Queries
    Replies: 0
    Last Post: 07-14-2009, 04:14 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