/*
Purpose: Simple as possible ADORDD test
Author : James Bott
Date : 6/30/2015 5:02:35 PM
*/
#include "adordd.ch"
REQUEST ADORDD, ADOVERSION
FUNCTION Main()
RddRegister("ADORDD",1)
RddSetDefault("ADORDD")
SET ADO DEFAULT DATABASE TO "northwind.mdb" ;
SERVER TO "Microsoft.Jet.OleDB.4.0" ;
ENGINE TO "ACCESS"
USE CUSTOMERS ALIAS "CUSTOMERS"
BROWSE()
Return
/*
Purpose: Simple as possible ADORDD test
Author : James Bott
Date : 6/30/2015 5:02:35 PM
*/
#include "adordd.ch"
REQUEST ADORDD, ADOVERSION
FUNCTION Main()
RddRegister("ADORDD",1)
RddSetDefault("ADORDD")
SET ADO TEMPORAY NAMES INDEX LIST TO {"TMP","TEMP", "TEMPORARY" }
SET ADO DEFAULT RECNO FIELD TO "HBRECNO"
SET AUTOPEN OFF
SET ADO FORCE LOCK OFF
SET ADO DEFAULT DATABASE TO northwind.mdb" SERVER TO "" ENGINE TO "ACCESS" USER TO "" PASSWORD TO ""
USE CUSTOMERS ALIAS "CUSTOMERS"
BROWSE()
Return
SET ADO TEMPORAY NAMES INDEX LIST TO {"TMP","TEMP", "TEMPORARY" }
SET ADO DEFAULT RECNO FIELD TO "HBRECNO"
INDEX ON FIELD->NAME TO TEMP TEMPORARY
or
INDEX ON FIELD->CITY TO TEMP TEMPORARY ADDITIVE
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 40 guests