Re: ADO RDD xHarbour
Posted: Wed Aug 26, 2015 12:25 pm
Hello Antonio F and others,
I have a question about adordd, I want to understand better how adordd works.
Question: where are Commands, like USE, APPEND BLANK, REPLACE FIELD etc translated into ado code? I tried to find it in adordd.prg, adordd.ch, but I could not find it.
Best regards,
Pieter
I have a question about adordd, I want to understand better how adordd works.
- Code: Select all Expand view
- #include "fivewin.ch"
#include "adordd.ch"
REQUEST ADORDD, ADOVERSION
FUNCTION Main()
RddRegister("ADORDD",1)
RddSetDefault("ADORDD")
SET ADO FORCE LOCK OFF // Required!
SET ADO DEFAULT DATABASE TO "testdb1" SERVER TO "localhost" ENGINE TO "MYSQL" USER TO "root" PASSWORD TO "password"
USE CUSTOMER
APPEND BLANK
REPLACE FIELD->FIRST WITH "Pieter2"
// APPEND FROM customer2 via "DBFCDX"
BROWSE()
Return nil
Question: where are Commands, like USE, APPEND BLANK, REPLACE FIELD etc translated into ado code? I tried to find it in adordd.prg, adordd.ch, but I could not find it.
Best regards,
Pieter