Re: VB6 Access97
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Wed, 23 Aug 2006 19:01:05 -0400
rotorman wrote:
I have an application written in VB6 which uses an Access97 database,
I retrieve and manipulate the data using ADO and all works very well.
But
I need to save the data in the database files in an external .txt (or
similar) file that can be loaded at a later data. Any help that you
can give will be most welcome.
Several options:
1. Access has builtin functionality to export data to text files. Look in
the Access online help
2. ADO recordsets have a Save method to allow them to be saved to files,
either in binary or xml format
3. You can use VB's builtin file IO capabilities to write data from
recordsets into disk files
4. You can use the FileSystemObject available in the Windows Scripting Host
library to write data to text files
Which option you choose depends on the functionality you need.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Prev by Date: Re: parsing xml
- Next by Date: Re: parsing xml
- Previous by thread: adVarWChar slower than adVarChar
- Next by thread: ADO error (80004003) on 1 machine
- Index(es):
Relevant Pages
|