![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I need to export records from a Btrieve DB convert them into a .txt file. This is easy I can use butil, but with that program there are no options of what records to export, its all or nonw (i think i am correct with that statement)... Does anyone know of a way to do this with butil or any other similar programs (hopefully via msdos command prompt). I have searched the web but can't find anything. Any help will be great thanks a lot. |
#3
| |||
| |||
|
|
I think from a command prompt that butil is going to be about it. The only options on butil are which index (if any) to use saving the data. And technically speaking butil is not an export but a dump of the data into an "unformatted" file. The layout of the unformatted file is: length of record in ASCII, a comma ",", then the raw record as stored in the data file followed by an end of line marker. The data is dumped as is from the record into the file with no data type conversions. If it is all text in the data file it will be all text in the dump file, if it is all binary (e.g. integer, floating point, ... then it is dumped as is. If you have DDFs there are a couple of command line SQL executers around that might be able to do an actual conversions. Leonard On 4 Aug 2004 19:32:01 -0700, michael.martelli (AT) gmail (DOT) com (michael martelli, jr) wrote: I need to export records from a Btrieve DB convert them into a .txt file. This is easy I can use butil, but with that program there are no options of what records to export, its all or nonw (i think i am correct with that statement)... Does anyone know of a way to do this with butil or any other similar programs (hopefully via msdos command prompt). I have searched the web but can't find anything. Any help will be great thanks a lot. |
![]() |
| Thread Tools | |
| Display Modes | |
| |