function Main()
RddRegister("ADORDD",1)
RddSetDefault("ADORDD")
SET DATE FORMAT TO "dd-mm-yyyy" // Formato Fecha: DD-MM-AAAA
SET CENTURY ON
SET EPOCH TO YEAR(DATE())-98
SET ADO TABLES INDEX LIST TO {{ "TABLE1", {"TEST1", "FIRST"} ,;
{"TEST2", "LAST"} ,;
{"TEST3", "AGE"} },;
{"LUCAS", {"LUCAS1", "NOMBRE"} ,;
{"LUCAS3", "NOMBRE", "WHERE NOMBRE = 'LUCAS'"} } }
SET ADODBF TABLES INDEX LIST TO { { "TABLE1", {"TEST1", "FIRST"} ,;
{"TEST2", "LAST"} ,;
{"TEST3", "AGE"} },;
{"LUCAS", {"LUCAS1", "NOMBRE"} ,;
{"LUCAS3", "NOMBRE", "NOMBRE = 'LUCAS'" } } }
SET ADO DEFAULT RECNO FIELD TO "HBRECNO"
SET AUTOPEN OFF //ON //might be OFF if you wish
//SET AUTORDER TO 1 // first index opened can be other
SET ADO FORCE LOCK OFF
SET ADO DEFAULT DATABASE TO "LUCASTABLE.MDB" ENGINE TO "ACCESS" USER TO "" PASSWORD TO ""
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 78 guests