473,546 Members | 2,644 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3014
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 TransferSpreads heet 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********@hotm ail.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 TransferSpreads heet 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
2578
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 to be able to parse out the title, description, author(s), and date from the documents, and use that information to create the index. Any...
3
12809
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" href="ui/demo.css" ></link> in your XSL file, this link will always be relative to the location where the XML file is. For example, suppose I have...
0
1468
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
1597
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
2704
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 process, or 'XYZ.txt', 'XYZ01.txt' for another process. The folder contents would look like this; ABC.txt ABC01.txt
3
1652
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 call from template a function in page's codebehind, I have an error. How can I do? I wouldn't like create a lot of template, localized in asp...
1
1927
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 automate using vbscript got some problems on ASP.NET page the same code worked fine in .html file.
9
9299
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, with the exception of the table name. I could manually change the table name in the trigger and create it, over and over, but I'd like to automate...
1
4508
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 pulled into the table without the laborious open File, then Get External Data, then Import and then setting 'Files of Type' to Outlook and then hunting...
0
7435
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7694
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7947
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7461
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7792
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5360
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
1921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.