Results 1 to 8 of 8
  1. #1
    raycatena is offline Novice
    Windows 8 Access 2007
    Join Date
    Jun 2015
    Location
    Keansburg NJ
    Posts
    1

    I need help with an error made entering data.

    I entered approx 900 records into a field that I thought was a table.



    Is there a way to salvage all of my input?

    Can I for example Export the data into Excel (2007) and then Import it into a new Table in a new data base?

    It is a Street index with two fields, The Street Name and the Grid on the map. (Ie Main Street & S-7)

    Thanks for any help on this

    Ray

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,967
    I don't understand how records could be entered into a field mistaken as a table.

    Without understanding more about the data and the error, hard to say what would be feasible approach to fix. However, will say yes, can export and reimport or might be able to run INSERT or UPDATE SQL actions and avoid Excel altogether.
    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.

  3. #3
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    If you want, I can take a look at what you got via Remote Assistance. No charge for a little advice.

  4. #4
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,451
    you could perhaps have an update query to split the data if there is a clear pattern e.g.

    UPDATE myTable SET StreetName= Left(streetname,len(streetname)-4), Grid= Right(streetname,3);

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by Ajax View Post
    you could perhaps have an update query to split the data if there is a clear pattern e.g.
    That's what I was kinda thinking but I am curious how all of this was accomplished and if the data is intact.

  6. #6
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,451
    it's happened to me in the past - typically importing a .csv file where the first row has a different number of columns from the main data- so Access assumes the whole file is a single column. the csv file often comes from the 'big boy' systems such as sap and the first row contains some sort of file identifier and the second row the headers e.g.

    F, SAP Report 123 dated 3/5/2015
    H, heading1, heading2, heading3,......
    D, 12,33,xyz,.....
    D, 12,45,abc,.....
    D, 13,43,fgh,.....
    E, End of Report

  7. #7
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by Ajax View Post
    ...where the first row has a different number of columns from the main data...
    Nice ... ...

  8. #8
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,451
    hmm, Excel can be just as bad - someone sends you a file and they use two rows for the headings - the first row perhaps using merged cells

    This Month, Last Month

    and the second row

    Budget, Actual, Variance, Budget, Actual, Variance

    So now you also have columns with duplicate names.

    and then of course next month, they decide to pretty the file and have the first column blank so they can see the border they have put round the data

    etc etc

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

Similar Threads

  1. Error entering new record on a subform
    By AccessNewb11 in forum Access
    Replies: 1
    Last Post: 07-24-2014, 11:49 AM
  2. Replies: 3
    Last Post: 12-11-2011, 02:18 PM
  3. Error on entering duplicate value
    By anwaar in forum Programming
    Replies: 3
    Last Post: 09-02-2011, 01:25 PM
  4. Replies: 2
    Last Post: 03-29-2011, 01:26 PM
  5. Replies: 0
    Last Post: 03-15-2010, 02:38 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