Import CSV Files into Access - pt1

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 30

  • @cedber2012
    @cedber2012 5 років тому +3

    I've searched for quite some time to find all the information you have put together so neatly in this clip. Thank you so much and I'm looking forward to watching more from you.

  • @exceltools6819
    @exceltools6819 5 років тому +1

    Your class saved me from a big problem. A strong direct embrace of Brazil.

  • @davegoodo3603
    @davegoodo3603 7 років тому +2

    Hi Phil, brilliant start to the video series! It came across really well, congratulations on that. Easy to follow, I look forward to seeing the next video. Thanks for doing it!

  • @philipchek
    @philipchek Рік тому

    Thanks, I've found what I needed :) - I've never noticed how we can save and then use the importation options via VBA - this will save me hours and hours. If there will be special cases to manage, this is a very useful help to start. Very good video.

  • @jaironaranjo3654
    @jaironaranjo3654 3 місяці тому +1

    Thank you so much for such great presentation!

  • @ThomasForrester
    @ThomasForrester 4 роки тому +1

    This is a great video. I have already been down this path, but still found this to contain a couple of new gold nuggets. One thing you did not dive into, and I think it may be important to some, is WHERE the import specification is being stored. Hint, it is in the hidden system objects (Navigation Options | Display Options). I'm unclear about this, but it has seemed to me that, when moving from one development computer to another, these specifications did not follow me. I could be wrong about that, but in case there is an issue of this type, the import specs are stored in a hidden system table. Thanks for the great tutorials!

  • @sleeve4ever
    @sleeve4ever 4 роки тому +1

    You made my day, my import always failed....and you showed me why, this tricky decimal symbole, fooled me over and over again...thanks a lot

  • @clarencesail
    @clarencesail 6 років тому +2

    Really nice. Easy to follow and understand. Well structured. Great pace. Thanks!!!

  • @jeylful
    @jeylful 6 років тому +2

    Excellent video! Thanks for putting it together, Phil!

  • @scottshearer8433
    @scottshearer8433 3 роки тому +1

    Thank you for this video. The portion about the Import/Export specification solved a problem I've been having with a linked table. I've done a few Google searches and that seems to be a widely unknown ability.

  • @mapof17age
    @mapof17age 5 років тому +1

    from Japan, Your express is very simple and clear. thanks!

  • @carlosbenitez6827
    @carlosbenitez6827 3 роки тому +1

    thank you, I got it to work and now do an automated import for my reports!

  • @ElderX2
    @ElderX2 2 роки тому +1

    Thanks again Phillip very valuable information.

  • @JoeDelaney64
    @JoeDelaney64 5 років тому +1

    Thanks Phil, Very easy to follow and very helpful.

  • @briefcasefullofbacon7291
    @briefcasefullofbacon7291 Рік тому +1

    Thanks this helped me out immensely.

  • @pompo7771
    @pompo7771 3 роки тому +1

    Oh that's great tutorial, thank you very much for your effort.

  • @mrpappagone
    @mrpappagone 2 роки тому +1

    Thanks you save my day

  • @chileanwey
    @chileanwey 4 роки тому +1

    that was awesome!

  • @redhahamad6125
    @redhahamad6125 2 місяці тому +1

    Hi,
    Thanks a lot for the tutorial it's really helped me in my project, but I've got one issue in the source file there are two date/time fields first one formated as dd/mm/yy and the s3cound one formed as yyyy/mm/yy hh:nn:ss how can I apply this in my specification?

    • @codekabinettcomen
      @codekabinettcomen  2 місяці тому

      Unfortunately, this is not supported by import specs.
      As a workaround, do not import the text file directly but only link it with a spec treating the date columns as text.
      Then create an append query base on the linked CSV file in Access and convert each of the date columns using a custom VBA function.

  • @md.rashedkabirreza9370
    @md.rashedkabirreza9370 4 роки тому +1

    its very useful, thanks

  • @sreejithom3726
    @sreejithom3726 5 років тому +1

    Hi Phil, just wanted to know how we can import multiple csv files with varying numbers of columns, also I need only few mandatory columns to be inserted in to the access database which is fixed, can you please help me on this?

    • @codekabinettcomen
      @codekabinettcomen  5 років тому

      You would need to create different import specifications for each type of file then. In the spec you can define which columns you want to import and which to ignore.

    • @sreejithom3726
      @sreejithom3726 5 років тому

      Hi philip thanks for the replay,
      One more query how we can ignore some columns . By using skip blanks method in the access specification?

  • @gavinmackay2424
    @gavinmackay2424 7 років тому +1

    Why, when you ran the import spec via VBA the first time did it produce huge ID numbers?

    • @codekabinettcomen
      @codekabinettcomen  7 років тому

      You are very attentive. -- I accidentally imported the "CustomerNumber" field from the file into the ID field of the table once. That set the internal ID counter to the imported 7 digit number. This mistake is not included in the video.
      I later compacted the database. That reset the counter to the current max number from the table.

  • @DonManuel69
    @DonManuel69 5 років тому +1

    What if I have numbers with comma in my csv file import ?

    • @codekabinettcomen
      @codekabinettcomen  5 років тому

      You can only handle this if the values in the csv are enclosed in delimiters, e.g. quotes.
      Otherwise you need to use another separator instead of the comma, e.g. pipe or semicolon.