topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
ADO RDD xHarbour | In tryadordd.prg change
[code=fw:31kkkx9m]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">IF</span> !FILE<span style="color: #000000;">(</span> <span style="color: #ff0000;">"<span style="color: #000000;">\T</span>ESTADORDD.mdb"</span> <span style="color: #000000;">)... |
ADO RDD xHarbour | Gunther,
Done.
Thanks |
ADO RDD xHarbour | New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
minor bugs corrections
better detection of refreshing new records added by others
improvement speed in replaces |
ADO RDD xHarbour | Gunther,
Left overs! Done!
Indexes without UDFs are not really created they are transform into ado_sort.
This is done when calling set order to, ordsetfocus just like in clipper resuming when the order becomes active.
Indexes with UDFs are created either with index on... or created with ordsetfocus if the index is ... |
ADO RDD xHarbour | Antonio in line 927
[code=fw:3d9x7dmz]<div class="fw" id="{CB}" style="font-family: monospace;">nSecs := Seconds<span style="color: #000000;">(</span><span style="color: #000000;">)</span></div>[/code:3d9x7dmz]
should be removed!
An other technical question:
In which moment the indexes are build??
Thanks |
ADO RDD xHarbour | Antonio, and for clearness:
In which cases UDF-Indexes are required and can i use in normal indexes (with SORT) all Harbour functions? |
ADO RDD xHarbour | Gunther,
In Harbour indexes we have 2 kind of functions.
1st the ones we are obliged to use because we must have only one data type in the index expression. The big part!
These are conversion data type functions that is not needed in ADO :sort thus adordd extracts the fields and is straight forward. You dont need to ... |
ADO RDD xHarbour | Antonio, now is clear! Thanks.
Now i have converted with your function some DBFs to MSSQL. All is ok, but if in a character- or Memofield is a single Quote, a error occurs! This quotes should be converted in another character!? |
ADO RDD xHarbour | Gunther,
I decided not to translate these strings at adordd because then problems come with passwords, encrypted strings etc. Thus the user has to decide himself how he pretends to save it.
If anyone has a better idea we can try to include it in adordd.
You can try
STRTRAN( cStr, "'" , "''" )
or
STRTRAN( cStr, "'... |
ADO RDD xHarbour | Antonio, where in hb_AdoUpload() (or in other function) are this conversations to do? As parameter Y/N? |
ADO RDD xHarbour | Gunther,
Sorry I misunderstood.
Can you post the error? |
ADO RDD xHarbour | Gunther,
I see it now.
The app I m using does not accept single quotes in fields because of some xml extraction.
Try with this in ado_putvalue
xValue := '"'+xValue+'"'
Instead of xValue := "'"+xValue+"'" |
ADO RDD xHarbour | Antonio, this is not functioning (MSSQL 2014). I use [code=fw:2qfe1sgw]<div class="fw" id="{CB}" style="font-family: monospace;">xValue :=<span style="color: #ff0000;">"'"</span>+ STRTRAN<span style="color: #000000;">(</span> xValue, <span style="color: #ff0000;">"'"</span>, <span style="color: #ff0000;">"''"</span... |
ADO RDD xHarbour | Gunther,
Ill post a new build maybe today that solves this problem for all engines. |
ADO RDD xHarbour | New build adordd version 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Changes:
Should compile now with Harbour and without FiveWin but I didnt test it.
Field replaces with special chars (single quotes, apostrophes, etc ) sh... |
ADO RDD xHarbour | New build adordd version 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Small bug corrections:
Corrected bug when updating a indexkey with UDF index.
Corrected bug when adding new record with UDF index and UDF index is empty.... |
ADO RDD xHarbour | New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Changes:
Finally it seems that we managed to increase dramatically the opening times for huge tables and much better memory usage.
1) New SET ADO PRE OPEN T... |
ADO RDD xHarbour | Antonio,
Thank you for this adordd version and adordd in general.
I tried to compile/link this newest adordd.
I got the following error:
Error: Unresolved external '_HB_FUN_HB_PS' referenced from C:\PIETER\XHARBOUR123
\LIB\ADORDD.LIB|adordd
Pieter |
ADO RDD xHarbour | I have not had time to try your great work
I hope I can use it from now
Thank you for your effort |
ADO RDD xHarbour | Pieter,
You must compile and link adordd.prg not adordd.lib.
There is a bug in INDEX ON temporary files without any UDFs or index condition otherwise its ok.
Ill post a new corrected build asap. |
ADO RDD xHarbour | Cristobal,
Thanks, Im looking forward to your comments. |
ADO RDD xHarbour | Antonio, oké, thanks.
Same error:
Error: Unresolved external '_HB_FUN_HB_PS' referenced from C:\PIETER\UB404-8SEPT
EMBER2015-V4\UB\ADORDD.OBJ
Am I doing something wrong with compiling/linking (or is it because of the bug)?
Pieter |
ADO RDD xHarbour | Pieter,
Are you using Harbour or xHarbour?
Try comment #include "hbcompat.ch" |
ADO RDD xHarbour | Antonio, I use Xharbour. I comment #include "hbcompat.ch" like you suggested. it is solved now. Thanks. |
ADO RDD xHarbour | Pieter,
Strange I use xHarbour and it compiles ok with that line not commented.
Could you try this to see if it works?
#ifndef __XHARBOUR__
#include "hbcompat.ch"
#endif |
ADO RDD xHarbour | Antonio,
#ifndef __XHARBOUR__
#include "hbcompat.ch"
#endif
With above code my program compiles and link.
Pieter |
ADO RDD xHarbour | Pieter,
Thanks |
ADO RDD xHarbour | New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Changes:
1) Bug creating indexes was searching index name with = instead of == returning sometimes wrong name and expression.
This has been disrupted when co... |
ADO RDD xHarbour | Antonio, cMark must defined as LOCAL!
[code=fw:2ih5x928]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> ADOTEMPTABLE<span style="color: #000000;">(</span> DbEngine, oCon, cTable<span style="color: #000000;">)</s... |
ADO RDD xHarbour | Antonio,
I have a big concern with the new update.
I program exensively using objects. In these objects I may open the same DBF in many methods--often just to look something up, then close it. I do this mainly so I don't have to worry about reusing an already open copy of a database. If I did use already open DBFs, t... |
ADO RDD xHarbour | Gunther,
Thanks.
Done!
But in fact its not used. |
ADO RDD xHarbour | James,
The fact of the tables defined in SET ADO THRESHOLD has nothing to do with the apps.
It internally used by adordd but for the user everything is the same.
You can do whatever you want in your app just like with any other rdd.
When I say opening the tables means to build the recordets and this takes some time.... |
ADO RDD xHarbour | James,
Its really very simple.
I port apps like this:
1) Add adordd.prg to the actual project.
2) Then code in at the initial proc or function :
[code=fw:2iuaxlvz]<div class="fw" id="{CB}" style="font-family: monospace;"><br />RddRegister<span style="color: #000000;">(</span><span style="color: #ff0000;">"ADORD... |
ADO RDD xHarbour | Antonio,
Thanks for your prompt, extensive, and [b:2gv77tkj]encouraging[/b:2gv77tkj] responses. I will be reading and re-reading them, and I will test them as soon as I can.
Keep up the great work.
Regards,
James |
ADO RDD xHarbour | Antonio, a suggestion:
In ADOSHOWERROR() should also the database an the actual table displayed!
And a question:
Code like [code=fw:30ar8u3l]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> TESTADISC->REDATUM <span style="colo... |
ADO RDD xHarbour | Gunther,
Any valid clipper expression must work. If not something is wrong with adordd.
ADODBF INDEX ... is only for indexes that are used by the app and are created only once.
All indexes created (normally temporary) during app run time should not be place there.
adordd will create them as any other rdd.
See my pre... |
ADO RDD xHarbour | Antonio, i use MSSQL. I have explored in the meantime the rdd. All is ok. And i found out, that indexes with ADODBF INDEX ... are in ordernumber < indexes created with INDEX ON... and both can used the same time. Indexes without UDF are really extreme in speed! Some indexes (fields) i will change to use this speed.
Th... |
ADO RDD xHarbour | Gunther,
Im glad to know that it suites you.
[quote:39xaxvhw]...that indexes with ADODBF INDEX ... are in ordernumber < indexes created with INDEX ON... and both can used the same time[/quote:39xaxvhw]
I dont understand what you mean.Is it a bug? |
ADO RDD xHarbour | Gunther,
Still I dont get it.
If you have autoopen on always the ADBODBF INDEX its added first to the order list when you open the table.
If INDEX ON is after it will be added after.
If autopen off index on will be added first if you not did explicitly set index to the index in ADODBF INDEX.
If you found other beha... |
ADO RDD xHarbour | Antonio, not a bug!
I have tested ADODBF INDEX ... and INDEX ON... at same time. The OrdList begins [b:stq41aw4]always[/b:stq41aw4] with the indizes defined in ADODBF INDEX ... This is very important to know! |
ADO RDD xHarbour | Antonio, for me the RDD works perfect!
A practice suggestion:
In ADOPREOPENTHRESHOLD() not only the size in records should work as a filter. Also a substring (or a array with substrings) of the tablename are interesting for filtering the DBs for pre-open! (ex. only "2015" -> DB2015 and Faw2015gt and Klima2015 and ..... |
ADO RDD xHarbour | Gunther,
Great! Im glad to know <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
[quote:1chfqo60]A practice suggestion:
In ADOPREOPENTHRESHOLD() not only the size in records should work as a filter. Also a substring (or a array with substrings) of the tablename are ... |
ADO RDD xHarbour | Antonio, before i test my app with ca. 60 DBs with your ADORDD i must change some field-names (ex. CHECK or SCHEMA) as they are not allowed in SQL.
I use MSSQL. In my tests indices with UDFs should be avoided (>1000 records). The fastest way is to use only full fieldnames for indexkey. There are some DB-changes recomme... |
ADO RDD xHarbour | Gunther,
The tests Ive made with Mysql and reserved keywords as field name its working ok.
You cant use those keywords in triggers, procedures functions etc but should be ok as field names as they are special quoted in all expressions.
Please try it because I think you dont need to do anything.
[quote:2j4b5g9s]I us... |
ADO RDD xHarbour | MSSQL-Server native errors 102 or 156: Incorrect syntax near the keyword 'BIT', Incorrect syntax near the keyword 'SCHEMA'. I use SCHEMA and CHECK as fieldnames -> not allowed! |
ADO RDD xHarbour | Gunther,
I forgot to have it done to MSSQL.
Place this line in ADOQUOTEDCOLSQL in CASE dbEngine = "MSSQL"
cCol := "`" + cCol + "`"
if it doesnt work try
cCol := '[' + cCol + ']'
Should work now. |
ADO RDD xHarbour | OK now []! Thanks. |
ADO RDD xHarbour | Antonio, I found, that when the eof() reached no further operations in this table are possible! I must use GO TOP in this case and then the table is reachable again!
(MSSQL) |
ADO RDD xHarbour | Gunther,
Im not using MSSQL Im using MySql and its ok.
Can you post code example ? |
ADO RDD xHarbour | After [code=fw:3g50i7vb]<div class="fw" id="{CB}" style="font-family: monospace;">dbgoto<span style="color: #000000;">(</span>lastrec<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">+1</span><span style="color: #000000;">)</span><span style="color... |
ADO RDD xHarbour | Gunther,
Here its ok.
My test:
[code=fw:3cwailgd]<div class="fw" id="{CB}" style="font-family: monospace;"><br />use table<br />set <span style="color: #0000ff;">index</span> <span style="color: #0000ff;">to</span> someindex<br />dbgoto<span style="color: #000000;">(</span>lastrec<span style="color: #000000;">... |
ADO RDD xHarbour | Gunther,
The SELECT used in adoreccount if im not mistaken supplied by you its the only difference between MySql and MsSQL.
Try to change ti to SELECT MAX(... and check results. |
ADO RDD xHarbour | Now i found out:
If i use TESTADISC->(dbsetorder(1)) and the indexkey of this order is UDF then the seek is not functioning! If i use after dbsetorder() a GO TOP then is functioning!
[code=fw:39knbc4w]<div class="fw" id="{CB}" style="font-family: monospace;">SET ADODBF TABLES <span style="color: #0000ff;">INDEX</span>... |
ADO RDD xHarbour | Gunther,
Is this still true if you comment [code=fw:2wfwd5bl]<div class="fw" id="{CB}" style="font-family: monospace;">TESTADISC-><span style="color: #000000;">(</span>dbgoto<span style="color: #000000;">(</span>TESTADISC-><span style="color: #000000;">(</span>lastrec<span style="color: #000000;">(</s... |
ADO RDD xHarbour | Gunther,
I think Ive got it.
Change the line in ado_seek.
[code=fw:2osesxxf]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">ELSE</span> <span style="color: #B900B9;">//WITH :FILTER OR MOE THAN ONE FIELD</span><br /> <span style="color: #00C800;... |
ADO RDD xHarbour | Antonio, no working! This is only for softseek!? |
ADO RDD xHarbour | Gunther,
Right nevertheless that was a bug!
Is it still occur if you comment TESTADISC->(dbgoto(TESTADISC->(lastrec()+1))) //damit keine anzeige ? |
ADO RDD xHarbour | Antonio, no! If this line comment out is functioning!
But when i make a dbseek() with found()==.F. the recordpointer also go to lastrec()+1 and no moree seeks are possible!
ATTENTION: THIS BEHAVIOR ONLY IN SEEKS WITH UDF. |
ADO RDD xHarbour | Gunther,
Please place a msginfo in ado.seek after ELSE //WITH :FILTER OR MOE THAN ONE FIELD and check if it is called.
You can place another one in the else for not softseek reporting npos. |
ADO RDD xHarbour | [quote:2dlmi5ui]Please place a msginfo in ado.seek after ELSE //WITH :FILTER OR MOE THAN ONE FIELD and check if it is called.
[/quote:2dlmi5ui]
Yes, is called
[quote:2dlmi5ui]You can place another one in the else for not softseek reporting npos.[/quote:2dlmi5ui]
shows 0 |
ADO RDD xHarbour | [code=fw:1ujgi6g2]<div class="fw" id="{CB}" style="font-family: monospace;"> <br /> <span style="color: #00C800;">IF</span> nPos > <span style="color: #000000;">0</span><br /> oRS:<span style="color: #000000;">BookMark</span... |
ADO RDD xHarbour | Antonio, on both no found()!
Conclusion: Always if i use dbsetorder() before dbseek() and the recordpointer is on lastrec()+1 and a UDF is in work the index is not functioning! <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
ADO RDD xHarbour | So its a set order problem!
If you browse it is it ordered ok?
Place again a msginfo( len( aWAData[ WA_ABOOKMARKS ][aWAData[WA_INDEXACTIVE]] ) the same place as before and check if effectively has the index built. |
ADO RDD xHarbour | Gives 72 (the len of table).
Recordpointer stands on lastrec()+1 and the table is not indexed. |
ADO RDD xHarbour | Try the same after dbsetorder and check with ordname and ordkey inyour app order is in fact active. |
ADO RDD xHarbour | Antonio, the name and the key is active! |
ADO RDD xHarbour | Gunther
And the len of the array? |
ADO RDD xHarbour | Len of array is the len of the table! |
ADO RDD xHarbour | Try this:
[code=fw:3clsd6bu]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SET ADODBF TABLES <span style="color: #0000ff;">INDEX</span> LIST <span style="color: #0000ff;">TO</span> <span style="color: #000000;">{</span> <span style="color: #000000;">{</span><span style="color: #ff0000;">"AW2... |
ADO RDD xHarbour | Antonio, the results:
[code=fw:m35nlurr]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//TESTADISC->(dbgoto(TESTADISC->(lastrec()+1)))</span><br />TESTADISC-><span style="color: #000000;">(</span>dbsetorder<span style="color: #000000;">(</span><span style="color: #00000... |
ADO RDD xHarbour | Just a idea: should the lenght of bookmark-array have also reccount()+1? |
ADO RDD xHarbour | Antonio, please send to my email office(at)byte-one.com a short description from the way you process indexes with UDFs! I will try to help you to ident the problem.
Good Night! |
ADO RDD xHarbour | Gunther,
The array of bookmarks is: 1st ele ado bookmark 2 ele evaluated expression.
The array gets ordered by 2nd ele expression and used by ado :filter := array of bookmarks which is 1st ele.
Once you call seek that goes to ado_seek and if it enters the ELSE //WITH :FILTER OR MOE THAN ONE FIELD
just scans the arra... |
ADO RDD xHarbour | Antonio, if i use this on beginn of your test all is OK:
[code=fw:3j0h3cs0]<div class="fw" id="{CB}" style="font-family: monospace;">TESTADISC-><span style="color: #000000;">(</span>dbsetorder<span style="color: #000000;">(</span><span style="color: #000000;">1</span><span style="color: #000000;">)</span><s... |
ADO RDD xHarbour | Gunther,
Ok now I get same problem.
Let me check it and Ill revert asap.
By the way why are you doing TESTADISC->(dbgoto(TESTADISC->(lastrec()+1))) before set order ? |
ADO RDD xHarbour | Antonio, at initial the browse should no show any records. After this, the user will search anything and i switch to the approbate order. |
ADO RDD xHarbour | Gunther,
I see.
Replace with this in adordd.prg and let me know.
Please note the ado_create condition only in index creation because if its a subindex (while clause) we dont clean nothing.
[code=fw:re3b3jfh]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">STATIC</span> <s... |
ADO RDD xHarbour | Antonio, it seems, all is OK!
Thanks very much!
I will further report bugs and required changes in code while convert to MSSQL. |
ADO RDD xHarbour | Gunther,
Glad to know.
Please report as bug if you need to change any code line other than for better performance.
Thanks, |
ADO RDD xHarbour | New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Corrected bugs:
Indexes with UDFs.
Lock list array
DBEVAL
Any :requery calls auto call ordsetfocus() to update indexes.
Changes:
1) ADO_CREATE ... |
ADO RDD xHarbour | Antonio, please see on this! (Never changed!)
[url:2mkco2uy]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=30266&start=930#p183330[/url:2mkco2uy]
Another bug in the new version:
I use MSSQL. The array seems not exist!?
[quote:2mkco2uy] Error description: Error BASE/1123 Argument error: AADD
... |
ADO RDD xHarbour | Gunther,
The other 2 done!
Please alter :
[code=fw:yw2pm65k]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> ListFieldLogical<span style="color: #000000;">(</span> alist <span style="color: #000000;">)</span><br /> <span style="color: #00C800;... |
ADO RDD xHarbour | Antonio, should we not close the connection to the server automatically? |
ADO RDD xHarbour | New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Corrected bugs:
Logical fields array initialization.
scoped relations Scopes were not cleared when clear relation.
Eof and Bof vars were not being reset corr... |
ADO RDD xHarbour | Antonio, there is a incompatibility in the RDD:
If creating a table that already exist in the DB, an error occurs!
In (x)Harbour in this case the present table is automatically deleted and the new one are created!
And some better format for the ADOSHOWERROR()
[code=fw:nonnblnl]<div class="fw" id="{CB}" style="font-fa... |
ADO RDD xHarbour | Gunther,
Ok Ill change it if table exists it will overwritten!
ADoshowerror changed to yours with following change:
[code=fw:3u0pr66v]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> WITH OBJECT oErr<br /> cErr :=... |
ADO RDD xHarbour | Gunther,
[quote:139wezyt]
In ADOPREOPENTHRESHOLD() not only the size in records should work as a filter.
Also a substring (or a array with substrings) of the tablename are interesting for filtering
the DBs for pre-open! (ex. only "2015" -> DB2015 and Faw2015gt and Klima2015 and ......)
[/quote:139wezyt]
Having ADOPR... |
ADO RDD xHarbour | Antonio, i want have this [b:3sz0lrap]additional[/b:3sz0lrap]! to the size of records!
ex. [code=fw:3sz0lrap]<div class="fw" id="{CB}" style="font-family: monospace;">SET ADO PRE OPEN THRESHOLD <span style="color: #0000ff;">TO</span> <span style="color: #000000;">10000</span> <span style="color: #000000;">[</span>M... |
ADO RDD xHarbour | Gunther,
It seems quite a good idea. Lets do it!
How shall we do it ?
I assume your idea is nrecords .OR. mask ?
Concerning ON ERROR cant this be done by the user defining a EXIT PROCEDURE instead?
in ADOGETCONNECT instead of QUIT I could make RETURN .F..
This only happens in app startup with SET ADO DATABASE TO...... |
ADO RDD xHarbour | Antonio,
[quote:2e950bj3]I assume your idea is nrecords .OR. mask ?[/quote:2e950bj3]
No, my idea is nrecords .AND. mask ? ex. In a app every year are building a new table with table"year" and becomes the focus. Older tables are not to preopen!
[quote:2e950bj3]Concerning ON ERROR cant this be done by the user defining... |
ADO RDD xHarbour | Gunther,
[quote:2j4ipszo]No, my idea is nrecords .AND. mask ? ex. In a app every year are building a new table with table"year" and becomes the focus. Older tables are not to preopen![/quote:2j4ipszo]
Ok I see it you don't want to preopen table of previous years. Ill do it.
[quote:2j4ipszo]Not so good!? Maybe the pr... |
ADO RDD xHarbour | Antonio,
[quote:29oonukp]How do you do it today with dbf kind of rdd ?[/quote:29oonukp]
I check on start the present of all DBs and indexes. For this i hold ALL DB- and Indexnames and also the index-keys in a public array. Now it is easy to check and to organize.
Also for the update to ADORDD i can easy build the arra... |
ADO RDD xHarbour | Gunther,
[quote:2i6sqr9n]I see it but then I would be more comfortable to throw an error and let the programmer take care of it which is the standard procedure.[/quote:2i6sqr9n]
Ok? |
ADO RDD xHarbour | OK, Antonio! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
ADO RDD xHarbour | New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
Corrected bugs:
DBCREATE if table exists just overwrite it like in any other rdd. It was giving a error.
hb_AdoRddFile( cFile ) if rddsetdefault == "adordd"... |
ADO RDD xHarbour | Gunther,
It should be closed auto by adordd.
When you end your app (x)Harbour auto calls ADO_EXIT that calls ADODB_CLOSE().
This last closes all tables (recordsets) and cached resordsets and after the connection to the server.
Please check the code.
Is it not working? |
ADO RDD xHarbour | It seems, this ADO_EXIT never is called! (EXIT PROCEDURE?) |
ADO RDD xHarbour | Gunther,
Here it always gets called!
I don't have any exit procedure.
Placing msginfo("ADO_EXIT "+PROCNAME(1) +" "+ PROCNAME(2)+" "+ PROCNAME(3)+" "+ PROCNAME(4)) in ado_exit It shows that gets called from _QUIT. |
ADO RDD xHarbour | Antonio, no msginfo-text showing! |
ADO RDD xHarbour | Gunther,
How do you exit you app QUIT or simply RETURN ?
Are you using Harbour or xHarbour?
Im using xHabour and app is QUIT. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.