xbase

Visual FoxPro Compact Index File Format

I am trying to understand the file format of a Visual FoxPro compact index (*.IDX). I am currently referring to Microsoft's documentation for guidance. The index is a B-tree of 512-byte nodes. Each leaf ("exterior") node contains multiple entries. Each entry consists of four pieces of data: Row number [FIXED LENGTH] Duplicate byte cou...

How do I read data from an xBase/Clipper file in VB6?

DBF file is in C:\dbase\clip53\PRG\stkmenu\WPACK3\ DBF file is called WPACKS.CFG (deliberately not .DBF) The VB6 code in an ActiveX EXE for opening the database and recordset: Function OpenDatabase(sFile As Variant, Optional sProvider As Variant = "Provider=Microsoft.Jet.OLEDB.4.0") As Variant ' ADODB.Connection Dim nErr As Long...

What is the most active clipper-like community?

I work for a company that is using Microsoft Visual Foxpro 9. Since Microsoft has abandoned us, we no longer get fresh driver updates (the last was for ODBC was built for VFP version 6.) Clipper and Foxpro aren't too different, from what I understand. So if they are producing drivers, then that might be a good place to migrate to. Howe...

Python: Fast querying in a big dbf (xbase) file

Hi all, I have a big DBF file (~700MB). I'd like to select only a few lines from it using a python script. I've seen that dbfpy is a nice module that allows to open this type of database, but for now I haven't found any querying capability. Iterating through all the elements from python is simply too slow. Can I do what I want from py...

Handling arbitrarily large integers in dbase language

Is there a simple package available that permits programming in xbase ( i.e. dbase or Foxpro syntax) and has a datatype to store and perform simple arithmatical operations on arbitrarily large integers ( say 100,000 decimal digits) ? ...

I need to consume an ocx for voice recording and playblack

Hi. The current ocx controls I'm using for voice recording and playback are not compatible with Windows 7. I'm already feeling the pressure to produce a Windows 7 compatible version of my software. The author has already stated that he is not planning to write a Windows 7 compatible ocx. I work from xharbour so I need to consume an...

Drupal / ubercart remote node addition

I am developing my first large Ubercart site, which needs to have a daily product database update from an existing xBase (DBF format). The conversion from DBF to MySQL/PHP is handled on the same server as the Drupal installation, using some custom scripting I have done, and works well. However, the next step is to get my script to talk t...

Which header format can be assumed by reading an initial .DBF byte?

Regarding the first byte of a .DBF file and how to detect the version of xbase used (ie, the format of the rest of the file), the most comprehensive list I can compile is: Byte 0 ----------- x xxx x 001 = 0x?1 not used 0 000 0 010 = 0x02 FoxBASE 0 000 0 011 = 0x03 FoxBASE+/dBASE III PLUS, no memo x xxx x 100 = 0x?4 dBASE 7 0 000 0 101 ...

How to connect to foxpro db using XbaseJ

Hello, I want to fetch data from fox pro data base and insert it into Mysql. For that purpose i am using XbaseJ. But how can i connect to my FoxPro data base using XbaseJ. Thanks ...

SQL to dBase Query Translator?

Is anyone aware of an application that will allow me to convert some existing SQL queries into dBase? I have an application that I need to program but it prefers dBase queries to SQL queries. I've written a working SQL query, but now need to figure out what the query would look like in dBase. ...

What would this SQL query look like in dBase?

Can someone help me translate this query into a dBase equivalent expression? select top 300 * from CONTACT1 c1 left join CONTACT2 c2 ON c1.ACCOUNTNO=c2.ACCOUNTNO where KEY1='10INQA' and KEY2='2011 Fall' and c1.ACCOUNTNO NOT IN (select accountno from CONTSUPP where RECTYPE='E') ...