topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
ADO RDD xHarbour | Lucas,
This is a access limitation.
I get the same error. Record too big
With MySql perfect! |
ADO RDD xHarbour | Antonio,
Could you provide a URL for the most recent ADORDD version ? thanks |
ADO RDD xHarbour | Antonio,
You have to wait that Antonio finishes some bugs, as current version is still not usable. |
ADO RDD xHarbour | Lucas,
adordd emailed.
Antonio,
We are still finishing some parts I expect to publish it again tomorrow evening.
Meantime I need to alter FILE() to check if the table or index exists in the DB.
How can we do it? |
ADO RDD xHarbour | Antonio,
You can't modify File() behavior as far as I know as it is a standard Harbour function.
You can use FWH function FW_AdoTableExists( cAdoTable, oConnection ) |
ADO RDD xHarbour | Antonio,
Ok but I think it would make sense. |
ADO RDD xHarbour | Antonio,
I sent an email with bugs and fixes proposed.
About FILE, for checking dbfs I have a function like this:
[code=fw:3r880fnu]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">FUNCTION</span> IsDataBase<span style="color: #000000;">(</span> cFichero <... |
ADO RDD xHarbour | Antonio,
About dbcreate autoincrement field, we sould use Ains instead of Aad:
[code=fw:o1oynop1]<div class="fw" id="{CB}" style="font-family: monospace;">AIns<span style="color: #000000;">(</span> aCols, <span style="color: #000000;">1</span>, <span style="color: #000000;">{</span> ADODEFLDRECNO<span ... |
ADO RDD xHarbour | Hello! For me only the MS SQL Server is important.
This text from MSDN should be respected:
[quote:2xzdha91]Note
If you are connecting to a data source provider that supports Windows authentication, you should specify Trusted_Connection=yes or Integrated Security = SSPI instead of user ID and password information in t... |
ADO RDD xHarbour | Gunther,
The dbcreate() should work with mssql but unfortunately I can only try it with MySql.
Is it because of the connection string without user and password ?
Can you try it yourself altering the connection parameters in ADOCONNECT()? |
ADO RDD xHarbour | [quote="lucasdebeltran":cpyzkqid]Antonio,
About dbcreate autoincrement field, we sould use Ains instead of Aad:
[code=fw:cpyzkqid]<div class="fw" id="{CB}" style="font-family: monospace;">AIns<span style="color: #000000;">(</span> aCols, <span style="color: #000000;">1</span>, <span style="color: #000000;">{... |
ADO RDD xHarbour | Antonio,
Sorry, I don´t understand.
We have to check it at FUNCTION ADOSTRUCTTOSQL().
If the programmer has indicated in aStruct the autoincremental field, it´s perfect, nothing to be done.
Otherwhise:
[code=fw:1qx855sh]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</spa... |
ADO RDD xHarbour | Lucas,
This is in ado_open() for next fields
[code=fw:3ov2x4bt]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">IF</span> ADO_FIELDSTRUCT<span style="color: #000000;">(</span> oRecordSet, n<span style="color: #000000;">-1</span> <span style="color:... |
ADO RDD xHarbour | adordd its working quite well but still some adjustments to do. (MySql)
Our client is working with the app with adordd in MySql in parallel with the same app with ADS comparing all transactions and behavior between the two. He s quit happy. (2nd week trials on real data)
The app its more than 90% converted ( tested )... |
ADO RDD xHarbour | Antonio,
I am also having trouble with MySQL.
For somehow, at ADOFINDREC() oRecordSet:AbsolutePosition := IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition )
is set to -1, and it gives an error.
oRecordSet:AbsolutePosition can´t be minor than 0.
Do yoy know why?
Thank you. |
ADO RDD xHarbour | Lucas,
You don't have recno field and your cursor doesn't support bookmarks.
Please note that although the code foresee a situation where you don't have hbrenco results would be unpredictable in some circumstances.
If you are using version sent by last email when you opened this table it should have created the hbr... |
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.
Also, the sintax for ALTER TABLE is failing to... |
ADO RDD xHarbour | Lucas,
If it is the first field can be 0!
Might be a bug.
In all our tables its always the last field and I suspect that with zero IF EMPTY(aWAData[WA_FIELDRECNO]) rerturns .t..
Please try delete hbrecno and add it to the end of all fields. |
ADO RDD xHarbour | Antonio,
Another bug in ADO_APPEND() and MySQL.
Dates are not saved into aVals, so oRs:AddNew( aCols, aVals ) fails.
Also maybe a problem with empty dates?. |
ADO RDD xHarbour | Antonio,
[quote:32iiviic]Please try delete hbrecno and add it to the end of all fields.[/quote:32iiviic]
Yes, in that case works, but I think HBRECNO should be the first field, also as the PRIMARY KEY.
Thank you. |
ADO RDD xHarbour | Lucas,
[quote:ci9r75zo]
Another bug in ADO_APPEND() and MySQL.
Dates are not saved into aVals, so oRs:AddNew( aCols, aVals ) fails.
Also maybe a problem with empty dates?.
[/quote:ci9r75zo]
Here working ok.
[code=fw:ci9r75zo]<div class="fw" id="{CB}" style="font-family: monospace;"><br />append blank<br />replace ... |
ADO RDD xHarbour | Antonio,
It´s with MySQL.
At ADO_APPEND, i checked aVals and date fields very empty.
Are you testing with Access or MySQL?.
With ACCESS Works fine. |
ADO RDD xHarbour | Lucas,
MySql and its working ok. |
ADO RDD xHarbour | [quote="lucasdebeltran":15942jlr]Antonio,
It´s with MySQL.
At ADO_APPEND, i checked aVals and date fields very empty.
Are you testing with Access or MySQL?.
With ACCESS Works fine.[/quote:15942jlr]
This might be due to not nullable fields defined in MySql table structure. |
ADO RDD xHarbour | Lucas,
Basic :filter ready.
Please note that expressions like '.. month(fielddate) =' are invalid.
We cant use functions in field expressions.
The only way to use standard filter expressions is like in the mail Ive sent you.
I don't see any other way.
Concerning add column in first position to use as recno please ... |
ADO RDD xHarbour | Antonio,
No, the replace is as follows:
REPLACE FIELD->FECHA WITH Date().
Here is MySQL capture:
[img:2vbpi6sl]http://i60.tinypic.com/ehej9z.png[/img:2vbpi6sl]
About filtering, I don´t understand. ADORDD should be able to support filters like those ones:
[code=fw:2vbpi6sl]<div class="fw" id="{CB}"... |
ADO RDD xHarbour | Lucas,
Mailed you last version.
[quote:171npgya]cCondicion := "Dtoc( FIELD->FECHA ) >= " + chr( 34 ) + Dtoc( dFecha1 ) + chr( 34 ) + ;
" .AND. Dtoc( FIELD->FECHA ) <= " + chr( 34 ) + Dtoc( dFecha2 ) + chr( 34 )
SET FILTER TO alltrim( AUXILIAR->RELACION ) == alltrim( STR( oData:Codigo ))
cC... |
ADO RDD xHarbour | Lucas,
[quote:1m7w63eb]No, the replace is as follows:
REPLACE FIELD->FECHA WITH Date().
[/quote:1m7w63eb]
Here with MySql it works so must be a configuration issue.
Here fielddate is:
FIELDDATE DATE NULL DEFAULT NULL;
All other options empty |
ADO RDD xHarbour | Lucas,
Your MySql innoDB ? |
ADO RDD xHarbour | Antonio,
With the version you just send me, there are some bugs so far:
At, ADOFINDREC(), oRecordSet:AbsolutePosition := IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition ) is failing, as IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition ) its giving -... |
ADO RDD xHarbour | Fix for HBRECNO creating:
[code=fw:1kew1pv8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> ADO_CREATE<span style="color: #000000;">(</span> nWA, aOpenInfo <span style="color: #000000;">)</span... |
ADO RDD xHarbour | Lucas,
[quote:2tu34i3j]
Antonio,
With the version you just send me, there are some bugs so far:
At, ADOFINDREC(), oRecordSet:AbsolutePosition := IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition ) is failing, as IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:Absolute... |
ADO RDD xHarbour | Antonio,
With my previous code for HBRECNO, ADOFINDREC() does not fail.
Thank you. |
ADO RDD xHarbour | Antonio,
DbAppend(, ADO_APPEND(), fails with dates here:
[code=fw:1gnop0pg]<div class="fw" id="{CB}" style="font-family: monospace;"> AADD<span style="color: #000000;">(</span> aVals, HB_DECODE<span style="color: #000000;">(</span> aStruct<span style="color: #000000;">... |
ADO RDD xHarbour | Antonio,
I asked about empty dates at append blank.
Also, SET FILTER does not suport values, i.e:
[code=fw:1btupuaa]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SET FILTER <span style="color: #0000ff;">TO</span> LUCAS->NAME == cName<br /> </div>[/code:1btupuaa]
Thank you.
Seems less to finish AD... |
ADO RDD xHarbour | Lucas,
[quote:1kvyet68]It does not support an empty CTDOD().[/quote:1kvyet68]
How can it work here like that? adordd its prepared to consider 31/12/1899 as empty date.
We place 31/12/1899?
[quote:1kvyet68]With my previous code for HBRECNO, ADOFINDREC() does not fail.[/quote:1kvyet68]
Table is the same ? Here that v... |
ADO RDD xHarbour | Lucas,
[quote:21606f89]I asked about empty dates at append blank.[/quote:21606f89]
Please explain.
[quote:21606f89]Also, SET FILTER does not suport values, i.e:
Code:
SET FILTER TO LUCAS->NAME == cName
[/quote:21606f89]
Thats what I was speaking about. All vars must be evaluated before sent to ado filter once t... |
ADO RDD xHarbour | Antonio,
About filtering, is not possible at SqlTranslate() to evalutate cName, so as to get its value and build the filter?. |
ADO RDD xHarbour | Antonio,
At ADOAPPEND(), and using Mr. Nages advice, this is the proper fix:
[code=fw:2s4fo7x1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> AADD<span style="color: #000000;">(</span> aVals, HB_DECODE<span style="color: #000000;">(</span> aStru... |
ADO RDD xHarbour | Antonio,
I get this error:
[quote:3qluylq5]
[0x80040E38][Microsoft Cursor Engine] Row cannot be located for updating. Some values may have been changed since it was last read
Error description: (DOS Error -2147352567) WINOLE/1007 No se puede encontrar la fila para su actualización: algunos valores han cambiad... |
ADO RDD xHarbour | But current NAME is LUCAS DE BELTRAN, not 50 or 34 chars. |
ADO RDD xHarbour | Lucas,
[quote:65yab36l]
DO_PUTVALUE( 1503 ) -> oRecordSet:Update()
oRecordSet:Fields( nField - 1 ):Value := xValue
oRecordSet:Update()
This is my code:
REPLACE FACTURAS->NOMBRE WITH CLIENTES->NOMBRE
.... and so one
The real cause:
Field lengh for FACTURAS nombre is 34, but in CLIENTES is 50.
[/quote:65yab36l]
... |
ADO RDD xHarbour | Antonio,
I don´t understand what you say about dates.
Your xHarbour version has a bug, but recent Harbour and xHarbour must have an emtpy date, and it´s achieved by using AdoNull().
This code at ADO_APPEND() works fine and have been tested:
[code=fw:22kr5qr0]<div class="fw" id="{CB}" style="font-family: monospace;"... |
ADO RDD xHarbour | Lucas,
Filters without any change in the app code. (I dont know about performance)
[code=fw:19h85cvh]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> ADO_SETFILTER<span style="color: #000000;">(</span> nWA, aF... |
ADO RDD xHarbour | Antonio,
Thank you.
ADO_CLEARFILTER() should be as follows:
[code=fw:334ypifg]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> ADO_CLEARFILTER<span style="color: #000000;">(</span> nWA <span style="colo... |
ADO RDD xHarbour | Lucas,
Did it work ?
I only can test it here today with ADS LOCAL and although all get all bookmarks it only displays one in browse(). |
ADO RDD xHarbour | Antonio,
No it didn´t.
aBookMarks almost always get all the values matching the filter.
But many times after SET FILTER command, the dbf is empty!!.
Any possible clue?.
Maybe, at oRecordSet:Filter instead of BookMarks use HHBRECNO numbers?. |
ADO RDD xHarbour | Lucas,
I assume that you placed a msgselect to inspect aBookmarks.
Please note that aBookmarks order change accordingly to the index order.
Here I always get all matches in aBookmarks.
The problem is that only shows one in browse and does not navigate through all.
I think it might have something to do with the var t... |
ADO RDD xHarbour | Antonio,
Yes, I inspected aBookmarks and I saw that all matches were in aBookmarks.
However, most of times I get no records. Please use MySQL instead of ADS.
As far as I know, :Bookmark is managed by ADO itself:
<!-- m --><a class="postlink" href="https://msdn.microsoft.com/es-es/library/windows/desktop/ms675862(v=v... |
ADO RDD xHarbour | Lucas,
Acc to documentation with aduseclient bookmarks are always assured by ado.
I cant test it today with Mysql only tomorrow.
ado its taking care of bookmarks and yes sometimes they might have strange values because they are "variant" variable. But they are always correct in ado sense.
We cant send hbrecno as bo... |
ADO RDD xHarbour | Lucas,
Please check this <!-- m --><a class="postlink" href="http://en.wikipedia.org/wiki/Variant_type">http://en.wikipedia.org/wiki/Variant_type</a><!-- m --> |
ADO RDD xHarbour | Antonio,
I did this test:
[code=fw:1ffq0yax]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> ! oRecordSet:<span style="color: #000000;">Eof</span><span style="color: #000000;">(</span... |
ADO RDD xHarbour | Lucas,
Try set filter to fieldrecn = nrecno and fieldrecn =nrecno
Does it works? |
ADO RDD xHarbour | Lucas,
Comment this in ado_setfilter
[quote:1qt5cgfw]
* ADO_GOTOID( nWA, nRecNo )
IF oRecordSet:Eof() //does not have this rec in filter lets gotop
ADO_GOTOP(nWa)
ENDIF
*/
[/quote:1qt5cgfw]
Did it work? |
ADO RDD xHarbour | Antonio,
Yes!!, now commenting out such lines oRecordSet:Filter := aBookMarks works perfect!!!.
Congratulations.
I am going to send you an email with minor bugs.
Thank you. |
ADO RDD xHarbour | Lucas,
I assume then you are using this:
[code=fw:3pmx0ubq]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> ! oRecordSet:<span style="color: #000000;">Eof</span><span style="color: #000000;">(</span><span style... |
ADO RDD xHarbour | Antonio,
No, I am using AADD( aBookMarks, oRecordSet:BookMark )
I think your approach is the same as SQLRDD.
And also, we have Scopes, faster that Filters. |
ADO RDD xHarbour | Lucas,
Ok Great <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> I miss understood it
Can you now try it with your app?
It would be great to have your comments.
Im going to try it myself tomorrow. |
ADO RDD xHarbour | Antonio,
I am already testing with my App.
So that´s how I discovered most bugs and the one at dbseek().
Thank you. |
ADO RDD xHarbour | New version adordd <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> |
ADO RDD xHarbour | Antonio,
DbFilter() does not return the filter expresión.
Also, OrdSetFocus() when there is an active filter fails.
Thank you. |
ADO RDD xHarbour | Antonio,
As you change position to HBRECNO at ADO_CREATE(), this fix is required to handle the array:
[code=fw:2tfli1no]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #B900B9;">/*<br /> fix to add HBRECNO if it´s not present // Lucas De Beltran... |
ADO RDD xHarbour | Lucas,
[quote:2wtatgr7]
DbFilter() does not return the filter expresión.
[/quote:2wtatgr7]
Corrected!
[quote:2wtatgr7]Also, OrdSetFocus() when there is an active filter fails.[/quote:2wtatgr7]
Here seems to be working ok. Can you post an example?
This is happening on version posted yesterday? |
ADO RDD xHarbour | Lucas,
[quote="lucasdebeltran":30v22exr]Antonio,
As you change position to HBRECNO at ADO_CREATE(), this fix is required to handle the array:
[code=fw:30v22exr]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #B900B9;">/*<br /> fix to add HBRECNO if it´s not present // ... |
ADO RDD xHarbour | Antonio,
To debug OrdSetFocus(), I need the fix for dbfilter() please, to trace the problem.
It my be related when appending of replacing records, the filter is cleared?.
I don´t know if it happened before.
About ArrayTranspose(), its aviable here:
<!-- m --><a class="postlink" href="https://bitbucket.org/fivetech... |
ADO RDD xHarbour | Lucas,
Check you email. |
ADO RDD xHarbour | Lucas,
Ordsetfocus() with filters seems to be working ok here. (MySql) |
ADO RDD xHarbour | Antonio,
And when the INDEX TAG has a condition?.
Thank you. |
ADO RDD xHarbour | Lucas,
I didnt try it.
As soon as I have some time we ll try it. |
ADO RDD xHarbour | Antonio,
Set filter is not working fine.
aBookMarks is always is righ.
However, sometimes I get only one record, when I should get three records.
Even, at Browse I see three of them, but I i click on the browse, the cursor only shows one. |
ADO RDD xHarbour | Lucas,
Please try:
1st without indexes. Is it working ?
2nd indexes without condition. Is it working ?
3rd indexes with condition. Is it working ?
Here with browse() 1st and 2nd working. (MYSQL)
I suspect that has something to do with ado_reccount() |
ADO RDD xHarbour | Lucas,
Use this in adordd (i dont know if your version has already ADO_FILTERTEXT
if not place this in ADORDD_GETFUNCTABLE
aADOFunc[ UR_FILTERTEXT ] := (@ADO_FILTERTEXT())
and replace with this
[code=fw:gypa73j8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">STATIC</... |
ADO RDD xHarbour | Antonio,
OrdKeyCount() seems ok, but reccount() gets wrong results, adding more records that the ones concerning the filter.
Have you tested with xBrowse(). |
ADO RDD xHarbour | Antonio,
I tested same filter with DBFCDX and RecCount() also is different in DBFCDX from OrdKeyCount(). I am lost.
This is how xBrowse sets the RDD:
[code=fw:b409sfov]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> SetRDD<span style="color: #000000;">(... |
ADO RDD xHarbour | Lucas,
I cant work with xBrowse()
[code=fw:156dlp2y]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> ADO_RECCOUNT<span style="color: #000000;">(</span> nWA, nRecords <span style="color: #000000;">)</span><br />... |
ADO RDD xHarbour | Antonio,
This is the same ADO_RECCOUNT() as current, isn´t it?.
Why can´t you work with xBrowse()?.
It was introduced since 2002-2003 in FWH. |
ADO RDD xHarbour | Lucas,
[quote:xah1ahgo]I tested same filter with DBFCDX and RecCount() also is different in DBFCDX from OrdKeyCount(). I am lost.
[/quote:xah1ahgo]
Im not sure what you mean.
Recno() = record number in the table
OrdKeyNo() record number in the index
OrdKeyCount() = total records in the index (if index with conditio... |
ADO RDD xHarbour | Lucas,
Try this:
[code=fw:3668syet]<div class="fw" id="{CB}" style="font-family: monospace;"><br />USE table<br /> <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"total recs "</span>+str<span style="color: #000000;">(</span>lastrec<span sty... |
ADO RDD xHarbour | Antonio,
[quote:2lubf822]adordd should be treated as any dbf rdd.[/quote:2lubf822]
Yes, it should be but in fact does not.
The problem happens when the filter cover more that one record.
With one record is fine.
Also, it happens only with xBrowse().
Which version of Fivewin are you using?.
Thank you. |
ADO RDD xHarbour | Lucas,
Fivewin october 2008
I think this is not implemented in adordd !
This is not used in our converted app.
[code=fw:1897shhx]<div class="fw" id="{CB}" style="font-family: monospace;"> <br />bKeyNo,; <span style="color: #B900B9;">// SETGET codeblock to be used for positioning the verti... |
ADO RDD xHarbour | Antonio,
I sent you an email with a test function for xBrowse().
Browse() sometimes fails, less than xBrowse(), but also Browse() sometimes does not reflect all records within a FIlter. |
ADO RDD xHarbour | Lucas,
Ok Ill check it.
Did this function?
[code=fw:33fqeltt]<div class="fw" id="{CB}" style="font-family: monospace;">USE table<br /> <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"total recs "</span>+str<span style="color: #000000;">(</... |
ADO RDD xHarbour | Lucas,
I notice in your code
[code=fw:6suzfljc]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> DELETED<span style="color: #000000;">(</span><span style="color: #000000;">)</span> TAG DELETED <span style="color: ... |
ADO RDD xHarbour | Antonio,
The full statement is:
[code=fw:bq83a6le]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #00C800;">if</span> <span style="color: #000000;">(</span> uData <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> R... |
ADO RDD xHarbour | Lucas,
Ive made a small and I think that we cant use :find on :filter dont know why and its doesnt make sense but all indicates to that.
After using :find with :filter recordset goes nuts.
Does Mr. Rao knows anything about this ?
Ill try tomorrow a workaround. |
ADO RDD xHarbour | Lucas,
Check your email new adordd with filters working.
The problem was with :find that you cant use with active :filter.
Please try it and let me know results.
Thanks. |
ADO RDD xHarbour | Lucas,
ConnectionTimeout does not function the way we needed this only avoids the timeout default of 15s of ado.
If you set it to 0 ado will try forever otherwise throws error.
I think we should set it to 60 seconds then ask the user if he likes to continue trying.
The DBA from our client advise us to do the followin... |
ADO RDD xHarbour | Antonio,
Filters seem to be working ok.
I have to do more tests.
Congrats !!.
Also, I have to say that your ADORDD is much faster than SQLRDD from xHarbour.com and Patrick Mast.
Thank you. |
ADO RDD xHarbour | Lucas,
I just emailed you a new version with:
Filters with updates and addnew and indexes completed.
Index on now adds the index to the opened indexes list. You can use after just ordsetfocus().
Please check it and let me know your findings.
[quote:2wmv36bo]Also, I have to say that your ADORDD is much faster than ... |
ADO RDD xHarbour | Antonio,
With the version you send me a coupple of hours ago, filters are failing again. |
ADO RDD xHarbour | Lucas,
Sorry it was my mistake.
Please see my email. |
ADO RDD xHarbour | Lucas,
Concerning connection lost control I just receive a information from our client to try this way:
Timer issuing a dummy query to the server or checking state of the connection.
If it fails "locks" immediately all updates to the recordset and only "unlocks" updates when the connection come back again.
I hope thi... |
ADO RDD xHarbour | Lucas,
Concerning eval error this only happens when you dont have a active filter Right? |
ADO RDD xHarbour | Yes. |
ADO RDD xHarbour | Antonio,
[quote="AHF":252jd9sa]How can we catch the connection lost error?
Do you or anyone have any experience with this. Mr Rao? Enrico? Rick?[/quote:252jd9sa]
What about TRY/CATCH/END?
EMG |
ADO RDD xHarbour | Enrico,
Thanks but we choose other way.
adordd will use a timer to keep connection live.
And a test in certain routines to see if it is connected otherwise it let you do anything but:
Updates, New records, changing index orders
You will continue to work disconnected and as soon as you get connected again everything... |
ADO RDD xHarbour | Antonio,
There are the post I was refering to:
<!-- m --><a class="postlink" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26907&start=0&hilit=recordset+local">http://forums.fivetechsupport.com/viewt ... dset+local</a><!-- m -->
<!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forum... |
ADO RDD xHarbour | Antonio,
xBrowse feature wildseek is not working.
When you type values, it filters, but when you start deleting such value filtered records are still on xbrowse.
Please test this code with DBFCDX and ADORDD:
At. [b:2s2awiej]:cFilterFld [/b:2s2awiej]:= "FIRST" you have to indicate the field you want to filter for... |
ADO RDD xHarbour | Stay tuned adordd its ready and Ill post new version later today. |
ADO RDD xHarbour | Adordd its ready to work at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
It has been in development since Feb 2015 and being tested on real application working in parallel with the actual application with ADS and passed all trials.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.