Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 844913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:21:44+00:00 2026-05-15T06:21:44+00:00

i am exploring the option of whether DoCmd.TransferText will do what i need, and

  • 0

i am exploring the option of whether DoCmd.TransferText will do what i need, and it seems like it wont. i need to insert data if it does not exist and update it if it does exist

i am planning to read a text file line by line like this:

Dim intFile As Integer
Dim strLine As String

intFile = FreeFile()
Open myFile For Input As #intFile
Line Input #intFile, strLine
Close #intFile

i guess each individual line will be a record. it will probably be comma separated and some fields will have a " text qualifier because within the field itself i will have commas

my question is how would i read a comma delimited text file that has double quotes sometimes as text qualifiers into a table in access?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:21:44+00:00Added an answer on May 15, 2026 at 6:21 am

    I’ve been following your related questions, but am unsure where you’re running into trouble. It seems like you’re trying to accomplish two things with this text file import:

    1. import the text file
    2. append or update records in a table based on the imported data

    Perhaps it would be more productive to tackle those steps as 2 separate operations, rather than attempting to combine them in one operation.

    I thought you had step #1 working. If so, import the text into a separate table, tblImport, then use that table to drive the changes to your master table. If you’re worried about database bloat due to repeatedly importing then deleting records in tblImport, you could make tblImport a link to an external database … so as to isolate the bloat to that one.

    If you want more detailed help for step #2, I think you will have to tell us how to identify which imported records don’t exist in the master table, and how to match up imported and master records for the updates. Perhaps you could delete existing master records which have counterparts in tblImport, then append all of tblImport to your master table.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm exploring the possibility of writing an application in Erlang, but it would need
I am exploring the option of querying a web-page, which has a CGI script
i am trying to insert data as a test for this JQuery plugin Jquery-in-place-editor
I have the need to use Spring .Net in a project and am exploring
I'm currently exploring the different options for building a not-too-complex web application, in which
I am currently exploring the option of porting some older VB6 application to WPF
I am exploring flot, the jquery graphing library. I'd like to be able to
Messing about with interface builder for the first time, exploring my options. Text seems
I am attempting to load multiple images in AS3 and I'm exploring different options
I have an Apex report. I turned the option of exporting it as a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.