+ Reply to Thread
Results 1 to 4 of 4

Transform a CSV file to correspond to MS Access table

  1. #1
    Registered User
    Join Date
    08-30-2013
    Location
    Dallas TX
    MS-Off Ver
    Excel 2010
    Posts
    13

    Transform a CSV file to correspond to MS Access table

    I have created a form in JotForms in which my clients can input details about the medications they are currently taking (name, dosage, side effects, etc). So any given client could be taking 1 or 20 medications. This would correspond to a table in my Access DB, tblMedications where each medication is a new record, with a CllientID field to associate it with the right client.

    So with JotForms I find I can export to excel. When I do that I get only two rows: a column heading and the second being the data. Rather than creating a row for each medication, it appears that every medication has a number in its header text like this:

    Please List All Medications You Are Currently Taking >> 1 >> Medication Name


    Below this column header we would have , "Prozac" or "Methocarbomol", the name of the medication. These types of column headers continue with same format: "Text instruction to user on the JotForm" >> Number corresponding to what should be a row >> What should be the Column Header that would correspond to field name in Access table.

    So what I need is the number to correspond to a row, and the text that follows a column name. So here this is the first medication, and if I had a "2" it would be the second medication. And it belongs in a column titled "Medication Name". Can anyone help?
    Last edited by Stan Denman; 07-23-2022 at 10:47 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Transform a CSV file to correspond to MS Access table

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future

    crossposted: https://www.accessforums.net/showthread.php?t=86339
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-16-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 2007
    Posts
    20

    Re: Transform a CSV file to correspond to MS Access table

    Now also crossposted at access-programmers .co. uk/forums/ threads/ transform-csv-file-to-match-access-table-for-import.324127

  4. #4
    Registered User
    Join Date
    05-16-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 2007
    Posts
    20

    Re: Transform a CSV file to correspond to MS Access table

    And crossposted further at techcommunity.microsoft.com /t5/access/rather-complex-append-query/m-p/3580995

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to transfer access table to .csv file
    By sonyat810 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2022, 11:47 AM
  2. Chosen value from a table to correspond to a specific entry
    By Schalk in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 12-01-2020, 11:24 AM
  3. Need to import excel file to ms access table
    By VasanthiDeenadayalan in forum Access Tables & Databases
    Replies: 2
    Last Post: 10-08-2020, 09:15 PM
  4. Replies: 3
    Last Post: 04-08-2020, 06:34 PM
  5. [SOLVED] Converting a CSV file to an Access Table using a Batch File
    By Speshul in forum Access Tables & Databases
    Replies: 2
    Last Post: 11-04-2014, 04:22 PM
  6. Use an Excel Macro in Access VBA - Import text file in Access Table
    By joogibabu in forum Access Tables & Databases
    Replies: 3
    Last Post: 10-08-2014, 10:04 AM
  7. Replies: 2
    Last Post: 06-19-2012, 10:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1