473,405 Members | 2,379 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,405 software developers and data experts.

how do i create a file in access

how do i create a file by a click of a button on an access form. the file i need to create is a text file with a heading and column names.
Mar 28 '07 #1
5 1332
Rabbit
12,516 Expert Mod 8TB
Are you just trying to export data to a text file?
Mar 28 '07 #2
i have a database poulated with data.need to generate a text file that has a heading,column headings and data from my tables.

data must witten at particular x,y co-ordinates in the text file.

please inform me : - how to create a text file by a click of a button
(file must include headings).

- how to write to a file at specific co-ordinates
Mar 29 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
i have a database poulated with data.need to generate a text file that has a heading,column headings and data from my tables.

data must witten at particular x,y co-ordinates in the text file.

please inform me : - how to create a text file by a click of a button
(file must include headings).

- how to write to a file at specific co-ordinates
If you are talking about a fixed length text file. Where each field is given a specific number of characters and spaced accoringly.

Then export the data and select the txt file type in the save as dialog box.
A wizard should open to guide you through the export.
Mar 29 '07 #4
If you are talking about a fixed length text file. Where each field is given a specific number of characters and spaced accoringly.

Then export the data and select the txt file type in the save as dialog box.
A wizard should open to guide you through the export.

i tried exporting and the wizard poped up,but how do i tell the file i want to write the heading on row 2 starting at column 3.

also is there any way to create a macro which records the exporting of table data into a text file,if show please let me knw how.
Mar 29 '07 #5
ADezii
8,834 Expert 8TB
i tried exporting and the wizard poped up,but how do i tell the file i want to write the heading on row 2 starting at column 3.

also is there any way to create a macro which records the exporting of table data into a text file,if show please let me knw how.
Check the Print # and Write # Statements. They may be what you are looking for.
Mar 29 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: fripper | last post by:
When testing a VB .Net application on my system (with IIS installed) I get an error message when using the fileopen function and the file does not exist ... i.e. I want fileopen to create the file....
2
by: david | last post by:
I'm developing a Visual C++ database application which will be delivered to customers. Some customers install Access 97 on their computers, others install Acess 2000 or higher versions. In my...
9
by: Albretch | last post by:
.. I am trying to create a database in a MS Access DB via JDBC drivers. I have tried both sun.jdbc.odbc.JdbcOdbcDriver and ids.sql.IDSDriver From some reason both drivers Exceptions tell me...
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: Andrew Chanter | last post by:
I am writing a little routine to perform the following operations from an Acces 97 mdb: 1. create a fixed width text file 2. create/establish a table type link to the text file in Access 3....
9
by: Marc Miller | last post by:
Hi all, I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test...
9
by: Bob Achgill | last post by:
I would like to use the timestamp on files to manage the currency of support files for my VB windows application. In this case I would only put the timestamp of the file in the management database...
10
by: Minh | last post by:
I search in all the Disscussion but can not found. How can I create a MS Access Database file using C# code with a given Table Structure ? For example, I want to create a Access Database File...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
6
by: clusardi2k | last post by:
Hello again, I have to go home and read up on Access. But, I have read else-where in this newsgroup that I can just save the password in the database under scrutiny. Wouldn't it be wasteful...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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
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,...
0
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...

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.