topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
ADO RDD xHarbour | Rick,
Thanks for sharing it.
Now adordd do exactly that with set relation to...
Do you have and performance experience with :find? |
ADO RDD xHarbour | Antonio
Using :Find you MUST :MoveFirst() before you issue the :Find() .. you might also use :Filter
[code=fw:30albfwl]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRsInvoice:<span style="color: #000000;">MoveFirst</span><span style="color: #000000;">(</span><span style="color: #000000;">)<... |
ADO RDD xHarbour | Rick,
Adordd uses seek in the following way (also with relations).
It works just like dbfs any changes needed in app code. See the code
We will have another function adoseek(cKey) to build a recordset with the ckey expresssion as where clause
and adoseek() to revert to the previous recordset.
Its faster than the a... |
ADO RDD xHarbour | Antonio, Enrico, Lucas,
Do you have any experience use SELECT * FROM cTable with adUseServer and adUserClient ?
Does ADO load all rows? Is there a way to avoid that? CacheSize? MaxRecords?
I have now a new adordd version imitating 100% dbf behaviour, however Im afraid that during trials this will be slow because of ... |
ADO RDD xHarbour | Antonio,
Dbeval calls UR_EVALBLOCK that calls ADO_EVALBLOCK.
There is something missing because the block its not properly evaluated in SUM
Can you help me finding out whats the problem?
Is the RETURN correct?
[code=fw:5xc8pm6v]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #... |
ADO RDD xHarbour | Antonio,
Please show me how you use it from your PRG |
ADO RDD xHarbour | Antonio,
I solev the problem but dont know if the most correct way.
App code (does not evaluate nothing)
[code=fw:1dpglyqm]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">sum</span> quantidade <span style="color: #0000ff;">to</span> wreservas <span style="color: #00C800;"... |
ADO RDD xHarbour | Isn't uResult provided by reference ?
If not, then this value will be lost:
uResult := Eval( bBlock )
not sure if it will be also applicable to:
UR_SUPER_EVALBLOCK( nArea, bBlock, uResult ) |
ADO RDD xHarbour | UR_SUPER_EVALBLOCK( nArea, bBlock, @uResult ) maybe ? |
ADO RDD xHarbour | Antonio,
I dont know if uResult it is provided by reference because its called from dbeval().
Dont know why but UR_SUPER_EVALBLOCK( nArea, bBlock, uResult ) works! (without @)
Adordd its almost ready ! Now adordd its a true Rdd!
There are big differences from previous posted version.
Its much slower than DBF or AD... |
ADO RDD xHarbour | Antonio,
You are doing a great work, congratulations! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
ADO RDD xHarbour | Antonio,
I await for last release, as current is buggy and can´t be used.
Thank you. |
ADO RDD xHarbour | New version of adordd at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> |
ADO RDD xHarbour | Antonio,
Some erros when compiling:
STATIC FUNCTION ADO_OPEN( nWA, aOpenInfo )
IF oRecordSet:CursorLocation = adUseClient
[b:ny6migfq]THIS LINE [/b:ny6migfq] oRecordSet:Fields( aWAData[WA_FIELDRECNO] ):Properties("Optimize") := 1
ENDIF
FUNCTION Filter2Sql(nArea,cTableName,cFiltro)
THIS LIN... |
ADO RDD xHarbour | Lucas,
Sorry my mistake with the version posted.
Here is the correct one <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->.
You should ow be able to run tryadordd. |
ADO RDD xHarbour | Antonio, Mr Rao,
Im having a problem with Numeric fields Len and Dec.
Ive found this in adofuncs.prg:
Max( 19, oField:Precision + 2 )
What does it mean?
NumrericScale = Nr of decimal places
Precision = Total field len
numfield N 11 4
Precision = 11
NumericScale = 4
Len = 11
Dec = 4
Making numeric fields for ca... |
ADO RDD xHarbour | Antonio,
I don´t understand the change in LOCATES:
IF RDDSNAME() = "ADORDD"
hb_adoSetLocateFor( "pessoa = "+"'"+(MeuNome())+"'")
[b:24kjbi6a] locate for "pessoa = "+"'"+(MeuNome())+"'" [/b:24kjbi6a]
ELSE
...
We have to keep LOCATE FOR as DBFCDX, so not to use hb_adoSetLocateFor.
Or provide it for complex... |
ADO RDD xHarbour | Lucas,
Please remember:
hb_adoSetLocateFor is needed as LOCATE calls in adordd:
ADO_SETLOCATE( nWA, aScopeInfo )
ADO_LOCATE( nWA, lContinue )
Unfortunately aScopeInfo doesnt supply the cFor condition only bFor condition thus we need to set it up before with hb_adoSetLocateFor.
Let me check what we can do. |
ADO RDD xHarbour | Antonio,
Thnak you for your attention.
At least, it should support LOCATE FOR Upper(FIELD->City) = Upper(cCity). |
ADO RDD xHarbour | Lucas,
I ve just recheck it and I dont see any other alternative.
You have to consider :
LOCATE FOR Upper(FIELD->City) = Upper(cCity).
This s passed to ADO_SETLOCATE in aScopeInfo as a code block.
We need hb_adoSetLocateFor to have it as a string.
But another problem is the hb_adoSetLocateFor( <(for)> ) (adordd.c... |
ADO RDD xHarbour | [quote:qzd5tovk]
Antonio, Mr Rao,
Im having a problem with Numeric fields Len and Dec.
[/quote:qzd5tovk]
Solved ! |
ADO RDD xHarbour | Lucas,
Locate works now exactly the same as for dbfcdx and others. No need to alter anything in the code.
I choose to eval(bBlock) in do while performance its almost the same as with find.
Ill post new version today. |
ADO RDD xHarbour | Antonio,
Did you really fixed LOCATE FOR... command?.
That´s a great news!.
Also, there is a mistake on this line:
FUNCTION ADO_OPEN( nWA, aOpenInfo )
[b:3qymatxo]
oRecordSet:Fields( aWAData[WA_FIELDRECNO] ):Properties("Optimize") := 1[/b:3qymatxo]
Thank you. |
ADO RDD xHarbour | Lucas,
Im still solving some problem with LOCATE .
[code=fw:1shukdqz]<div class="fw" id="{CB}" style="font-family: monospace;">oRecordSet:<span style="color: #000000;">Fields</span><span style="color: #000000;">(</span> aWAData<span style="color: #000000;">[</span>WA_FIELDRECNO<span style="color: #000000;">&#... |
ADO RDD xHarbour | Antonio,
It says:
adordd\adordd.prg(278) Error E0022 Invalid lvalue ':' |
ADO RDD xHarbour | Lucas,
I have no idea why that error. Here its ok. Is that a compile error?
I posted new adordd.prg and .ch with LOCATE ready. <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Now you dont need to alter anything <!-- s:D --><img src=... |
ADO RDD xHarbour | Antonio,
Thank you.
What sort of new problems did you find?. |
ADO RDD xHarbour | I am moving our disucssions to this thread to keep them at one main place.
You said:
[quote:2h6acl7o]
(ownd:numera)->dataultmov is 28/04/15
dDataM is 28/04/15
if (ownd:numera)->dataultmov > dDataM
msginfo("Data do ult doc "+dtoc((ownd:numera)->dataultmov)+CRLF+;
"Data deste doc "+dtoc(dDataM) )
endif
The code insid... |
ADO RDD xHarbour | You said in the other thread.
[quote:2sov47l7]I´ve tested it and it works perfectly with adUseclient and adUserServer cursors.
[/quote:2sov47l7]
Glad to know it is working well with both client and server-side.
Please see for reference:
<!-- m --><a class="postlink" href="https://msdn.microsoft.com/en-us/library/ee... |
ADO RDD xHarbour | [quote:3hrj2j4i]I suggest you return FW_TTOD( <fieldvalue> ) when the FieldType is 'D' and FW_DTOT( <fieldvalue> ) when the field value is 'T'. We use this in our XBrowse, TDataRow and TRecSet so that users are insulated from this behavior.
[/quote:3hrj2j4i]
I dont have these functions. Can you post them here?
[quote... |
ADO RDD xHarbour | [quote:f0elt87e]Glad to know it is working well with both client and server-side. [/quote:f0elt87e]
It works in the sense of the locking (with 2 users the 2nd cannot edit) but changing order focus we build a new recordset with the order by clause and closing the current one throws an error.
Also if we get the locks an... |
ADO RDD xHarbour | [quote="lucasdebeltran":3jx6apyu]Antonio,
Thank you.
What sort of new problems did you find?.[/quote:3jx6apyu]
Please check ADO_LOCATE.
If we call successive locates although it goes through the records correctly in the do while it does not evaluate the block to .t. after the first time.
Please try:
[code=fw:3jx6a... |
ADO RDD xHarbour | Antonio,
I just sent an email to Mr. Rao asking him |
ADO RDD xHarbour | New adordd version with working locking as dbfs at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
This is still on trial and its working quite well on heavy transactions many records in many tables.
It assures completely record locki... |
ADO RDD xHarbour | Antonio,
Any news regarding date functions?
Now Im taking care of :
copy to (cfile) WHILE ....
This function calls ADO_APPEND but the nWA received its a new one.
Probably this function selects a new area to copy file to.
Can we somehow change it or do we have to write a replacement from scratch.
Where can I find th... |
ADO RDD xHarbour | Antonio,
[code=fw:2745cf51]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <windows.h><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><br /><span style="color: #00C800;">HB_FUNC<... |
ADO RDD xHarbour | Antonio,
Thanks for the code.
adordd its working almost perfectly.
Antonio, Mr Rao,
But I've still 2 pending problems:
1) Fields N without any decimal returning 2 decimals. (xxx.00) Do you have any idea what might be the problem.
2) Locates. Can you check the adordd.prg ado_locate to see what might be the problem... |
ADO RDD xHarbour | Antonio,
[quote:3fh3rpc1]1) Fields N without any decimal returning 2 decimals. (xxx.00) Do you have any idea what might be the problem.[/quote:3fh3rpc1]
Do you use any C code ? if yes then check if hb_retnd() is used somewhere and change it into hb_retnl() |
ADO RDD xHarbour | Antonio,
[quote:rh3f8fyr]2) Locates. Can you check the adordd.prg ado_locate to see what might be the problem?[/quote:rh3f8fyr]
Surely you need to do a oRecordSet:GoTop() before running the locate code. |
ADO RDD xHarbour | Antonio,
[quote="Antonio Linares":1xfkv8ey]Antonio,
[quote:1xfkv8ey]2) Locates. Can you check the adordd.prg ado_locate to see what might be the problem?[/quote:1xfkv8ey]
Surely you need to do a oRecordSet:GoTop() before running the locate code.[/quote:1xfkv8ey]
xHarbour help
[quote:1xfkv8ey]
<Scope>
This option d... |
ADO RDD xHarbour | [quote="Antonio Linares":8i9n31ii]Antonio,
[quote:8i9n31ii]1) Fields N without any decimal returning 2 decimals. (xxx.00) Do you have any idea what might be the problem.[/quote:8i9n31ii]
Do you use any C code ? if yes then check if hb_retnd() is used somewhere and change it into hb_retnl()[/quote:8i9n31ii]
No hb_re... |
ADO RDD xHarbour | Antonio,
Try this:
(calias)->(__dblocate( {|| MsgInfo( namefiled->name, cNname ), namefiled->name = cNname} ))
And check what it shows
> Fields N without any decimal returning 2 decimals. (xxx.00)
Try to check the size of the field and use int() when its not a decimal |
ADO RDD xHarbour | Antonio, Mr Rao,
[quote:2opahsr4]Try to check the size of the field and use int() when its not a decimal[/quote:2opahsr4]
Solved!
In adofuncs.prg you have:
[code=fw:2opahsr4]<div class="fw" id="{CB}" style="font-family: monospace;"> nLen := <span style="color: #0000ff;">Max</span><span style="col... |
ADO RDD xHarbour | Antonio,
[quote:dlbjhat0](calias)->(__dblocate( {|| MsgInfo( namefiled->name, cNname ), namefiled->name = cNname} ))
And check what it shows[/quote:dlbjhat0]
It seems after 1st time a loose the codeblock I checking why. |
ADO RDD xHarbour | [quote="AHF":rcb5b8vw]Antonio, Mr Rao,
[quote:rcb5b8vw]Try to check the size of the field and use int() when its not a decimal[/quote:rcb5b8vw]
Solved!
In adofuncs.prg you have:
[code=fw:rcb5b8vw]<div class="fw" id="{CB}" style="font-family: monospace;"> nLen := <span style="color: #0000ff;">Max</span><span sty... |
ADO RDD xHarbour | Lucas,
Always both with same size an order.
One for ado framework the other for all usual index functions to work correctly.
The SET ADODBF TABLES INDEX LIST TO must follow the (x)Harbour usual syntax.
The SET ADO TABLES INDEX LIST TO its for SQL it might even contain SQL functions. |
ADO RDD xHarbour | New version adordd at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Locks and exclusive use working.
Dates and numbers working.
Locates working.
Any app code change required. Just Link it. |
ADO RDD xHarbour | Great job Antonio! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
ADO RDD xHarbour | Mr Rao,
[quote:joq2j8lc]+2 is for ( 1 decimal place and 1 minus sign )[/quote:joq2j8lc]
In dbf when we say field,"N" ,11,4 the total length f the field is 11 but in fact one is taken for the "." decimal
so we only have 6,4 and if we want a minus we only have 5,4.
Shouldn't we use the same criteria in adordd ?
Besid... |
ADO RDD xHarbour | Antonio,
Money must be used with 2 decimals because there is a bug with Access. |
ADO RDD xHarbour | Lucas,
Ok thanks.
How are you trials going? |
ADO RDD xHarbour | Antonio,
I am waiting for last version with locates, dates and Numbers fixed.
Thank you. |
ADO RDD xHarbour | Antonio,
Im taking care of exclusive use but throwing the error doesnt do nothing the program just continues.
The same if oRecordSet in NIL
What might be the problem?
[code=fw:p6w24av0]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #B900B9;">//OPEN EXCLUSIVE </span><... |
ADO RDD xHarbour | Antonio,
What are the differences between SET ADO TABLES INDEX LIST TO and SET ADODBF TABLES INDEX LIST TO?.
Tryadordd.prg explanation is not clear.
Also, in last versión locking does not work.
Also, OrdSetFocus() fails too.
I suggest you to try with XBROWSER FASTEDIT.
With this command, you will be able to add... |
ADO RDD xHarbour | Lucas,
Please check your version.ADOVERSION() in adordd and inform.
SET ADO TABLES INDEX LIST TO these are the indexes for adordd without any dbf expressions for ado framework
Ex index expression "date+nrcod+id"
SET ADODBF TABLES INDEX LIST TO are the indexes with dbf expressions as you use in your dbf application
... |
ADO RDD xHarbour | Antonio,
So SET ADO TABLES INDEX LIST TO and SET ADODBF TABLES INDEX LIST TO must be defined both or just one?.
I will recheck with today´s new version.
Thank you. |
ADO RDD xHarbour | Antonio,
Thanks,
Now its only missing:
APPEND FROM
COPY TO
What are the rdd functions for this?
Also what is the porpose of HB_DBDROP HB_DBRENAME? Its ily for sql?
How do you call it from app? |
ADO RDD xHarbour | Antonio,
I need your help.
What are these doing?
/* non WorkArea functions */
#define UR_INIT this I know!
#define UR_EXIT 95
#define UR_DROP = ADO_DROP (DROP TABLE OR INDEX)
#define UR_EXISTS = ADO_EXISTS (TABEL EXIST?... |
ADO RDD xHarbour | Antonio,
You have to check how those commands are translated:
[quote:5wcw9ss0]#command APPEND [FROM <(f)>] [FIELDS <fields,...>] ;
[FOR <for>] [WHILE <while>] [NEXT <next>] ;
[RECORD <rec>] [<rest:REST>] [ALL] ;
[DELIMITED [WITH <*delim*>]] [CODEPAGE <cp>] => ;
... |
ADO RDD xHarbour | It is finally redirected to HB_FUNC( __DBTRANS ):
...
errCode = SELF_TRANS( dbTransInfo.lpaSource, &dbTransInfo ); |
ADO RDD xHarbour | Antonio,
Have you look for those UR_ defines in all Harbour sources ? |
ADO RDD xHarbour | Antonio,
Thanks |
ADO RDD xHarbour | [quote="Antonio Linares":3dmqkpu5]Antonio,
Have you look for those UR_ defines in all Harbour sources ?[/quote:3dmqkpu5]
Yes. In dbcmd.c
[code=fw:3dmqkpu5]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> HB_DBDROP <... |
ADO RDD xHarbour | Antonio,
It looks like a cleaning on exit if needed.
If you don't need it to clean anything, then you don't need it. |
ADO RDD xHarbour | Hello,
Is not working. I get this error:
Error description: Error BASE/1081 Argument error: +
Args:
[ 1] = U
[ 2] = C .DBF
Stack Calls
===========
Called from: test.prg => ADO_OPENSHARED( 2670 )
_ > DBUSEAREA(.T.,aLockCtrl[2],aLockCtrl[1]+".DBF","TLOCKS",.T.)
Called from: test.... |
ADO RDD xHarbour | Elvira,
Please post here test.prg |
ADO RDD xHarbour | Antonio,
I'm working "copy to" but guessing what to do because there isn't any documentation.
Please inform what is in aFieldsStru I see some code blocks but I have no idea what it is.
__dbTrans( nDstArea, aFieldsStru, bFor, bWhile, nNext, nRecord, lRest )
are these parameters correcto for UR_TRANS?
Also paramete... |
ADO RDD xHarbour | Sure,
#include "fivewin.ch"
#include "adordd.prg"
REQUEST ADORDD
function Main()
RDDSETDEFAULT( "ADORDD" )
SET ADODBF TABLES INDEX LIST TO {{ "TEST", {"TEST1", "FIRST"} ,;
{"TEST2", "LAST"} ,;
... |
ADO RDD xHarbour | Elvira,
Please try:
SET ADO LOCK CONTROL SHAREPATH TO "C:" RDD TO "DBFCDX" //cant use final "\"
SET ADO TABLES INDEX LIST and SET ADODBF TABLES INDEX LIST TO
the name is of the table not the alias.
And add HB_RECNO when creating the tables. This field its not auto creates by ado.
Please let me know result.
Tha... |
ADO RDD xHarbour | Antonio,
I did those changes, and I still get:
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 05/05/15, 13:53:30
Error description: Error DBCMD/1015 Argument error: DBUSEAREA
Stack Calls
===========
Called from: => DBUSEAREA( 0 )
Called from: test.prg => ADO_OPENSHARED( 2670 )
-> DBUSEARE... |
ADO RDD xHarbour | Elvira,
Are you linking dbfcdx rdd ?
What version are you using see adoversion please.
Whats this HBDIRBASE ? Im using xHarbour. |
ADO RDD xHarbour | Antonio,
I am using "AdoRdd Version 1.040515/1"
I linked DBFCDX and now I get another error:
Error description: Error ADORDD/1022 Lock required: TABLE1
Stack Calls
===========
Called from: => UR_SUPER_ERROR( 0 )
Called from: test.prg => ADO_PUTVALUE( 1276 )
Called from: test.prg => MAIN( 72 )
And also... |
ADO RDD xHarbour | Elvira,
You must have HB_RECNO or other autoinc type field in your tables and indicate its name to adordd . |
ADO RDD xHarbour | I do have it:
SET ADO DEFAULT RECNO FIELD TO "ID" |
ADO RDD xHarbour | Elvira,
Please post prg. |
ADO RDD xHarbour | Sure,
REQUEST ADORDD, DBFCDX
function Main()
local aArray := {}
RDDSETDEFAULT( "ADORDD" )
SET ADODBF TABLES INDEX LIST TO {{ "TEST2", {"TEST1", "FIRST"} ,;
{"TEST2", "LAST"} ,;
{"TEST3", "AGE... |
ADO RDD xHarbour | Elvira,
You must do it like this:
Please note table1 instead of test2 in SET ADO... TABLES as the indexes are related to tables not to DBs and ID field in dbcreate.
Like this should work ok.
[code=fw:1rfzumft]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SET ADODBF TABLES <span style="color: #0000... |
ADO RDD xHarbour | Antonio,
Thank you but it does not:
[code=fw:zra8gk3o]<div class="fw" id="{CB}" style="font-family: monospace;"><br />REQUEST ADORDD, DBFCDX<br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="c... |
ADO RDD xHarbour | Elvira,
Its a bug !
Take out test2.mdb; from dbcreate.
DbCreate( "table1", { { "FIRST", "C", 30, 0 },;
{ "LAST", "C", 30, 0 },;
{ "AGE", "N", 8, 0 },;
{ "ID" ,"+",10, 0} }, "ADORDD" )
Im correcting it but like this its working here.
Let me know if it worked.
Thanks. |
ADO RDD xHarbour | Elvira,
If you want keep things the same way please replace in adordd in function ado_create
IF( ALLTRIM( cDataBase ) == "" ,cDataBase:= t_cDataSource, cDataBase )
IF( ALLTRIM( cTable ) == "" , cTable := aOpenInfo[ UR_OI_NAME ] ,cTable)
IF( ALLTRIM( cDbEngine ) == "" ,cDbEngine:= t_cEngine, cDbEngine )
I... |
ADO RDD xHarbour | Antonio,
Now I get:
Error description: Error ADORDD/1022 Lock required: TABLE1
Stack Calls
===========
Called from: => UR_SUPER_ERROR( 0 )
Called from: elvira.prg => ADO_PUTVALUE( 1276 )
Called from: elvira.prg => MAIN( 76 )
I also tried with the EXCLUSIVE at USE: <!-- s:roll: --><img src="{SMILIES_P... |
ADO RDD xHarbour | Elvira,
ADOVERSION() Returns adordd version
hb_adoRddGetConnection( nWorkArea ) Returns the connection for the workarea
hb_adoRddGetRecordSet( nWorkArea ) Returns the recordset for the nWorkArea
hb_adoRddGetTableName( nWorkArea ) Returns tabe name for the nWorkArea
hb_adoRddExistsTable( oCon,cTable, cIndex )... |
ADO RDD xHarbour | Antonio,
I can´t add, modify or delete records.
I get that errors.
I open the table like this:
[code=fw:8lf6z6gz]<div class="fw" id="{CB}" style="font-family: monospace;"><br />USE table1 <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"TEST2"</span> <span style="color: #00C800;">NEW</span>... |
ADO RDD xHarbour | Elvira,
Here tryadordd and variants are working perfectly.
I can add modify and delete records with browse() or with append and replace .
I dont work with xBrowse
Did you tried with browse()
Can you navigate well with xbrowse ?
Can you send to my email your trial prg? |
ADO RDD xHarbour | Antonio,
Yes, I tested with Browse() and it fails.
Here is my full sample:
[code=fw:2xaft9xu]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00D7D7;">#include</span> <... |
ADO RDD xHarbour | Antonio,
Please confirm then meaning of each method
aLockInfo[ UR_LI_METHOD ]
DBLM_EXCLUSIVE
DBLM_MULTIPLE
DBLM_FILE |
ADO RDD xHarbour | Antonio,
Have you checked my sample?.
Thank you. |
ADO RDD xHarbour | Elvira,
Yes and it runs ok here.
I ve found out that the problem is with cursorlocation because with ACCESS aduseclient you can not :update()
so I've change it to adUseServer but with adOpenKeyset because with adOpenDynamic ACCESS also does not work correctly.
In my tests with MYSql everything its ok.
Also since loc... |
ADO RDD xHarbour | Mr Rao, Lucas,
How can I use adUseServer cursor with MySql?
I can only work with adUseClient. |
ADO RDD xHarbour | New version adordd.prg posted <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Its very imortant that you indicate in adordd.prg in the several places with the cursorlocation the type of cursor you need to your DB.
Not choosing the rig... |
ADO RDD xHarbour | Lucas,
How can I set value for "Maximum Open Rows" with MySql?
Is it possible with this property that the server only returns blocks of rows as they are requested?
Can this increase performance?
Thanks |
ADO RDD xHarbour | Mr Rao, Lucas,
We found a performance problem with adordd trials.
The issue is that ADO_RECCOUNT (reccount() or lastrec()) sends a sql SELECT MAX(FIELD USED AS RECNO)
This is delaying quite a bit all browses mainly on WAN because gets called many times.
Taking this out the browses are quite fast.
Is there a way to q... |
ADO RDD xHarbour | Antonio,
I have not been able to test last version due lack of time. Does it work with Access now?. Which RDBMS have you tested?.
Regarding configuration optimization settings, please review adofuncs.prg Fw_OpenAdoConnection and FW_OpenRecordSet. They are high optimized and work very well. Also, for a WAN connection,... |
ADO RDD xHarbour | Antonio, congratulations for your work!!!
I test to compile the adordd.prg with xHarbour and become many errors:
[code=fw:26x2sgxj]<div class="fw" id="{CB}" style="font-family: monospace;">MAKE Version <span style="color: #000000;">5.2</span> Copyright <span style="color: #000000;">(</span>c<span style="color: #00... |
ADO RDD xHarbour | [quote="lucasdebeltran":ju475lui]Antonio,
I have not been able to test last version due lack of time. Does it work with Access now?. Which RDBMS have you tested?.
Regarding configuration optimization settings, please review adofuncs.prg Fw_OpenAdoConnection and FW_OpenRecordSet. They are high optimized and work very ... |
ADO RDD xHarbour | [quote="byte-one":9do002tf]Antonio, congratulations for your work!!!
I test to compile the adordd.prg with xHarbour and become many errors:
Also the "hbusrrdd.ch" are not present at xHarbour (only usrrdd.ch)
What to do?[/quote:9do002tf]
We are still clearing code.
I'll post today a new version with these correction... |
ADO RDD xHarbour | Antonio,
Latest version from 06 seems much better.
I found a bug at dbcreate, you are not distinguishing Database and Table, so dbcreate fails.
Also, command SET ADO TABLES INDEX LIST TO <array> and SET ADODBF TABLES INDEX LIST TO <array>have been changed?. I can´t see the difference.
Also, SET ADO LOCK CONTROL SHA... |
ADO RDD xHarbour | New version adordd.prg <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Please check readme. |
ADO RDD xHarbour | [quote="lucasdebeltran":1683noph]Antonio,
Latest version from 06 seems much better.
I found a bug at dbcreate, you are not distinguishing Database and Table, so dbcreate fails.
Also, command SET ADO TABLES INDEX LIST TO <array> and SET ADODBF TABLES INDEX LIST TO <array>have been changed?. I can´t see the difference... |
ADO RDD xHarbour | Lucas,
adordd works mainly with cursor adUseClient.
This brings a problem because new and deleted records by others are not seen.
Deleted records its not so difficult because in editions or transactions when we lock we do resync and if there is an error we requey and locks fail so edition or transaction doesn't not ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.