472,809 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Automate Getting External Data from text file

I'm planning to develop a process to import data from an external flat
file to a new table automatically. As usual I'm having a hard time
getting started on the solution because of the Access's flexibility.

Please help me with your suggestion's about the best way accomplish
this or do you know of any examples that I could review or download.

Thanks in advance!

Norris
Nov 12 '05 #1
2 2974
N. Graves <ng*****@yahoo.com> wrote in message news:<n3********************************@4ax.com>. ..
I'm planning to develop a process to import data from an external flat
file to a new table automatically. As usual I'm having a hard time
getting started on the solution because of the Access's flexibility.

Please help me with your suggestion's about the best way accomplish
this or do you know of any examples that I could review or download.

Thanks in advance!

Norris


Norris,

You could run the import manually and save a specification, and then
use the specification name in your TransferText command. But without
further information about your file, it's hard to tell if that's the
correct answer.

If the data is delimited consistently, this is the easiest way to
accomplish what you want, but as of yet, we don't know that. Exactly
what kind of file is it? If it's something like Excel, then it's a
snap. If it's a text file with a standard structure (like a delimited
file), that's easy too... it's just when you have an inconsistent
format that things get ugly and you have to resort to parsing the text
and using recordsets to append it to one or more tables...

I guess look up TransferText and TransferSpreadsheet in the help and
have a go at whichever one sounds closer to what you want. After a
successful import, you could move the file or delete it, but I'm
getting ahead of myself. You have to import it successfully first.

HTH,
Pieter
Nov 12 '05 #2
Thanks for the feed back, that got me going in the right direction. I
was about ready to write all the code to make this happen and it looks
like with the transfertext and specification name I will achieve my
goals much easier than first thought.

Thank you again!

Norris

On 20 Jan 2004 15:02:09 -0800, pi********@hotmail.com (Pieter Linden)
wrote:
N. Graves <ng*****@yahoo.com> wrote in message news:<n3********************************@4ax.com>. ..
I'm planning to develop a process to import data from an external flat
file to a new table automatically. As usual I'm having a hard time
getting started on the solution because of the Access's flexibility.

Please help me with your suggestion's about the best way accomplish
this or do you know of any examples that I could review or download.

Thanks in advance!

Norris


Norris,

You could run the import manually and save a specification, and then
use the specification name in your TransferText command. But without
further information about your file, it's hard to tell if that's the
correct answer.

If the data is delimited consistently, this is the easiest way to
accomplish what you want, but as of yet, we don't know that. Exactly
what kind of file is it? If it's something like Excel, then it's a
snap. If it's a text file with a standard structure (like a delimited
file), that's easy too... it's just when you have an inconsistent
format that things get ugly and you have to resort to parsing the text
and using recordsets to append it to one or more tables...

I guess look up TransferText and TransferSpreadsheet in the help and
have a go at whichever one sounds closer to what you want. After a
successful import, you could move the file or delete it, but I'm
getting ahead of myself. You have to import it successfully first.

HTH,
Pieter


Nov 12 '05 #3

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

Similar topics

2
by: Mike | last post by:
Hello, I'm looking to create a PHP script that will automatically generate an index/menu/list (whatever) based on the PDF files that are within a particular directory. I would like the script...
3
by: allard poldermans | last post by:
How can I make a reference to an external CSS or JS file that is relative to the XSL stylesheet, and not relative to the XML data? If you simply put : <link rel="stylesheet" type="text/css"...
0
by: Mauro Improta | last post by:
Hi, I am a first-time XML programmer. I have to get a value from an external well-done xml file, that starts with a tag <FIELD1> and ends with </FIELD1>
0
by: Chanus | last post by:
Hi experts, Can anyone tell me how I can automate "Get External Data" command to import a XML file? I'm looking to build a macro in ACCESS. Any help will be greatly appreciated. Thanks again.
2
by: Phil Latio | last post by:
We have despatch process which kicks out picking information into text files at hourly intervals. The text files are named sequentially by process; 'ABC.txt', 'ABC01.txt', 'ABC02.txt' for one...
3
by: Trapulo | last post by:
I've a datarepeater that loads custom external templates with loadtemplate and bind data to them. All ok. Now I need to localize some text labels, but I don't know how can I change this data. If I...
1
by: Vijay Neelam | last post by:
How can I automate Microsoft Word from ASP.NET. My requirement is like this I have Datagrid with checkboxes... I need to export checkbox selected rows into Microsoft Word. I tried to...
9
by: Ots | last post by:
I'm using SQL 2000, which is integrated with a VB.NET 2003 app. I have an Audit trigger that logs changes to tables. I want to apply this trigger to many different tables. It's the same trigger,...
1
by: Maddyme | last post by:
I can manually 'suck' data out of Outlook emails into an Access Table. I need a way to include that part of the process using an Access Macro if possible. So that I run the Macro and the data is...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.