![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, We got a data file definition for Btrieve's database. This is a file created in Btrieve V6 itself. Can anyone tell me how I can know the datatype of the field and whether it is nullable? Below is the example of the information in the file: --#------ File Name ------Fields-Keys-Size- DB file ---- DBMS --- Database --- - 2-Branch_Master - 46- 4- 398- -Btrieve v6-Btrieve - ---------------------------------------------------------------------- -------- File 2 : Branch_Master Length : 398 --#------ Field Name -----Typ--Attr----- Picture --------- Range --------Size- - 1-Bankid - 1- Type: -BankCode -001-999 - 2- - 2-Branch_Code - 2- Type: -Branch Code -001-9999 - 2- - 3-Regional_Offid - 0-Numeric-4 - - 2- - 4-Branch_Name - 6- Type: -Long Name - - 45- - 5-Short_Name - 7- Type: -Short Name - - 20- Thank you in advance, Sunny |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Thank you for your help. I ran the butil.exe, but it returned the stat only for the unique keys. Also, the record length showed (from butil.exe) is different from the word file sent from the client. Is there any other way I can get data types of all the fields in the data file? Thank you in advance, Sunny |
#7
| |||
| |||
|
|
The data from butil will be current for the file. Your word doc may be out of date. Do they have the DDF files (file.ddf,field.ddf, index.ddf). These describe the file layout. Otherwise you will can use BtSearch32 at www.nssdd.com to help you analyze the structure and build the DDF files. Gil |
![]() |
| Thread Tools | |
| Display Modes | |
| |