bluegroper
Technical User
Using ActiveState perl for win, ver 5.8.4.
I've been trying out the Xbase module with some Foxpro .dbf's and .cdx indexes.
Thats Xbase (with lower-case b) NOT DBD-XBase (for heavyweight data structures).
Seem to be having a few problemo's with Xbase.
Opening a database object with an (optional) associated index (ie .cdx) gives flakey results.
The $database->idx_stat instruction gives corrupt results.
The $database->dbf_stat instruction drops the last character from each fieldname in the database.
And finally, if I try to access multiple databases, where there is an identical fieldname common to each, its impossible to access those fields correctly, eg :
$Variable1 = $database1->get_field("ID_NUM");
$Variable2 = $database2->get_field("ID_NUM");
print "$Variable1 $Variable2\n";
gives rubbish results.
Anybuddy else tried this module ?
It seems old(ish) and may be unsupported.
But sometimes the old modules are well-tested and excellent.
(I hear shouts saying "give up and use DBD-XBase instead.")
TIA's
- BG
I've been trying out the Xbase module with some Foxpro .dbf's and .cdx indexes.
Thats Xbase (with lower-case b) NOT DBD-XBase (for heavyweight data structures).
Seem to be having a few problemo's with Xbase.
Opening a database object with an (optional) associated index (ie .cdx) gives flakey results.
The $database->idx_stat instruction gives corrupt results.
The $database->dbf_stat instruction drops the last character from each fieldname in the database.
And finally, if I try to access multiple databases, where there is an identical fieldname common to each, its impossible to access those fields correctly, eg :
$Variable1 = $database1->get_field("ID_NUM");
$Variable2 = $database2->get_field("ID_NUM");
print "$Variable1 $Variable2\n";
gives rubbish results.
Anybuddy else tried this module ?
It seems old(ish) and may be unsupported.
But sometimes the old modules are well-tested and excellent.
(I hear shouts saying "give up and use DBD-XBase instead.")
TIA's
- BG