Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How robust is Xbase module ?

Status
Not open for further replies.

bluegroper

Technical User
Joined
Dec 12, 2002
Messages
407
Location
AU
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
 
Got to be the DBI and DBD-XBase BG, it's difficult to find fault with the DBI.

If you have to use Xbase -

are you using the most recent version?

have you tried emailing the author with your concerns?

Mike

shows ways to help with Tsunami Relief.

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top