topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
ADO RDD xHarbour | Antonio,
[quote:30kd32cw]seek whatever = select * from .... where (seek expression)[/quote:30kd32cw]
Why don't you create a new RecordSet for this seek ?
This way, the original RecordSet remains intact. |
ADO RDD xHarbour | Antonio,
The name of the index in the array is the name of the tag of the struct index file right?
Yes.
This approach didn't foresee to keep the struct file name index and it might not be needed.
You simply ask for the orders (tags) right?
Yes.
The struct file name itself is not needed ?
Yes.
The only thing we n... |
ADO RDD xHarbour | Lucas,
Its done also taking in account autoorder setting.
Ill post a new version asap
Thanks for the info. |
ADO RDD xHarbour | Thank you Antonio, there is no rush.
I would like to ask you how I define such indexes with functions and conditions. For instance:
[code=fw:1q9pcrp4]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> FIELD->FSERIE + StrZero <s... |
ADO RDD xHarbour | Lucas,
[quote="lucasdebeltran":2gwx4at7]Thank you Antonio, there is no rush.
I would like to ask you how I define such indexes with functions and conditions. For instance:
[code=fw:2gwx4at7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">INDEX</span> <span style="color: #0000f... |
ADO RDD xHarbour | Thank you Antonio.
Have you looked at arrayrdd source, SQLRDD rdd source or Mediator SQL RDD from <!-- w --><a class="postlink" href="http://www.otc.pl?">www.otc.pl?</a><!-- w -->.
It may help.
Also, if you use find for seek?. I think in ADO indexes are fine for showing the data ordered by a field, but they are not... |
ADO RDD xHarbour | Antonio,
DbCreate() working:
[code=fw:28owrdr1]<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 | Hello Antonio,
I detected that the changes are not saved to the disk.
Have you checked this?.
Thank you. |
ADO RDD xHarbour | Sample to test it:
[code=fw:2as6i00o]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> aArray := ... |
ADO RDD xHarbour | Lucas, Antonio,
[quote:1pml654a]Have you looked at arrayrdd source, SQLRDD rdd source or Mediator SQL RDD from <!-- w --><a class="postlink" href="http://www.otc.pl?">www.otc.pl?</a><!-- w -->.
It may help.
Also, if you use find for seek?. I think in ADO indexes are fine for showing the data ordered by a field, but... |
ADO RDD xHarbour | Antonio,
Ive a problem with bookmarks.
The value returned by bookmark its a Variant.Ex.
nrecno := oSet:bookmark
......
dbgoto(nrecno) = adordd - oSet:Bookmark := nrecno
nRecni it is received in ADO_GOTOID as integer with no decimals and might be any value.
How can we solve this?
By the way in adordd in all recno ... |
ADO RDD xHarbour | Antonio,
DbSeek only supports searching into 1 field.
[quote:3gpgb7jp]DbSeek()
Searches a value in the controlling index.
Syntax
DbSeek( <xValue>, [<lSoftSeek>], [<lFindLast>] ) --> lFound
Arguments
<xValue>
The value to search for. Its data type must match the data type of the index expression of the controlling ... |
ADO RDD xHarbour | Antonio,
I don't understand this line:
[quote:mpejbos1]dbgoto(nrecno) = adordd - oSet:Bookmark := nrecno[/quote:mpejbos1]
Could you please explain it ? thanks |
ADO RDD xHarbour | Lucas,
[quote:3ug2ae8y]DbSeek only supports searching into 1 field.[/quote:3ug2ae8y]
Can you post the code example and index used? Here seeks more 1 field.
[quote:3ug2ae8y]But the real problem is that data is not saved!!!. When the program is closed, they are lost!.[/quote:3ug2ae8y]
To us the most important and dif... |
ADO RDD xHarbour | Antonio,
[quote="Antonio Linares":1n5bq4tx]Antonio,
I don't understand this line:
[quote:1n5bq4tx]dbgoto(nrecno) = adordd - oSet:Bookmark := nrecno[/quote:1n5bq4tx]
Could you please explain it ? thanks[/quote:1n5bq4tx]
Example:
[code=fw:1n5bq4tx]<div class="fw" id="{CB}" style="font-family: monospace;"><br />nRec ... |
ADO RDD xHarbour | Lucas,
New version adordd -trial alternative seeks <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
ready : auto open, auto order, relations, record movements (go to, recno, eof, etc), locate and continue, seeks.
Search for "experime... |
ADO RDD xHarbour | Lucas,
Is APPEND BLANK working ? |
ADO RDD xHarbour | Antonio,
Please send me addfef.ch.
Thanks |
ADO RDD xHarbour | Antonio,
Can you check what function is calling UR_EXISTS ? |
ADO RDD xHarbour | [quote="AHF":1tttu0tv]Antonio,
Please send me addfef.ch.
Thanks[/quote:1tttu0tv]
Where is such file ? I can't find it in Harbour files neither in FWH ones. |
ADO RDD xHarbour | Antonio,
[quote="AHF":3265h2ye]Antonio,
Can you check what function is calling UR_EXISTS ?[/quote:3265h2ye]
In adordd.prg there is:
aADOFunc[ UR_EXISTS ] := @ADO_EXISTS() |
ADO RDD xHarbour | Antonio,
[quote:399kncp3]Where is such file ? I can't find it in Harbour files neither in FWH ones.[/quote:399kncp3]
Its mentioned in adofuncs.prg
[quote:399kncp3]In adordd.prg there is:
aADOFunc[ UR_EXISTS ] := @ADO_EXISTS()[/quote:399kncp3]
I meant what is the function calling UR_EXISTS ? |
ADO RDD xHarbour | Antonio,
What are these function for?
/* non WorkArea functions */
#define UR_EXIT 95
#define UR_DROP 96
#define UR_EXISTS 97
#define UR_RENAME 98 |
ADO RDD xHarbour | Antonio,
adordd its almost finished and all "light" trials seem to be ok Not one line code changed!:D
adordd its prepared to work the dbseek with selects or :find and the final decision will depend on performance.
It might compensates the trade off between no code change and speed. We will see.
Now I'm missing info... |
ADO RDD xHarbour | Antonio,
UR_EXIT seems as an EXIT procedure where we can do cleaning if needed.
Regarding the others, dbcmd.c uses them this way:
[code=fw:ccydbegq]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> HB_DBDROP <span style="co... |
ADO RDD xHarbour | Antonio,
[quote:owsdlucm]adordd its almost finished and all "light" trials seem to be ok Not one line code changed!:D [/quote:owsdlucm]
Excellent! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
This is the real power of open source cooperative development:
Fernando and... |
ADO RDD xHarbour | Antonio,
Time to announce it in the Harbour devel and users lists <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> |
ADO RDD xHarbour | Antonio,
Does append blank and replace work?.
In my tests from last week once the aplication was closed, [b:3jpxuo27]data were lost[/b:3jpxuo27].
Antonio L., please wait to the announcment.
Thank you. |
ADO RDD xHarbour | Ahf and others: thanks and congratulations.
I have saw announcement on xharbour forum but no on harbour forum.
is adordd harbour/xharbour compatible ? Is it operative in production environment ?
Regards |
ADO RDD xHarbour | Please,
Put simple test.prg for diferents test, in github.
I like test under Sql Server and MySql.
Regards. |
ADO RDD xHarbour | Rafa,
[code=fw:3akovahm]<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: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #00000... |
ADO RDD xHarbour | [quote="lucasdebeltran":1j9uis2r]Antonio,
Does append blank and replace work?.
In my tests from last week once the aplication was closed, [b:1j9uis2r]data were lost[/b:1j9uis2r].
Antonio L., please wait to the announcment.
Thank you.[/quote:1j9uis2r]
Lucas,
The problem is with transactions please check adorrd.prg ... |
ADO RDD xHarbour | [quote="hmpaquito":2dzn4e7i]Ahf and others: thanks and congratulations.
I have saw announcement on xharbour forum but no on harbour forum.
is adordd harbour/xharbour compatible ? Is it operative in production environment ?
Regards[/quote:2dzn4e7i]
adordd is harbour/xharbour compatible.
There are still for sure many... |
ADO RDD xHarbour | [quote:3smy6dlw]Having as many people as possible trying will help to solve all the issues more rapidly[/quote:3smy6dlw]
+1 |
ADO RDD xHarbour | Antonio,
[quote:qv7arj3m]:AddNew() is disrupted not ok anymore! (append)
The reason is that in order to enable seek expression like we do normally I had to add one more field to the selects that is INDEXKEY.
Now because INDEXKEY does not really exists in the table when we call :addnew() we get error.
Im trying to sol... |
ADO RDD xHarbour | Antonio,
I have emailed Mr. Rao asking for his advice |
ADO RDD xHarbour | Buenas, seria bueno quitar todo referente a Fivewin, para que sea más fácil compilar.
Por ejemplo,
[code=fw:1ez7h47r]<div class="fw" id="{CB}" style="font-family: monospace;">#ifndef __XHARBOUR__<br /><br /> #xcommand <span style="color: #00C800;">TRY</span> => BEGIN SEQUENCE WITH <span style="color... |
ADO RDD xHarbour | Uy, faltaba meterle un REQUEST HB_GT_WVT_DEFAULT para ver que hace
Me dice que descomente esta linea ???
// cSql := FW_AdoCreateTableSQL( cTableName, aWAData[ WA_SQLSTRUCT ], oConnection, .T. )
// oConnection:Execute( cSql )
¿ Pero esto depende de Fivewin ?
Si es así, dejo las pruebas porque no teng... |
ADO RDD xHarbour | Antonio,
[quote="AHF":hi9pr33p]May be M Rao or Enrico can give us a hand?[/quote:hi9pr33p]
I could help but I need a reduced and self-contained sample showing the problem.
EMG |
ADO RDD xHarbour | Antonio,
I cannot find the cause of this error:
[quote:3sm3bidf]
argumentos <nenhuma>
descrição Workarea not in use
ficheiro <nenhuma>
genCode 35: EG_NOTABLE
operação ORDSETFOCUS
osCode (Não é erro do sistema operativo)
severity 2
subCode 2001
subSystem DBCMD... |
ADO RDD xHarbour | [quote="Enrico Maria Giordano":1a56wsk8]Antonio,
[quote="AHF":1a56wsk8]May be M Rao or Enrico can give us a hand?[/quote:1a56wsk8]
I could help but I need a reduced and self-contained sample showing the problem.
EMG[/quote:1a56wsk8]
Enrico,
A self contained code its difficult but the problem is:
In adordd accordi... |
ADO RDD xHarbour | Antonio,
[quote="AHF":a0j5wefs]It will be impossible to add rows to the first recordset because of the aliase column?[/quote:a0j5wefs]
No, not for the aliased column but for the calculated column.
EMG |
ADO RDD xHarbour | Enrico,
Does it means we could addnew specifying others columns except the calculated column or not even that. |
ADO RDD xHarbour | Antonio,
[quote="AHF":1afrr3p3]Enrico,
Does it means we could addnew specifying others columns except the calculated column or not even that.[/quote:1afrr3p3]
I think that the entire recordset is readonly, but I'm not sure. Please try.
EMG |
ADO RDD xHarbour | Enrico,
Thanks. Its read only.
Do you know what can cause this?
[quote:79ds2prc]I cannot find the cause of this error:
Quote:
argumentos <nenhuma>
descrição Workarea not in use
ficheiro <nenhuma>
genCode 35: EG_NOTABLE
operação ORDSETFOCUS
osCode (Não é erro do sistema operativo)
severity 2
subCode 2001
subSystem D... |
ADO RDD xHarbour | [quote="AHF":3bve0pxg]Antonio,
I cannot find the cause of this error:
[quote:3bve0pxg]
argumentos <nenhuma>
descrição Workarea not in use
ficheiro <nenhuma>
genCode 35: EG_NOTABLE
operação ORDSETFOCUS
osCode (Não é erro do sistema operativo)
severity 2
subCode 20... |
ADO RDD xHarbour | ahf,
You need to tracer where close nenhuma. Exit procedures, perhaps... timers...
BTW, <nenhuma>, is bad filename, perhaps a sample...
regards |
ADO RDD xHarbour | Antonio,
Why is subSystem DBCMD ? shouldnt be adordd?
Ive tested with msginfo in place I catch the exact point where error occurs and there is nothing there only close table saved in a var of an object.
close(::encomendas)
::encomendas := nil
Immediately get error. rdd Dbf or ADS ok for many years.
Ill try with de... |
ADO RDD xHarbour | Dear all,
The adordd its running quite well in the real world, but I'm still finding many bugs.
The main problem is accurate record positioning.
The only solution I could find is the table with a field AUTOINC HBRECNO.
I cant find another solution. Any ideas?
The code its already prepared to both situations but be a... |
ADO RDD xHarbour | New adordd version posted <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> |
ADO RDD xHarbour | [quote="lucasdebeltran":2uparlvj]Antonio,
Does append blank and replace work?.
In my tests from last week once the aplication was closed, [b:2uparlvj]data were lost[/b:2uparlvj].
Antonio L., please wait to the announcment.
Thank you.[/quote:2uparlvj]
Lucas,
dbappend work and Replaces work ate least here. |
ADO RDD xHarbour | Antonio,
[quote="AHF"]Antonio,
Why is subSystem DBCMD ? shouldnt be adordd?[/code]
Can you check is this correct? |
ADO RDD xHarbour | Antonio,
[quote="AHF":2ncjx2p3]The main problem is accurate record positioning.
The only solution I could find is the table with a field AUTOINC HBRECNO.
I cant find another solution. Any ideas?[/quote:2ncjx2p3]
Yes, the only solution is adding an autoincrement field (for record identity). And by the way, it's good p... |
ADO RDD xHarbour | Antonio,
[quote="AHF":2sg9eaeg]Why is subSystem DBCMD ? shouldnt be adordd?[/quote:2sg9eaeg]
No, DBCMD is for generic database error.
EMG |
ADO RDD xHarbour | [quote="Enrico Maria Giordano":37rdhqht]
And by the way, it's good practice (if not mandatory) to have it in a SQL table.[/quote:37rdhqht]
Enrico,
What do you mean ? |
ADO RDD xHarbour | Antonio,
[quote="AHF":1qi17ggr][quote="Enrico Maria Giordano":1qi17ggr]
And by the way, it's good practice (if not mandatory) to have it in a SQL table.[/quote:1qi17ggr]
Enrico,
What do you mean ?[/quote:1qi17ggr]
You should have an autoincrement field in each table in a SQL database. It's required for record iden... |
ADO RDD xHarbour | Enrico,
Ok thats what adordd expects.
Do you have the same field name in every table? |
ADO RDD xHarbour | Antonio,
[quote="AHF":1q69pndn]Enrico,
Ok thats what adordd expects.
Do you have the same field name in every table?[/quote:1q69pndn]
This is your choice. I use "ID" but you may prefer "something" + tablename so you won't have problems with the queries.
EMG |
ADO RDD xHarbour | [quote:2timkq9p]This is your choice. I use "ID" but you may prefer "something" + tablename so you won't have problems with the queries.[/quote:2timkq9p]
Which problems ?
IMHO Its seems what same field for all tables is a more clear solution. (hbrecno) |
ADO RDD xHarbour | hmpaquito,
The problem is that there might be users with some "id" autoinc field already in some tables thus adordd should use it and not force them to create a new field.
Antonio,
Do you agree ? Lets give the option to the programmer?
Either a default field name for all tables or a diferent field for each table |
ADO RDD xHarbour | Antonio,
Maybe the solution is to check if such field with those properties exist and if not, then create hbrecno.
Not sure if both can co exist with no problems. |
ADO RDD xHarbour | Antonio,
I think adordd should not be able to create new tables.
From my experience in our clients we cannot. Thats to DBadmin.
Sometimes other apps use the same DB and one cannot alter any struct indexes whatever.
Besides that there are functions already for that propose so users can work directly with it.
My appr... |
ADO RDD xHarbour | ahf,
[quote="AHF":3k0yoaag]
[code=fw:3k0yoaag]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />SET ADO 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="... |
ADO RDD xHarbour | Antonio,
[quote="hmpaquito":1pdv76q0][quote:1pdv76q0]This is your choice. I use "ID" but you may prefer "something" + tablename so you won't have problems with the queries.[/quote:1pdv76q0]
Which problems ?
IMHO Its seems what same field for all tables is a more clear solution. (hbrecno)[/quote:1pdv76q0]
Problem wit... |
ADO RDD xHarbour | Enrico,
Thats true. But thats to the DB admin and the app developer to define.
adordd should cover any situation so I think the best way is to let to the developer define those in the previous sets.
Wont you agree or do you have a better way? |
ADO RDD xHarbour | Hello,
I have not been able to test latter versions due to a lack of time.
I think we should use always HBRECNO, as it´s not a common field name like ID, which is the one I use. In fact, SQLRDD from xHarbour.com uses a private field for such purpouses.
I also think ADORDD should be able to create "tables", with dbcr... |
ADO RDD xHarbour | Sorry, it´s not working.
Test simple:
[code=fw:2pytclpz]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"adordd<span st... |
ADO RDD xHarbour | Lucas,
[quote:38isdix2]I think we should use always HBRECNO, as it´s not a common field name like ID, which is the one I use. In fact, SQLRDD from xHarbour.com uses a private field for such purpouses.
[/quote:38isdix2]
I choose to give this to the developer. Please see my previous post about SET...
[quote:38isdix2]I... |
ADO RDD xHarbour | Hello,
XBROWSER FASTEDIT
[quote:alm8os5u]
Error description: Error BASE/1068 Argument error: array access
Args:
[ 1] = U
[ 2] = N 1
Stack Calls
===========
Called from: lucas.prg => (b)ADO_INDEXAUTOOPEN( 1269 )
Called from: => ASCAN( 0 )
Called from: lucas.prg => ADO_INDEXAUTOOPEN( 1... |
ADO RDD xHarbour | Next, I SET AUTOPEN OFF:
[quote:1aix0ufl]
Error description: Error BASE/1075 Argument error: >
Args:
[ 1] = N 1
[ 2] = C
Stack Calls
===========
Called from: .\source\classes\DATABASE.PRG => ORDERTAGINFO( 1258 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SETRDD( 4135 )
C... |
ADO RDD xHarbour | Lucas,
I dont know the error. Have you check if index table and names are correct
Was it working in a previous version?
[quote:35vzy7bc]Called from: .\source\classes\DATABASE.PRG => ORDERTAGINFO( 1258 )[/quote:35vzy7bc]
What is that function line doing ?
I hope to post soon today new version that seems to have all t... |
ADO RDD xHarbour | [code=fw:lid93e3o]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> OrderTagInfo<span style="color: #000000;">(</span> aStruct, nCol <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> nFor, nAt, i, nOrde... |
ADO RDD xHarbour | Lucas,
You dont have open indexes right ? |
ADO RDD xHarbour | No. |
ADO RDD xHarbour | Antonio, Enrico,
How can we show or hide deleted records in ADO?
How can we enforce SET DELETED? |
ADO RDD xHarbour | Antonio,
[quote="AHF":3hkwsvkt]Antonio, Enrico,
How can we show or hide deleted records in ADO?
How can we enforce SET DELETED?[/quote:3hkwsvkt]
As far as I know, there is no direct support for deleted records in SQL. You have to add a logical field and use it in WHERE clauses, I'm afraid.
EMG |
ADO RDD xHarbour | Perhaps a first version of ADORDD no need to treat the deleted records because generally all have SET DELETED ON at the beginning of our programs |
ADO RDD xHarbour | Enrico,
In fact this is not a problem because deleting records in SQL will wipe records off the table and we cannot recover them again. Is this true for all DB Sql ? |
ADO RDD xHarbour | Antonio,
[quote="AHF":iahikai4]Enrico,
In fact this is not a problem because deleting records in SQL will wipe records off the table and we cannot recover them again. Is this true for all DB Sql ?[/quote:iahikai4]
I don't know but we have to make it "database aware", haven't we?
EMG |
ADO RDD xHarbour | Enrico,
Do you mean mark a record as deleted with truly deleted in SQL using a delete field in the tables?
In dbf apps we have to pack to clean it and some kind of recycle to recover it when adding records.
If we truly delete it nothing else mus be done. Although recall and pack exists in adordd but do nothing.
The ... |
ADO RDD xHarbour | The only drawback I see is this case:
[code=fw:1ev9mbpo]<div class="fw" id="{CB}" style="font-family: monospace;">nRec: = RecNo<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br />DELETE<br /><br />GO nRec <span style="color: #B900B9;">// Ok dbf. ADO Fail</span></div>[/code:1ev9m... |
ADO RDD xHarbour | Antonio,
[quote="AHF":ytv53x7p]Enrico,
Do you mean mark a record as deleted with truly deleted in SQL using a delete field in the tables?[/quote:ytv53x7p]
Yes.
[quote="AHF":ytv53x7p]In dbf apps we have to pack to clean it and some kind of recycle to recover it when adding records.
If we truly delete it nothing else... |
ADO RDD xHarbour | To All
I think each RDMS handles deleted records a bit differently .. As in all Sql Databases, when a record is Deleted, it just drops off the 'radar' and there is no need to even worry about it or even to 'Recall' it .. I do not even think you can get it back unless you use some sort of 'roll back' technique.
I will... |
ADO RDD xHarbour | Rick,
Thanks for the info.
Inside transactions if it fails everything rolled back, but its the only situation I can find where his happens.
Are you trying adordd. All feed back its a great help.
Im trying it for a big app conversion and browses with relations run without any code change except a autoinc field to us... |
ADO RDD xHarbour | Is possible get library for Borland C 5.5 ?
Today, direct from Harbour, is imposible make this library.
Regards
O te pago una cerveza si lo consigues... <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> |
ADO RDD xHarbour | Antonio
I use the ADO Class and methods to create recordsets to manage SQL.. and creating separate recordsets based on the primary key and the foreign key or a single recordset based on inner and outer joins.. not necessarily like we used to with .Dbf.
I am watching this thread with interest.
Rick Lipkin |
ADO RDD xHarbour | Rick,
Thats the SQL normal way.
Unfortunately we would get only one recordset (joined) and to simulate Dbf behavior and working with already written apps that's not possible because it breaks completely the code.
Thus I'm working with true relations issuing SELECTS for each child only if key changes.
The speed su... |
ADO RDD xHarbour | Antonio,
[quote:1g0wrn9i]I'm converting a big app and till now in browses didn't need to change a single line of code![/quote:1g0wrn9i]
Wonderful! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
ADO RDD xHarbour | with translate.google.com
great initiative
1. They give the ultimate solution database engine ... update with trend data management
2. For those who have SQLRDD of xharbour.com ... could go with fwh + harbor + ADORDD
3. Invite colleagues who have some kind of rdd ( mysql , dhs, etc ) ,,, to join efforts towards comm... |
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 -->
Please help trying it. |
ADO RDD xHarbour | Hello,
Sorry, but it does not work under Harbour. Many warnings and errors when compiling... |
ADO RDD xHarbour | Elvira,
Place this at top adordd.prg:
This has not been tested by me because I only use xHarbor.
[code][#ifndef __XHARBOUR__
#xcommand TRY => BEGIN SEQUENCE WITH {| oErr | Break( oErr ) }
#xcommand CATCH [<!oErr!>] => RECOVER [USING <oErr>] <-oErr->
#xcommand FINALLY => ALWAYS
#include "fivewin.ch" ... |
ADO RDD xHarbour | Antonio, Enrico,Mr Rao,
We have to decide for a way to go but with a few trials and small tables (30.000 records) its difficult to take an option.
May be you have some experience with it.
The problem is when we make a seek with more than on field in the seek expression.(locate will be the same):
1) Today's way in ado... |
ADO RDD xHarbour | Antonio,
[quote="AHF":2w5zoo0y]Cons: adordd has to do some guessing[/quote:2w5zoo0y]
Please explain this point.
EMG |
ADO RDD xHarbour | [quote="Enrico Maria Giordano":ewe90o4k]Antonio,
[quote="AHF":ewe90o4k]Cons: adordd has to do some guessing[/quote:ewe90o4k]
Please explain this point.
EMG[/quote:ewe90o4k]
Enrico,
In option 1) adordd creates a new recordset but the nrec saved before the seek it will not exist in the new recordset that becomes the... |
ADO RDD xHarbour | neither the first nor the second option, but both
my proposal:
basic programming: compatibility mode: 2nd option
advanced programming: 1st option. New command ADORDD_SEEK |
ADO RDD xHarbour | [quote="hmpaquito":9o4itq3r]neither the first nor the second option, but both
my proposal:
basic programming: compatibility mode: 2nd option
advanced programming: 1st option. New command ADORDD_SEEK[/quote:9o4itq3r]
hmpaquito,
Its a good proposal.
Then we would have :
ADO_SEEK(cExpression) = seek build new recor... |
ADO RDD xHarbour | The question remains is :find quick enough to work with in average size tables ( 100.0000 records) in every DB? |
ADO RDD xHarbour | [quote="Rick Lipkin":1z4cdh54]Antonio
I use the ADO Class and methods to create recordsets to manage SQL.. and creating separate recordsets based on the primary key and the foreign key or a single recordset based on inner and outer joins.. not necessarily like we used to with .Dbf.
I am watching this thread with inte... |
ADO RDD xHarbour | Here are an example .. lets open an Invoice table for [InvoiceNumber] = 354 then open the InvoiceDetail for the foreign key also named [InvoiceNumber]
[code=fw:2x64qiiu]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />Func _Invoice<span style="color: #000000;">(</span>nRepairNumber<span style=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.