Monday, May 28, 2007

New ADORDD for Harbour:

Antonio Linares has announced in the Harbour developers mailing list the development of a ADORDD for Harbour. It was included as part of Harbour contribution code. The licence of code is the same as Harbour.

According Antonio: "ADORDD has been already tested with Access and MySQL databases engines and works very nicely. It should work with any database engine that supports Microsoft ADO"

Fernando Mancera (co-autor) had sent the following samples to the list:

///

Using an Access database:

#include "adordd.ch"

REQUEST ADORDD

function Main()

USE Test.mdb VIA "ADORDD" TABLE "Tabla1"

Browse()

USE

return nil

///

Using a MySQL database:

#include "adordd.ch"

REQUEST ADORDD

function Main()

USE test00 VIA "ADORDD" TABLE "ACCOUNTS" MYSQL ;
FROM "www.freesql.org" USER "myuser" PASSWORD "mypass"

Browse()

USE

return nil

///

These are GREAT news. I'll include the new library in the next HMG release.