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

How to write an Access program that update a text tab file created from Access query

5
Hello, I have created a database with a query table exported as text tab to be used in another program. How can I create a program that would allow the text tab (from Access query table) to be updated every time data are entered in forms?
My text tab were created from exporting query table.
Apr 26 '12 #1
9 1656
Rabbit
12,516 Expert Mod 8TB
Reexport the table every time data is entered in the form. But that is a horribly inefficient way of controlling data flow. Why do you even need to do this? And what is this other program you mentioned?
Apr 26 '12 #2
Geni55
5
I am using Corvid Exsys and expert system software which can ready only text tab file. I would like this text tab file be updated anytime data are entered in the databse.
Apr 27 '12 #3
Rabbit
12,516 Expert Mod 8TB
Well then you'll have to set up VBA or a macro to export it whenever the data is changed.
Apr 27 '12 #4
Geni55
5
Thank you Rabbit. That where I need help to do so. Could you please give me some help or indicate where I can get it?
Apr 27 '12 #5
Rabbit
12,516 Expert Mod 8TB
If you're saying you don't know VBA or macros, there are a lot of tutorials out there that will help you get started.

If you're saying you know VBA or macros, but don't know how to implement the specific task, then we need to know a lot more detail than what you've provided. For example, we would need to know what event you want to trigger and the code you've tried and any errors that the code evoked.
Apr 27 '12 #6
Geni55
5
Thank you very much for your willing to help. I really do not know how to use VBA. I know what I would like to do, but I do not know how to do it. I need help.
Apr 30 '12 #7
Rabbit
12,516 Expert Mod 8TB
This tutorial will get you started on learning VBA.
Apr 30 '12 #8
Geni55
5
I thank you for the tutorial. It has 28 lessons to learn. Please could you be more specific on the lesson that can be learned and applied to my specific question?
May 2 '12 #9
Rabbit
12,516 Expert Mod 8TB
You'll probably want to look through at least the first 18 lessons. That will give you the basics of VBA. Once you know the basics, you'll be able to plan out how you want to trigger the code and what events you want to use. But the meat of the work will be done using the DoCmd.TransferText method. You will probably have to create a spec file for that.
May 2 '12 #10

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

Similar topics

4
by: alkhatib | last post by:
Hi Experts, I'm working on Win2k platform, where a process is wrinting to a log (plain text in tabular form) . My goal is to view this grawing log on access database, I linked a
4
by: Alessandro | last post by:
Hi. How can I save multiple reports to ONE text file? I've used the OutputTo function, but the result is one text file for each report. I'm not a MS Access programmer and I don't know if I can...
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....
4
by: Andyza | last post by:
I'm using FileSystemObject to open and write to a tab delimited text file. First, I connect to a database and select some data. Then I create the text file and insert each record in the text...
2
kamill
by: kamill | last post by:
i need to write content of one text file into another text file. My code is working ,if i choose both files from same directory where my program reside..BUT,its not working if i select files from...
9
by: andy.z | last post by:
If 2 people try to access the same text file at the same time to write to it - what happens in PHP ? What I mean is - presumably the first will be ok - But what will the second person actually...
2
by: Lawrence 007 | last post by:
Hi, I have a XML file that I need to write to a text file. I have the following code that I got from this C# article http://support.microsoft.com/default.aspx/kb/317662: Try Dim...
6
by: 000dreamsound000 | last post by:
Hi I need help with to access a text file over my local network. I need to be able to create,read, write and delete the txt file on a specific machine(s) from any computer over the network. The...
8
by: Irene | last post by:
Hi, I have an MS Access Database with 1 Table containing about 2 million records in Unicode (diferent languages). I would like to export the Table to a Text file (CSV, Tab, etc.) Access...
0
by: Nishant Gaurav | last post by:
Hi, I want to know the best way to read bulk data (approx 1 lakh records) from database and write it into a text file, through c/c++/pro*c. Thanks Nishant Gaurav
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
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
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
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...

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.