Copy/Paste rows from excell into access form..?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrDeej
    New Member
    • Apr 2007
    • 157

    Copy/Paste rows from excell into access form..?

    Is there any way to do this?

    I want to copy these:



    and paste them here


    -

    I have tried ctrl+c and ctrl+v but what happends then is that access puts the 2 numbers like this
    914161
    914210
    in the textbox and access gives me an error-code of invalid number something.
    I want it to first put 914161 and then access should make a new post for 914210



    Any tips on this case?

    - MD
  • Stewart Ross
    Recognized Expert Moderator Specialist
    • Feb 2008
    • 2545

    #2
    Hi. If the ID number is the first field in the underlying query on which your form is based you should be able to use Paste Append instead of Paste. However, if you are pasting a single field value be careful of any constraints on the other fields not being null, or requiring related records in other tables, as the new appended records cannot be stored if such constraints are broken.

    -Stewart

    Comment

    • MrDeej
      New Member
      • Apr 2007
      • 157

      #3
      Originally posted by Stewart Ross Inverness
      Hi. If the ID number is the first field in the underlying query on which your form is based you should be able to use Paste Append instead of Paste. However, if you are pasting a single field value be careful of any constraints on the other fields not being null, or requiring related records in other tables, as the new appended records cannot be stored if such constraints are broken.

      -Stewart
      Thank you Stewart!

      But what is "Paste append" ?
      My norwegian does not cover this frase. I kan only find paste vent i rightclick in excel after copying 2 rows from Excel

      Comment

      • blad3runn69
        New Member
        • Jul 2007
        • 59

        #4
        pasting into a serious database table requires formatting in thai massage... ;)
        Stewart alluded to it with Paste Append instead of Paste...

        Comment

        • Stewart Ross
          Recognized Expert Moderator Specialist
          • Feb 2008
          • 2545

          #5
          Hi. As BladeRunner mentions, Paste Append is an Access menu command available from the Edit menu. I will attach a screenshot for you. I don't think there is a keyboard shortcut for Paste Append.

          -Stewart

          Originally posted by MrDeej
          Thank you Stewart!

          But what is "Paste append" ?
          My norwegian does not cover this frase. I kan only find paste vent i rightclick in excel after copying 2 rows from Excel
          Attached Files

          Comment

          • MrDeej
            New Member
            • Apr 2007
            • 157

            #6
            Thank you man!
            I love you

            Comment

            Working...