Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update supported data types

  • Loading branch information...
commit df848a29947b975e55478670dc90bca18250589b 1 parent f0e8036
@infused authored
Showing with 53 additions and 23 deletions.
  1. +51 −23 docs/supported_types.markdown
  2. +2 −0  lib/dbf/table.rb
View
74 docs/supported_types.markdown
@@ -1,25 +1,53 @@
# DBF supported data types
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | Version | C | N | L | D | M | F | B | G | P | Y | T | I | V | X | @ | O | + |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | 03 | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - | - |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | 04 | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - | - |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | 05 | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - | - |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | 30 | Y | Y | Y | Y | - | Y | Y | N | N | N | N | Y | N | N | N | N | - |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | 31 | Y | Y | Y | Y | Y | Y | Y | N | N | N | N | Y | N | N | N | N | N |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | 7b | Y | Y | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | 83 | Y | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | 8e | Y | Y | Y | Y | Y | - | - | - | - | - | - | - | - | N | - | - | - |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | f5 | Y | Y | Y | Y | Y | Y | Y | N | N | N | N | Y | N | N | N | N | N |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
- | fb | Y | Y | Y | Y | - | Y | Y | N | N | N | N | Y | N | N | N | N | N |
- +---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | Version | Description | C | N | L | D | M | F | B | G | P | Y | T | I | V | X | @ | O | + |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 02 | FoxBase | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 03 | dBase III without memo file | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 04 | dBase IV without memo file | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 05 | dBase V without memo file | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 07 | Visual Objects 1.x | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 30 | Visual FoxPro | Y | Y | Y | Y | - | Y | Y | N | N | N | N | Y | N | N | N | N | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 31 | Visual FoxPro with AutoIncrement | Y | Y | Y | Y | Y | Y | Y | N | N | N | N | Y | N | N | N | N | N |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 7b | dBase IV with memo file | Y | Y | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 83 | dBase III with memo file | Y | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 87 | Visual Objects 1.x with memo file | Y | Y | Y | Y | Y | - | - | - | - | - | - | - | - | - | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 8b | dBase IV with memo file | Y | Y | Y | Y | Y | - | - | - | - | - | - | - | - | N | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | 8e | dBase IV with SQL table | Y | Y | Y | Y | Y | - | - | - | - | - | - | - | - | N | - | - | - |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | f5 | FoxPro with memo file | Y | Y | Y | Y | Y | Y | Y | N | N | N | N | Y | N | N | N | N | N |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+ | fb | FoxPro without memo file | Y | Y | Y | Y | - | Y | Y | N | N | N | N | Y | N | N | N | N | N |
+ +---------+-----------------------------------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+
+Data type descriptions
+
+* C = Character
+* N = Number
+* L = Logical
+* D = Date
+* M = Memo
+* F = Float
+* B = Binary
+* G = General
+* P = Picture
+* Y = Currency
+* T = DateTime
+* I = Integer
+* V = VariField
+* X = SQL compat
+* @ = Timestamp
+* O = Double
+* + = Autoincrement
View
2  lib/dbf/table.rb
@@ -12,10 +12,12 @@ class Table
"03" => "dBase III without memo file",
"04" => "dBase IV without memo file",
"05" => "dBase V without memo file",
+ "07" => "Visual Objects 1.x",
"30" => "Visual FoxPro",
"31" => "Visual FoxPro with AutoIncrement field",
"7b" => "dBase IV with memo file",
"83" => "dBase III with memo file",
+ "87" => "Visual Objects 1.x with memo file",
"8b" => "dBase IV with memo file",
"8e" => "dBase IV with SQL table",
"f5" => "FoxPro with memo file",
Please sign in to comment.
Something went wrong with that request. Please try again.