-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support more field types for dbase IV #22
Comments
Hi, I think better documentation of DBase Level IV format is in http://www.oocities.org/geoff_wass/dBASE/GaryWhite/dBASE/FAQ/qformt.htm#B (see DEVELOP.md) According to this documentation only
Add the new format to Currently I would be glad to receive sample of DBase Level IV file with float field so that I will be able to help you further. |
I am adding the files that should make dBase IV and Float a new field. I made a new FloatField in field folder and I used this for the length and decimal count:
This page says width 16: I found a nice page that shows what the version numbers are for each type. It looks like I have a dbase III file that has Floats. So I will add Float as a type for dbase III. In addition to adding dbase4. |
Hard to tell if the remains of specifications are wrong or your file corrupted. Try to test the lib with files in https://www.clicketyclick.dk/databases/xbase/index.shtml.en |
Did you fix this? |
Oh, okay... created the "FloatField.php" from "NumericField.php" and it opens the file now. Thanks. |
Another solution is to edit the exiting DBF file and change the header structure of that column from Float to Numeric (it also can have decimals) |
I got busy and didn't fix this. I did enough to support what I needed though. |
tried to make a fork but no time for it. Use this one support much more types ! (date/timestamp/integer , ....) |
Maybe related:
|
Hi, I need help, |
The project doesn't support Float fields yet.
I tried opening a dbase file that had a Float column.
Here is the error:
Fatal error: Uncaught org\majkel\dbase\Exception: Format
dBASE III PLUS
does not support fieldF
I can try adding it myself and see if I can get it working.
If I get it working I will make a pull request for it if that is ok.
What other fields should be supported?
Others I see on https://www.dbase.com/Knowledgebase/INT/db7_file_fmt.htm
Long, Double, Binary
I am not sure which one of these I will need for my project.
PR: #23
The text was updated successfully, but these errors were encountered: