473,396 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Append from a recordset

I am opening a text file with an ODBC connection. I want to append all
the text data to a table. Going row by row and field by field takes too
long. Does anyone know how I can either reference the text recordset in
an append query or I'd be happy if I could do a maketable to a temp
table and base a SQL from that?

Thanks for your advice.

Nov 13 '05 #1
3 2259
Cr*******@ppmenergy.com wrote:
I am opening a text file with an ODBC connection. I want to append all
the text data to a table. Going row by row and field by field takes too
long. Does anyone know how I can either reference the text recordset in
an append query or I'd be happy if I could do a maketable to a temp
table and base a SQL from that?

Thanks for your advice.


Usually I do a File/GetExternalData/Link and then select Text (txt)
files and then select the file. I then get an import spec screen where
I can then define the layout of the text file. Once done, the text file
is nothing more than a linked table
Nov 13 '05 #2
Thanks but, Using linked text tables is not an option.

Nov 13 '05 #3
Cr*******@ppmenergy.com wrote:
Thanks but, Using linked text tables is not an option.


Instead of File/GetExternalData/Link do a File/GetExternalData/Import.
Or use a Docmd.TransferText. You can set up and import/export spec with
this command. Also check out Docmd.TransferDatabase.

If those aren't viable options you can always open the file...see Open,
Close, Write, LineInput, Get, Put, FreeFile, etc in help.
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: JMCN | last post by:
hi- i have inherited an access 97 database that keeps track of the loans. i have been running into referential intergrity problems when i try to append new loans to table. first of all is a...
5
by: Barn Yard | last post by:
good morning, im still kind of new to VBA but I have learned some interesting things so far. Right now I am normalizing my survey database so I'm having to run an append query for each...
2
by: Paul Wagstaff | last post by:
Hi there I have 2 tables: tblAccuracy & tblClearance Users add new records to tblAccuracy using frmRegister. Under specific conditions I need to append the current record from frmRegister into...
1
by: Stephen.Hunter | last post by:
Hello Everybody (anybody)? I am trying to appent a combobox to include data entered by a user which is Not In List. I have came accross this code from Allen Browne which seems to be what I am...
1
by: BrianDP | last post by:
I'm trying to duplicate the functionality of a routine that I'm updating into a new database. The old application assumes you have a filtered set of records behind a form. The form is open,...
6
by: deejayquai | last post by:
Hi I'm attempting to append multiple values into a new record, using multiple criteria from a listbox. I've got the basics for the code below but I get an "Error 3085 Undefined Function" for...
22
by: RayPower | last post by:
I'm having problem with using DAO recordset to append record into a table and subsequent code to update other tables in a transaction. The MDB is Access 2000 with the latest service pack of JET 4....
2
by: cb22 | last post by:
I have created a recordset built from scratch, based on data from an external, non-database source. I want to append this recordset to a table in an Access database without using a loop to traverse...
1
by: Jason Lepack | last post by:
I have a loop that loops through all records in all tables that have "TSE" as the first letters. In that loop, based upon conditions of the current record I have to add records to 1 of 5 different...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.