topic
stringlengths
1
63
text
stringlengths
1
577k
ADO RDD xHarbour
Antonio, Sorry my mistake index scopes almost finished <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Meanwhile I dont know what these functions are for and what calls them #define UR_CLEARSCOPE 72 #define UR_COUNTSCOPE ...
ADO RDD xHarbour
Antonio, Their names are quite self explanatories, anyhow place a MsgInfo() for each one in case they get called. I don't think they will get called (I have been searching in Harbour rdds sources)
ADO RDD xHarbour
Antonio, I already did msginfo without any result.
ADO RDD xHarbour
No problem, as I told you they are not used, and in case they are needed by a user, we can always implement them. Keep going, we are quite close to have it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
ADO RDD xHarbour
Antonio, Thanks Im doing just that. OrdScopes finnish will post it tomorrow <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Would be great if many people test it to find bugs Tomorrow we will start with relations. Do you or perhaps Mr Rao know if there is subreco...
ADO RDD xHarbour
Antonio, I just sent an email to Rao. He is the most advanced ADO developer that I know <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
ADO RDD xHarbour
Hello Antonio, I am about to check your ADORDD and I would like to make you few questions please: Which RDBMS are you using?. How do you open a dbf?. How do you create it?. Do you use autoinc + fieldtype feature?. Thank you.
ADO RDD xHarbour
Lucas, [quote="AHF":3mmw8b7a] Ready: Open Close Indexes Locks Navigation Find dbinfo ordinfo Seek (without lSoftSeek)[/quote:3mmw8b7a] [quote:3mmw8b7a]Which RDBMS are you using?.[/quote:3mmw8b7a] Tests ADS (on real world Oracle or MySql) [quote:3mmw8b7a]How do you open a dbf?.[/quote:3mmw8b7a] normal USE cfile SHA...
ADO RDD xHarbour
Antonio, I dont have incremental search in my xbrowse. Could email me only that function?
ADO RDD xHarbour
Antonio, So APPEND BLANK and REPLACE FIELD WITH.. do not work already?. Thank you.
ADO RDD xHarbour
Lucas, It might work but those functions were already written by others and not fully tested. In our small trials it worked but i cant assure. Append blank seems to work.
ADO RDD xHarbour
Antonio, I just sent an email to Rao asking him for the code to provide you
ADO RDD xHarbour
Antonio, When trying to compile with Harbour 3.2.0dev (r1412151448), there are some errors: lucas.prg(215) Warning W0001 Ambiguous reference 'CSTR' lucas.prg(216) Warning W0001 Ambiguous reference 'CSTR' lucas.prg(216) Warning W0001 Ambiguous reference 'CSTR' lucas.prg(216) Warning W0001 Ambiguous reference '...
ADO RDD xHarbour
Lucas, [quote:15pjbq7f] lucas.prg(331) Warning W0001 Ambiguous reference 'UR_FI_FLAGS' lucas.prg(332) Warning W0001 Ambiguous reference 'UR_FI_STEP'[/quote:15pjbq7f] These in xHarbour must be added to hbusrrd.ch [code=fw:15pjbq7f]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;...
ADO RDD xHarbour
Antonio, Yes, please, code it compatible for both harbour and xharbour, thanks
ADO RDD xHarbour
Antonio, I have emailed you the code you asked for <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
ADO RDD xHarbour
You re right Ill do that. Thanks for the code Antonio.
ADO RDD xHarbour
Master Antonio Linares, In order to help Antonio, what is the equivalent in Harbour for IF xxxx IN aTempFiles?. Thanks.
ADO RDD xHarbour
Lucas, ascan() > 0 but you have to inverse args
ADO RDD xHarbour
Antonio, ORDSCOPE is always called in pairs 1st top 2nd bot. Thus I think DBOI_SCOPESET and DBOI_SCOPECLEAR are never called. In order to avoid build a query and open recordset one for TOP and another for BOT I only do that after DBOI_SCOPEBOTTOM is called. Is this the correct behaviour to be compatible with dbf ord...
ADO RDD xHarbour
New adordd with scopes and Harbour syntax <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
ADO RDD xHarbour
Antonio, Excellent! Great work <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Now we need feedback from users. How is your app behaving with it ?
ADO RDD xHarbour
Antonio, Mr Rao, The incremental search in xbrowse doesnt emulate propably the lSoftseek and since it works with filter can take an eternity. Im trying this alternative and I would like to have your opinions: oRecordSet.MoveLast oRecordSet:Find( "NAME = 'whatever' ", , adSearchBackward) oRecordSet:Move(1) == lSoft...
ADO RDD xHarbour
Antonio, Thanks Our trials are running quite good although its still to soon to say how it will work and with what degree of compatibility with existing code. I hope I can solve all upcoming problems that Im sure will be many. Im going into reations do you have any news about my previous questions on this matter?
ADO RDD xHarbour
Antonio, Very good to know that it is working fine on your tests, excellent <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> I don't have any specific idea regarding relationships. I would say that they could be simulated but I don't have the expertise to talk about it. W...
ADO RDD xHarbour
Hello, First of all, to compile adordd.prg with Harbour, you need to add before ANNOUNCE ADORDD: [code=fw:27e04uer]<div class="fw" id="{CB}" style="font-family: monospace;"><br />#ifndef __XHARBOUR__<br /><br />   <span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span>        <...
ADO RDD xHarbour
Antonio, I can discover only 2 possible ways: a) 2 recordsets the parent look with find in the child. With server cursor should be very fast. b) 1 recordset parent and multiple recordsets as child when parent looks by corresponding match. I remember a read somewere that there was subrecordset but I dont remember i...
ADO RDD xHarbour
Antonio, [quote:2l43sf63]b) 1 recordset parent and multiple recordsets as child when parent looks by corresponding match.[/quote:2l43sf63] Yes, thats my idea unless there is a better way to do it using ADO features. We need Rao advice, or other ADO advanced users advice
ADO RDD xHarbour
Lucas, You re right Ill apply your changes. Comment these and check what is the UR_FI_SIZE in hbusrdd.ch aField[ UR_FI_FLAGS ] := 0 // xHarbour expecs this field aField[ UR_FI_STEP ] := 0 // xHarbour expecs this field I think Harbour ony accepts 5 ele.
ADO RDD xHarbour
Hello, In hbusrrdd.ch, there is: #define UR_FI_SIZE 5 Yes, before posting I comment out with no luck: // aField[ UR_FI_FLAGS ] := 0 // xHarbour expecs this field // aField[ UR_FI_STEP ] := 0 // xHarbour expecs this field Antonio, maybe as Antonio´s developing a great efford he could enjoy lat...
ADO RDD xHarbour
Lucas, I appreciate your proposal but I have no time now to install new versions of FWH or Harbour or xHarbour. The alternatives in hbusrdd.ch are (one of wich shoul work) : a) #define UR_FI_SIZE 5 comment in ado_open // aField[ UR_FI_FLAGS ] := 0 // xHarbour expecs this field // aField[ UR_FI_STEP ]...
ADO RDD xHarbour
Antonio, Enrico, Mr Rao, It seems that in ADO datarelations are not available like in ADO.NET so we have to do everything ourselves from scratch. Ive found this article: [quote:2ga6vuxn]One of the biggest differences between traditional ADO and ADO.NET is that the rowsets stored within ADO.NET can be truly relation...
ADO RDD xHarbour
Antonio, What Rdd function DbCommit() and DbCommitAll() are calling ? I need it to design the transactions.
ADO RDD xHarbour
Antonio, From Harbour/src/rdd/dbcmd.c [code=fw:2650cd76]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> DBCOMMIT <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbs...
ADO RDD xHarbour
Antonio, Im trying this code to control if a table can be opened exclusive. The probem is I dont know what to return to the open to be failled. [code=fw:1hlvs8x3]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; <span style="color: #B900B9;">//OPEN EXCLUSIVE MUST BE WITHIN A TRANSACTION!</span><br />...
ADO RDD xHarbour
Antonio, The same but for each workarea: [code=fw:3nnym9zx]<div class="fw" id="{CB}" style="font-family: monospace;">void hb_rddFlushAll<span style="color: #000000;">&#40;</span> void <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;PHB_STACKRDD pRddInfo = ...
ADO RDD xHarbour
Antonio, Regarding concurrent access I choose to initiate a transaction as soon as the first lock is called and end it as soon a dbcommit is called. I assume that the code of apps its written in this mode, dbcommit its only called after all changes otherwise the result migh be unpredictable. We could also do it with u...
ADO RDD xHarbour
Antonio, My suggestion is to test it, as much as possible, by you and other users. Its the only way to know if it will work fine. Regarding the failure, you should raise an error object. Please review arrayrdd.prg for an example
ADO RDD xHarbour
In case you may be interested Two functions ADO to FWH - Clear Table - Mostras database tables (other than those included in FW AdoFuncs) Por si puede interesar Dos funciones ADO para FWH - Borrar tabla - Mostras tablas de base de datos ( distinta a la incluida en FW AdoFuncs ) <!-- l --><a class="postlink-local" h...
ADO RDD xHarbour
Antonio, When we use select() what function does it call in rdd? Thanks Cristobal any help is most welcome
ADO RDD xHarbour
Antonio, [code=fw:26gg3t6w]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/*<br />&nbsp;* Select a WorkArea by the number.<br />&nbsp;*/</span><br />HB_ERRCODE hb_rddSelectWorkAreaNumber<span style="color: #000000;">&#40;</span> int iArea <span style="color: #000000;">&#41;</sp...
ADO RDD xHarbour
Antonio, Option a) worked. This is the code for Harbour: [code=fw:1udug06m]<div class="fw" id="{CB}" style="font-family: monospace;"><br />#ifndef __XHARBOUR__<br /><br />&nbsp; &nbsp;<span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span> &nbsp; &nbsp; &nbsp; &nbsp;<span styl...
ADO RDD xHarbour
In English: The current recordset does not support bookmarks . It may be due to a limitation of the provider or cursor type selected
ADO RDD xHarbour
Lucas, [quote:1fgfkl72]#define UR_FI_SIZE 5 // by Lucas for Harbour[/quote:1fgfkl72] xHarbour needs 7 as the len of the array. You succed to return the fullpath ? Why xbrowse needs fullpath? Checking if file exists isnt still ready for SQL. Try use CursorLocation= adUseClient ADO assures bookmarks with t...
ADO RDD xHarbour
Antonio, 1) In hbusrdd.ch DBRELINFO what is UR_RI_NEXT for ? 2) What shall we put in ADO_INFO : DBI_FULLPATH DBI_TABLEEXT DBI_FILEHANDLE
ADO RDD xHarbour
Hello, I am using Access for the tests. We shall ask Mr. Nages about this xBrowse() issue. Pure Browse() works, but scrolling does not work ok. Append blank fails. Thank you
ADO RDD xHarbour
Antonio, [code=fw:28snbxc9]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> PHB_ITEM hb_usrRelInfoToItem<span style="color: #000000;">&#40;</span> LPDBRELINFO pRelInfo <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&...
ADO RDD xHarbour
Antonio, [quote:3nrauej3] 2) What shall we put in ADO_INFO : DBI_FULLPATH DBI_TABLEEXT DBI_FILEHANDLE [/quote:3nrauej3] FileHandle and TableExt I would set nil to them. For FullPath you may use the database path if defined.
ADO RDD xHarbour
Antonio, [quote:1u5v21dx] struct _DBRELINFO * lpdbriNext; /* Next child or parent */[/quote:1u5v21dx] This always comes empty. Its never used ?
ADO RDD xHarbour
[quote="lucasdebeltran":3m8khdg6] Pure Browse() works, but scrolling does not work ok.[/quote:3m8khdg6] Can you be more precise? Here Browse() works fine. [quote:3m8khdg6]Append blank fails.[/quote:3m8khdg6] Why? This has nothing that can be a problem. Can you explain what is the problem? Here works ok. [code=fw:3...
ADO RDD xHarbour
[code=fw:1pskll5s]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> DBSETRELATION <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;AREAP pArea = <span style="color:...
ADO RDD xHarbour
[code=fw:9m413i24]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> void hb_sxRollBackChild<span style="color: #000000;">&#40;</span> AREAP pArea, PHB_ITEM pItem <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &n...
ADO RDD xHarbour
[code=fw:hyy6gmo8]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> HB_ERRCODE hb_rddCloseParentRel<span style="color: #000000;">&#40;</span> AREAP pArea, void * pChildArea <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br ...
ADO RDD xHarbour
Antonio, In the file c:\harbour\src\rdd\workarea.c it is used many times
ADO RDD xHarbour
Antonio, Thanks for the info Relations are almost finished but I have still some questions about skips In xHarbour help is mentioned: [quote:1hblkhg6]Networking: Use SKIP 0 to make changes to a record visible to other work stations while a record is locked. [/quote:1hblkhg6] This also means that relation should be...
ADO RDD xHarbour
Antonio [code=fw:2f5i6v50]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> HB_ERRCODE hb_dbfSkip<span style="color: #000000;">&#40;</span> DBFAREAP pArea, HB_LONG lToSkip <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br ...
ADO RDD xHarbour
[code=fw:1qrz2y4l]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#define</span> SUPER_SKIP<span style="color: #000000;">&#40;</span>w, l<span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#40;</span><sp...
ADO RDD xHarbour
[quote="Antonio Linares":3k3fdgnh]Antonio, [code=fw:3k3fdgnh]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/*<br /> * Select a WorkArea by the number.<br /> */</span><br />HB_ERRCODE hb_rddSelectWorkAreaNumber<span style="color: #000000;">&#40;</span> int iArea <span style="co...
ADO RDD xHarbour
[quote="Antonio Linares":1qgxcs6d]Antonio [code=fw:1qgxcs6d]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> HB_ERRCODE hb_dbfSkip<span style="color: #000000;">&#40;</span> DBFAREAP pArea, HB_LONG lToSkip <span style="color: #000000;">&#41;</span><br /><span style="...
ADO RDD xHarbour
Antonio, Is not DbSelectArea() working by default ?
ADO RDD xHarbour
[quote="Antonio Linares":2iik3iqw]Antonio, Is not DbSelectArea() working by default ?[/quote:2iik3iqw] What do you mean? What I pretend is to know adordd function is called by it and how can I check if the new selected area is present as child in some relation to reset it to default select..
ADO RDD xHarbour
Antonio, For appending and browsing, Recordset should be opened at STATIC FUNCTION ADO_OPEN( nWA, aOpenInfo ) as shown: [code=fw:3h1rgm9k]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; oRecordSet:<span style="color: #000000;">CursorLocation</span> := adUseClient <span style="color: #B900B9;">//its ...
ADO RDD xHarbour
Lucas, Regarding cursortype it will be altered after to give the chance to the programer to decide what to use when opening the table. The adLockPessimistic setting is not supported if the CursorLocation property is set to adUseClient wich might be a problem. I notice that we need to call :addnew always with fields a...
ADO RDD xHarbour
Antonio, I advise you to start using asap Access and review adofuncs.prg. Once you had it working with Access, you can easily jump on MSSQL or MySQL, just changing connection strings. I followed that scheme when coding starting from 0 an application using Mr. Nages routines and TDataRow() class, and all went perfect. ...
ADO RDD xHarbour
Lucas, [quote:3v6pu8ls]No, I haven´t tried indexes already, as to fully test a complete application I need LOCATE FOR, DbSeek(), SET FILTER and OrdSetFocus() to be working, and I think they are not ready yet.[/quote:3v6pu8ls] All should be working (check index array) but Ill post in the next hour a new version of ad...
ADO RDD xHarbour
Antonio, This picture shows the problem: [img:1sxxx2c8]http&#58;//i57&#46;tinypic&#46;com/ip6t1k&#46;png[/img:1sxxx2c8] There is only one record matching the filter cliteria: set filter to Lugar = "Barcelona" But Browse() works fine: [img:1sxxx2c8]http&#58;//i59&#46;tinypic&#46;com/xb0diq&#46;png[/img:1sxxx2c8] ...
ADO RDD xHarbour
Hello, Indexes are failing: Error description: Error BASE/1132 Error de rango: acceso al array Args: [ 1] = A { ... } length: 0 [ 2] = N 0 At, ADO_ORDLSTFOCUS( 1135 ): here: aOrderInfo[ UR_ORI_RESULT ] := aWAData[ WA_INDEXES ] [aWAData[ WA_INDEXACTIVE ]] aWAData[ WA_INDEXACTIVE ] :...
ADO RDD xHarbour
Lucas, Seek with lSoftseek lLastfind and locate tested. Work. Seek like dbf is never used unless seek expression corresponds to more than 1 field because we cannt use find. In this case we use select Otherwise we use find. Bookmark its only used in ado_recno to save position. Seems the array doesnt follow specs ple...
ADO RDD xHarbour
Antonio, Yes, I follow that structure: [code=fw:1ywjun79]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">LOCAL</span> &nbsp; Alista_fic:= <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"LIBROS"</span>,...
ADO RDD xHarbour
Lucas, Please place in top ORDLSTFOCUS: msgselect(aWAData[WA_INDEXES]) msginfo(aWAData[WA_INDEXACTIVE]) what values do you get?
ADO RDD xHarbour
Hello, xbrowse(aWAData[WA_INDEXES]) Is empty. msginfo(aWAData[WA_INDEXACTIVE]) Gives 0. Thank you
ADO RDD xHarbour
Lucas, Did you open the indexes with set index to or ordlistadd. They are not opened with the table by adordd They must be opened before ordsetfocus gets called This is not the normal procedure with ordsetfocus that does nothing if the index Its a guess
ADO RDD xHarbour
New adordd with relations and transactions <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
ADO RDD xHarbour
Antonio, No, I didn´t use SET INDEX. Now it Work: [code=fw:2viqoddy]<div class="fw" id="{CB}" style="font-family: monospace;">SET <span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">TO</span> LUCAS1, LUCAS2</div>[/code:2viqoddy] But there is a bug at OrdSetFocus(). It returns numbers, but it sho...
ADO RDD xHarbour
Lucas, You re right! Corrected. Could you please try the following : dbseek with and without softseek expression = 1 indexkey and expression = 2 or more index keys set relation and check how is performance. Locking - Please remember that locks are virtual and arent placed in the files so in fact dont protect other...
ADO RDD xHarbour
Antonio, Can you send me the fix for indexes?. Also, have you received my email from yesterday?. Also, for Harbour users, please add the following code: at the top of adorrd.prg: [code=fw:mdabtzvc]<div class="fw" id="{CB}" style="font-family: monospace;"><br />#ifndef __XHARBOUR__<br /><br />&nbsp; &nbsp;<span styl...
ADO RDD xHarbour
Lucas, I just saw your email but couldnt open prg extensions so please send next time with txt extension. Im finnishing all changes and I l post new version asap. Thanks
ADO RDD xHarbour
Posted new version <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
ADO RDD xHarbour
Antonio, Thanks. Resent the email. Now it works fine with Browse() and OrdSetFocus(), but not with xBrowse(). With xBrowse() I get: Error description: Error BASE/1074 Error de argumento: <= Args: [ 1] = C LIBROS1 [ 2] = N 2 Stack Calls =========== Called from: lucas2.prg => ADO_ORDINFO(...
ADO RDD xHarbour
Ok it can receive either numeric order or name order. Done <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> I ve made some changes Relations are not working anymore will revert soon.
ADO RDD xHarbour
Hello Antonio, Thank you. Now xBrowse() seems to work. However, some changes are required at adordd.prg: i) You have ANNOUNCE ADORDD twice on top of it. ii) Also, at ADO_OPEN() you have to comment out: /* aOpenInfo[ UR_OI_NAME ] += ".dbf" hb_adoSetTable( aOpenInfo[ UR_OI_NAME ] ) hb_adoSetEngine( "") ...
ADO RDD xHarbour
Antonio, In the LOCATE FOR command, it does not suport those ways: LOCATE FOR FIELD->NAME ... or LOCATE FOR LUCASTABLE->NAME... Thank you.
ADO RDD xHarbour
Antonio, I guess, at ADO_LOCATE(), in aWAData[ WA_SCOPEINFO ][ UR_SI_CFOR ] for the find, all before -> should be ignored, with substr o sttoken. Thank you.
ADO RDD xHarbour
Also, to add at ADO_INFO: [code=fw:6syzs50c]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; <span style="color: #00C800;">CASE</span> uInfoType == DBI_ISREADONLY <span style="color: #B900B9;">// LUCAS</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;uReturn := .F.<br /><br /><br />&nbsp;</di...
ADO RDD xHarbour
That info about readonly or not is in aWAData, but I don´t know it´s structure.
ADO RDD xHarbour
Lucas, [quote="lucasdebeltran":1v9094ab]Antonio, I guess, at ADO_LOCATE(), in aWAData[ WA_SCOPEINFO ][ UR_SI_CFOR ] for the find, all before -> should be ignored, with substr o sttoken. Thank you.[/quote:1v9094ab] The problem its not only this. We need to know if expression has more than one field mentioned on it. ...
ADO RDD xHarbour
Thank you. Please, don´t forget about&#058; [quote:g6vdc8wa] i) You have ANNOUNCE ADORDD twice on top of it. ii) Also, at ADO_OPEN() you have to comment out: /* aOpenInfo[ UR_OI_NAME ] += ".dbf" hb_adoSetTable( aOpenInfo[ UR_OI_NAME ] ) hb_adoSetEngine( "") hb_adoSetServer( "") hb_adoSetQuery( ) hb_adoSetU...
ADO RDD xHarbour
Antonio, It may be a very good idea if you announce and publish your modified and greatly enhanced adordd.prg version in the Harbour users group list and also in Harbour devel group list. This way surely you will get more feedback: [url:3clszfhl]https&#58;//groups&#46;google&#46;com/forum/#!forum/harbour-users[/url:3...
ADO RDD xHarbour
Ok Ill do that.
ADO RDD xHarbour
Antonio, Lucas, :find wiht more than one field diferent or the same mentioned on the expression its not possible in ADO. Thus Im going to filter . Then calling continue will skip through the filter set. Is this ok for the general use?
ADO RDD xHarbour
Yes, that´s the only possible way in ADO. Also, please don´t forget to open indexes automatically. Antonio L., I think we might wait some days, as adordd.prg need some extra testing. But, indeed, it´s going to be superb.
ADO RDD xHarbour
Lucas, [quote="lucasdebeltran":3c9ohfq3]Yes, that´s the only possible way in ADO. Also, please don´t forget to open indexes automatically. Antonio L., I think we might wait some days, as adordd.prg need some extra testing. But, indeed, it´s going to be superb.[/quote:3c9ohfq3] What do you mean open indexes automat...
ADO RDD xHarbour
Hello, In DBFCDX, there is not need to call SET INDEX TO..., indexes are opened automatically. Just: [code=fw:3innc0hh]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />&nbsp;USE <span style="color: #000000;">&#40;</span> cMyPath + <span style="color: #ff0000;">"CUSTOMER.DBF"</span> <span style="c...
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 --> Relations working. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> (I hope) I think we can even relate tables in 2 d...
ADO RDD xHarbour
Lucas, [quote="lucasdebeltran":8na6mvm8]Hello, In DBFCDX, there is not need to call SET INDEX TO..., indexes are opened automatically. Just: [code=fw:8na6mvm8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> USE <span style="color: #000000;">&#40;</span> cMyPath + <span style="color: #ff0000;">...
ADO RDD xHarbour
Antonio, [quote:2bacaiyq]Antonio do you have any idea over the seek problem?[/quote:2bacaiyq] Could you provide a example to reproduce it ? I am not sure which problem you refer to.
ADO RDD xHarbour
Antonio, In DBFCDX indexes are created like this way: [code=fw:9ddbhs2z]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> FIELD->NOMBRE &nbsp; &nbsp; &nbsp; &nb...
ADO RDD xHarbour
Antonio, use something = select * from .... browse() // you will see all records nreg := recno() seek whatever = select * from .... where (seek expression) browse() //you will only see the seek matching record(s) go to nreg //this doesnt exist anymore You will see what I mean. Dont forget this only happens if seek...
ADO RDD xHarbour
Lucas, The app Im converting does not use structural indexes so I didn't foresee it But lets see: The name of the index in the array is the name of the tag of the struct index file right? 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) ...
ADO RDD xHarbour
Lucas, [quote:2hamvzqn]If you don’t use relations what do you use for ex. to display fields of different "related" workareas?[/quote:2hamvzqn] Please clarify this.