Results 1 to 3 of 3
  1. #1
    Michael.Reynolds1775 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    22

    importing only one column

    I am attempting to import one column from an excel sheet into a table and am not achieving the desired results.

    My table is created with a primary key of the employee ID and a bank column with a field name of "MEAL CARD" along with several other elements.



    Click image for larger version. 

Name:	Main Personnel Table (design).jpg 
Views:	14 
Size:	260.9 KB 
ID:	20058

    Simply stated, I'd like to import the following information from excel into this table:

    Click image for larger version. 

Name:	Meal Card.jpg 
Views:	14 
Size:	112.2 KB 
ID:	20059

    The steps I am taking to perform the import are as follows:

    -click external data, import excel.
    -in the get external data wizard, I select the file name that includes the employee ID number and meal card number, and select append a copy of the records to the table: Main Personnel.
    -I select sheet 1, click next
    -headers are created, click next.
    -Finish

    I receive the following pop-up:

    Click image for larger version. 

Name:	error.jpg 
Views:	14 
Size:	58.1 KB 
ID:	20060

    The information never updates the table, as the meal card column is still all blank....

    Any thoughts or help would be greatly appreciated!
    -Mike
    Attached Thumbnails Attached Thumbnails Main Personnel Table (design).jpg  

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    EDIPI as the key field - cannot have duplicates - and so your append query is probably seeing duplicates. that's my first guess.

    Possibly Meal Card field is set to be Required = Yes - and so those null fields are the problem. second guess

    but in the end you are attempting to append in data that violates the table's rules for some reason...

  3. #3
    Patrick9 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2015
    Posts
    1
    This is extremely decent and tolerable post...You shook posting it...Thanks a ton for posting it...!!!




    _________________
    J0hn

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

Similar Threads

  1. Replies: 3
    Last Post: 03-02-2015, 09:50 AM
  2. Replies: 20
    Last Post: 02-02-2015, 03:02 AM
  3. Replies: 8
    Last Post: 07-29-2014, 12:35 PM
  4. Replies: 1
    Last Post: 12-08-2011, 08:03 AM
  5. Replies: 1
    Last Post: 04-15-2010, 02:07 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