473,396 Members | 2,158 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.

Acess 2003 Text File Export

I am in process of converting Access 97 databases to Access 2003. Some
of the Access 97 databases export data to a text file with a non
standard file extension, such as "ext" or "NAL". When I try to
run the export in the converted Access 2003 database, I get the error
"Cannot update: Database or object is read-only."

It seems that the real problem is that I can only export a text file if
I use either "txt", "csv", "tab", or "asc" as the file
extension. Is there a way around that requirement?

I can write an application to run after the export to rename the file
with the correct extension, but it is frustrating to not be able to
name the export file what I want it named in the Access export.

Hugh Barnett

Nov 7 '06 #1
3 5974
On 7 Nov 2006 09:59:33 -0800, "hbarnett" <hb******@natspin.comwrote:

A way around that? How about the Name statement? Didn't have to do
that before? So you adjust.

-Tom.

>I am in process of converting Access 97 databases to Access 2003. Some
of the Access 97 databases export data to a text file with a non
standard file extension, such as "ext" or "NAL". When I try to
run the export in the converted Access 2003 database, I get the error
"Cannot update: Database or object is read-only."

It seems that the real problem is that I can only export a text file if
I use either "txt", "csv", "tab", or "asc" as the file
extension. Is there a way around that requirement?

I can write an application to run after the export to rename the file
with the correct extension, but it is frustrating to not be able to
name the export file what I want it named in the Access export.

Hugh Barnett
Nov 8 '06 #2

Tom van Stiphout wrote:
On 7 Nov 2006 09:59:33 -0800, "hbarnett" <hb******@natspin.comwrote:

A way around that? How about the Name statement? Didn't have to do
that before? So you adjust.

-Tom.

I'm not familiar with the name statement.

In Access 97, I could export a text file named "aaaaaaaa.bbb" using
the TransferText command. In Access 2003 it will not allow this since
the extension is not "txt', "csv", "tab", or "asc". I was
hoping that there was a way to allow me to export the file
"aaaaaaaa.bbb" in Access 2003.

Hugh Barnett

Nov 8 '06 #3

hbarnett wrote:
Tom van Stiphout wrote:
On 7 Nov 2006 09:59:33 -0800, "hbarnett" <hb******@natspin.comwrote:

A way around that? How about the Name statement? Didn't have to do
that before? So you adjust.

-Tom.

I'm not familiar with the name statement.

In Access 97, I could export a text file named "aaaaaaaa.bbb" using
the TransferText command. In Access 2003 it will not allow this since
the extension is not "txt', "csv", "tab", or "asc". I was
hoping that there was a way to allow me to export the file
"aaaaaaaa.bbb" in Access 2003.

Hugh Barnett
export the file using TransferText. If you have the name of the file
in a variable, you can use Name to rename the file to something else,
like "aaaaaaa.bbb", where you have full control over the filename and
extension.

Nov 8 '06 #4

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

Similar topics

1
by: eel3720 | last post by:
Greetings: I have a converted Access 2000 database that got replaced not converted to a Access 2003 Database file. Now the reports in Access 2003 Database will not open. I tried removing...
11
by: scorpion53061 | last post by:
Well I had a way to write an array to an excel spreadsheet but on a huge time critical run it failed iwth the dreaded HRESULT: 0x800A03EC error. It worked fine when i sampled the data to go in but...
2
by: Deb | last post by:
The conversion of my department's 12 machines has gone really well and I have had no big problems with any of it. Now for another question -- Are there any new "goodies" in Access 2003 that are...
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
2
by: stuart.medlin | last post by:
I have recently converted an Access 97 database to Access 2003. However, I am running into a problem with using Application.Filesearch to locate a file in my directory. The code follows: ...
1
by: stuart.medlin | last post by:
I have an Access 2003 application that I recently converted from Access 97. I have a routine in which I use to export the data that the users have keyed into a text file. This text file resides...
9
by: NEWSGROUPS | last post by:
I have data in a table in an Access 2000 database that needs to be exported to a formatted text file. For instance, the first field is an account number that is formatted in the table as text and...
3
by: Wayne | last post by:
I'm trying to automate the export of a query to a text file using code. If I export the query manually I get the exact result that I want i.e. If I select the query then choose File/Export from...
1
by: lokeshreddy16 | last post by:
'this is my code plz guys help how to save data from vb 2005 and other this that i am able to view the data from acess but i am not able save to acess i dont whether my code for save is correct of...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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.