Search found 59 matches: nwa

Return to advanced search

Re: ADO RDD xHarbour

... < 51000" },; {"MYTABLE2","HBRECNO BETWEEN 1 AND 50000" }} This SET together ADOWHERECLAUSE( nWa, cNewSql ) enable us to open tables using the set of data we really need without altering any code logic. This SET is used as default query to open ...
by AHF
Wed Apr 12, 2017 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: Nuevo ADORDD

... abre las transacciones para cada conexión abierta ADOCOMMITTRANS y ADOROLLBACKTRANS lo mismo que ADOBEGINTRANS Nueva función ADONESTEDTRANS (nWA) devuelve nr de transacciones anidadas NUEVO CÓDIGO DE ERROR 10600 - conexión no disponible no puede encontrar transacciones ADO_ALREADYOPEN Prueba ...
by AHF
Tue Mar 07, 2017 9:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo ADORDD
Replies: 55
Views: 16561

Re: ADO RDD xHarbour

... opens a transactions for each opened connection ADOCOMMITTRANS and ADOROLLBACKTRANS the same as ADOBEGINTRANS New function ADONESTEDTRANS( nWA ) returns nr of nested transactions NEW ERROR CODE 10600 - connection not available cant find transactions ADO_ALREADYOPEN Test if the open recordset ...
by AHF
Tue Mar 07, 2017 9:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: ADORDD. Set Filter. Muy lento.

... mezcla de ambos. Las tablas de cada área son siempre ctualizadas por ADORDD. ex use CTable replace xfiled with xValue o hb_adoRddGetConnection (NWA): execute ("update....") // Si no haces la resincronización al editar se mostrará este registro últmo la actualización. En resumen, con ...
by AHF
Thu Dec 24, 2015 10:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADORDD. Set Filter. Muy lento.
Replies: 4
Views: 984

Re: Nuevo ADORDD

... fields where the SQL type its without field len definition such as: AUTOINC, MONEY, DOUBLE, INT, SMALLINT, etc. Corrected Bugs: 1) ADOBEGINTRANS( nWA ) : without work are it starts a transaction in default adordd connection otherwise it starts in the connection of the current work area. 2) ADOROLLBACKTRANS( ...
by AHF
Mon Dec 07, 2015 12:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo ADORDD
Replies: 55
Views: 16561

Re: ADO RDD xHarbour

... fields where the SQL type its without field len definition such as: AUTOINC, MONEY, DOUBLE, INT, SMALLINT, etc. Corrected Bugs: 1) ADOBEGINTRANS( nWA ) : without work are it starts a transaction in default adordd connection otherwise it starts in the connection of the current work area. 2) ADOROLLBACKTRANS( ...
by AHF
Mon Dec 07, 2015 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: ADO RDD xHarbour

Antonio, i found the equivalent for MSSQL in function ADORECCOUNT(nWA,oRecordSet): IF aAWData[ WA_ENGINE ] = "ACCESS" //.or. aAWData[ WA_ENGINE ] = "MSSQL"//6.08.15 ONLY WITH ACCESSIT TAKES LONGER IN BIG TABLES      ...
by byte-one
Tue Oct 20, 2015 12:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: errores al compilar adordd.prg

... Warning W0001 Ambiguous reference: 'WA_UNIQUE' WA_INDEXUNIQUE adordd.prg(3743) Warning W0002 Ambiguous reference, assuming memvar: 'ARELINFO' nWA Ultima version https://github.com/AHFERREIRA/adordd.git
by AHF
Sat Sep 26, 2015 7:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: errores al compilar adordd.prg
Replies: 2
Views: 435

Re: ADO RDD xHarbour

Lucas,

Comment this in ado_setfilter

* ADO_GOTOID( nWA, nRecNo )

IF oRecordSet:Eof() //does not have this rec in filter lets gotop
ADO_GOTOP(nWa)
ENDIF
*/


Did it work?
by AHF
Sun May 24, 2015 3:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: ADO RDD xHarbour

Antonio, Yes, I do have HBRECNO and I am using your code. In fact, at ADO_OPEN( nWA, aOpenInfo ), you added : IF EMPTY(aWAData[WA_FIELDRECNO]) //DONT HAVE ANY AUTO INC FIELD USE AS RECNO CREATE .... Well, despite I have HBRECNO, aWAData[WA_FIELDRECNO is giving 0. ...
by lucasdebeltran
Fri May 22, 2015 5:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: ADO RDD xHarbour

Antonio, SET SCOPE fix seems to be: STATIC FUNCTION ADOSCOPE(nWA,aWAdata, oRecordSet, aOrderInfo,nIndex) IF LEN(ALLTRIM( cvaltochar(aWAData[ WA_SCOPETOP ][y]) + cvaltochar(aWAData[ WA_SCOPEBOT ][y])) ) > 0 Scopetop and ScopeBot can be a numeric. Fields ...
by lucasdebeltran
Wed May 20, 2015 11:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: ADO RDD xHarbour

Antonio, This could be the fix for FUNCTION ADO_PUTVALUE( nWA, nField, xValue ):             //oRecordSet:Fields( nField - 1 ):Value := xValue            //oRecordSet:Update()      ...
by lucasdebeltran
Wed May 20, 2015 7:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: ADO RDD xHarbour

... dates are related. Tdatarow does it in a different way, it updates at once all fields. Try to comment out oRecordSet:Update() at ADO_PUTVALUE( nWA, nField, xValue ). For filtering, maybe in tRecSet class there is a method. Remember, once you work with Acess you will be able to work with the ...
by lucasdebeltran
Tue May 19, 2015 7:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: ADO RDD xHarbour

... instead Filters will be done within coming weeks. About seek this was left overs from trials please test instead of cSql := IndexBuildExp(nWA,aWAData[WA_INDEXACTIVE],aWAData,.F.,IF(aSeek[3],aseek[1],aSeek[2] )) this: cSql := IndexBuildExp(nWA,aWAData[WA_INDEXACTIVE],aWAData,.F.,aSeek[2] ...
by AHF
Tue May 19, 2015 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359

Re: ADO RDD xHarbour

byte-one, Ill change it to IndexExt() and TableExt() Little correction: The right text in STATIC FUNCTION ADO_RELEVAL( nWA, aRelInfo ) is "allowed" Sorry Im not getting it. If you want to test it simply place SET RELATION TO or not if you want try it browse fields from 2 ...
by AHF
Sat May 16, 2015 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446359
Next

Return to advanced search