473,396 Members | 1,893 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.

How to create own tab delimited file

How do you create your own tab delimited ms access file.
What is the TAB character and what is the NEWLINE character,
also how to write to a text file

Thanks in advance
Nov 12 '05 #1
5 9071
"Danny" <da********@hotmail.com> wrote in news:32JWb.8522$I67.3108570
@news4.srv.hcvlny.cv.net:
How do you create your own tab delimited ms access file.
What is the TAB character and what is the NEWLINE character,
also how to write to a text file


Perhaps, learning to use the help file wuld be a great plane for you.

Assuming a current version of access, open the VB Window with <ALT><F
--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #2
"Danny" <da********@hotmail.com> wrote in news:32JWb.8522$I67.3108570
@news4.srv.hcvlny.cv.net:
How do you create your own tab delimited ms access file.
What is the TAB character and what is the NEWLINE character,
also how to write to a text file

Thanks in advance


Assuming a not too ancient version of Access open the VB window with <ALT>
<F11>. Click Help.
Type something like
"how to write to a file"
into the Answer Wizard dialog.
You will find references to all you need to know, and you can pick what is
suitable for you.

Of course, if you are exporting data, you may want to look at the
"TransferText" method, which does most of the dirty work for you.

I recommend using VBNewline and VBTab for new line and tab characters.

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #3
Lyle Fairfield <Mi************@Invalid.Com> wrote in
news:Xn*******************@130.133.1.17:
"Danny" <da********@hotmail.com> wrote in news:32JWb.8522$I67.3108570
@news4.srv.hcvlny.cv.net:
How do you create your own tab delimited ms access file.
What is the TAB character and what is the NEWLINE character,
also how to write to a text file


Perhaps, learning to use the help file wuld be a great plane for you.

Assuming a current version of access, open the VB Window with <ALT><F


Hmmm ... perhaps one should be careful with the <ALT> and Function keys when
writing a reply with XNews as it seems there is some combination that posts
the message and closes the window without warning.

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #4
THank you

I have to put some header info into this file, so I cant just export, but do
you know if there is an easy way to combine two text files in access? This
way I can do the export, and just append this file to the header text file.

Thanks in advance

"Lyle Fairfield" <Mi************@Invalid.Com> wrote in message
news:Xn*******************@130.133.1.17...
"Danny" <da********@hotmail.com> wrote in news:32JWb.8522$I67.3108570
@news4.srv.hcvlny.cv.net:
How do you create your own tab delimited ms access file.
What is the TAB character and what is the NEWLINE character,
also how to write to a text file

Thanks in advance


Assuming a not too ancient version of Access open the VB window with <ALT>
<F11>. Click Help.
Type something like
"how to write to a file"
into the Answer Wizard dialog.
You will find references to all you need to know, and you can pick what is
suitable for you.

Of course, if you are exporting data, you may want to look at the
"TransferText" method, which does most of the dirty work for you.

I recommend using VBNewline and VBTab for new line and tab characters.

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)

Nov 12 '05 #5
Danny wrote:
THank you

I have to put some header info into this file, so I cant just export, but do
you know if there is an easy way to combine two text files in access? This
way I can do the export, and just append this file to the header text file.


You could create a batch file that does copy file1.txt+file2.txt
result.txt and call that from Shell()
--
Bas Cost Budde
http://www.heuveltop.org/BasCB
but the domain is nl

Nov 12 '05 #6

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

Similar topics

3
by: monte | last post by:
Hello, I need to parse a tilde delimited file and output it to a tabbed delimited file. Example file example.txt data1~data2~data3~data4 data5~data6~data7~data8 I need to extract data2,...
3
by: Ben | last post by:
Hi all - I am having a bit of trouble and thought maybe someone in this group could shed some light. Here's the skinny... I am creating an automated process to import a bunch of text files...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
1
by: The Bear | last post by:
I have populated a dataset with a tab delimited text file. When the changes are made in the dataset, I then want to write those changes from the dataset to a tab delimited text file. How do I write...
2
by: Mikey | last post by:
Sample VB .NET source code to create mailing labels or customized letters using MS Word MailMerge This VB .NET source code will start MS Word and call methods and set properties in MS Word to...
0
by: Masa Ito | last post by:
I have pipe delimited (and comma/tab) files that I read with JET using a schema file. Occasionally a field has multiple quotes (") inside a single field - which chokes the line (the rest of the...
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
6
by: =?Utf-8?B?UmljaA==?= | last post by:
'--this code works but only reads text into one column when contains multiple cols Dim ds1x As New DataSet Dim ConStr As String = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data...
5
by: RyanL | last post by:
I'm a newbie! I have a non-delimited data file that I'd like to convert to delimited. Example... Line in non-delimited file: 0139725635999992000010100534+42050-102800FM-15+1198KAIA Should...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
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.