topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
xBrowse & SELECT parameter | Thanks Mr. Rao
Regards, Euclides |
xBrowse & SELECT parameter | [quote="nageswaragunupudi":1dfrcbt1]For your information, class TDataRow is created to be used in the place of scatter/gather logic, but this class is robust and safer. We can also address the fieldnames as oRec:fieldname.
TDataRow works with DBF, TDatabase, ADO Recordset, TRecSet, DolphinQry exactly the same way.[/q... |
xBrowse & SQLRDD | Hi,
Cant remember if I've asked this question before <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: -->
Is there any way that the method of selecting multiple records (shift & click) be made available for use with SQLRDD?
I think I remember reading somewhe... |
xBrowse & SQLRDD | Have you tried setting marqueestyle to MARQSTYLE_HIGHLROWMS ? |
xBrowse & SQLRDD | Yes, thats the style i'm using |
xBrowse & SQLRDD | [quote="PeterHarmes":21e153ye]Yes, thats the style i'm using[/quote:21e153ye]
If so it SQLRDD also should work like any other RDD. |
xBrowse & SQLRDD | I'm sure I read somewhere that certain index functions are not available in SQLRDD - I think they were the ones that return the position of the record within the index - Is this function being used in xBrowse? |
xBrowse & SQLRDD | For the purpose of multi-select feature it is enough if RecNo() is working correctly.
As I can not test SQLRDD at my end, please explain what is happening in your case. |
xBrowse & SQLRDD | No records are selected when i use the shift key to select multiple records (using mouse)
The ctrl key is working fine by selecting records line at a time. |
xBrowse & SQLRDD | I'm sorry, I've made a mistake - I forgot to remove my modified xBrowse.prg from my build routines. It looks like you can now select multiple rows with the space bar under SQLRDD.
Sorry for wasting your time <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: -->... |
xBrowse & SQLRDD | [quote="PeterHarmes":hc3pl0k3]I'm sorry, I've made a mistake - I forgot to remove my modified xBrowse.prg from my build routines. It looks like you can now select multiple rows with the space bar under SQLRDD.
Sorry for wasting your time <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="... |
xBrowse & SQLRDD | Hi,
Just found a problem with xBrowse & SQLRDD
incremental searching no longer works - I have found the area that is causing the problem:
Line 3855 of xBrowse.prg (METHOD SetRdd)
[code=fw:3ifqbbhz]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #00C800;">if</span> <span ... |
xBrowse & SQLRDD | [quote:1rcd9tpo]Any ideas why this was put in here?[/quote:1rcd9tpo]
Because we were not sure about the existence/functionality of some Ord???() functions in SQLRDD. We preferred not to use such functions rather than creating run-time errors.
With your help we shall try to implement this functionality. Please make the... |
xBrowse & SQLRDD | I've yet to test the incremental filters - this sounds really useful, but as far as I have tested, the incremental searching works fine with this block commented out. |
xBrowse & SQLRDD | Just been testing selecting multiple rows with the shift key under SQLRDD and sometimes it does not select the correct records - it seems to select all the records in the browse on the current view except the records i was expecting.
Also, if i keep selecting records with shift, clearing the list and re-selecting af... |
xBrowse & SQLRDD | Please insert debug statements at places you think appropriate in the METHOD Select() |
xBrowse & SQLRDD | I think the problem is due to ::bKeyNo
Under DBFCDX it uses OrdKeyNo() which is perfect - I think this function does not work under SQLRDD <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Under SQLRDD it eventually uses Recno() which would be fine if you browse was sorted by re... |
xBrowse & SQLRDD | If you are using the latest XBrowse, for SQLRDD, we are using RecNo() and DbGoTo() functions only both for bBookMark and bKeyNo().
We are not using OrdKeyNo().
We expect SQLRDD to be perfectly reliable with RecNo() and GoTo() functions even if used in quick succession many times. |
xBrowse & SQLRDD | But doesnt that mean that the browse must be in recno() order?
I might be reading the select method wrong, but doesnt it skip(-1) if the recno() of the second record selected with the shift is less than the 1st? |
xBrowse & SQLRDD | I've modified the select routine, but this only works if the index is indexed on a unique key:
See the section where nOperation == 3
[code=fw:70gyofd1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">METHOD</span> <span style="color: #0000ff;">Select</span><span styl... |
xBrowse & SQLRDD | Eval( oBrw:bBookMark ) returns the RecNo()
Eval( oBrw:bBookMark, n ) executes( DBGOTO( n ), RECNO() )
[quote:31c3adjn]But doesnt that mean that the browse must be in recno() order?
[/quote:31c3adjn]
Yes.
Any problem? |
xBrowse & SQLRDD | I would say that was a pretty big problem wouldnt you? |
xBrowse & SQLRDD | XBrowse needs to know the following:
What are the functions for:
1. GoTop
2. GoBottom
3. Skip n Rows
4. What is the function to know the row number in natural order
( this is normally RecNo() in RDDs )
5. What is the function which xBrowse can use to go to the row number in natural order.
( This is normally DB... |
xBrowse & SQLRDD | This is the problem I think, those functions are not available under SQLRDD.
The changes you have made in the recent version for SQLRDD are nearly perfect so I think they can stay in xBrowse, it's just the part where it checks if the second click is higher or lower in the list is the problem. The only work around I c... |
xBrowse & SQLRDD | Still I don't like you to give up. I agree I do not about SQLRDD but if you look around you may find the answers. |
xBrowse & SQLRDD | I can remember seeing on the SQLRDD forum someone asking if these functions were available and was told that it would be impossible make these work - I may ask the question again to see if they've had an idea how to implement this.
For me, it's not giving up, shift & select now works with SQLRDD in an xbrowse in my ap... |
xBrowse & SQLRDD | Using ADO, OrdKey() can be replaced by oRs:AbsolutePosition and OrdKeyGoTo( n ) by oRs:AbsolutePosition = n.
I don't know if it can be of any help.
EMG |
xBrowse & SQLRDD | I have posted a message so lets see if xHarbour.com are helpfull! |
xBrowse & SQLRDD | [quote="Enrico Maria Giordano":w0l3dpc3]Using ADO, OrdKey() can be replaced by oRs:AbsolutePosition and OrdKeyGoTo( n ) by oRs:AbsolutePosition = n.
I don't know if it can be of any help.
EMG[/quote:w0l3dpc3]
You are right. That is how XBrowse's SetAdo() works.
But I think SQLRDD does not use ADO. Instead it uses th... |
xBrowse & SQLRDD | Hi
I try "bBookMark" and is not stable, when I browse the list items I repeat, my customers complain that the application is confusing, I'm just excuses, I hope that at some point has a solution.
[code=fw:2hlfi0vv]<div class="fw" id="{CB}" style="font-family: monospace;">oxBrw:<span style="color: #000000;">bKeyNo</sp... |
xBrowse & SQLRDD | Unfortunately, I've found more problems - If I browse a SQL table that i've put a scope on, the browse displays the first record at the bottom of the browse and looks like there are 2 selected records. If I page up/page down, the browse resets and looks good. If i then move the mouse cursor outside of the browse, the... |
xBrowse & SQLRDD | If I comment out the SQLRDD section of the SETRDD method, it fixes the duplicate record problem I reported in my last post, however if I move my mouse outside of the browse, the current selected record jumps to the top of the browse.
I can confirm that this is a SQLRDD only problem, I ran the same code on a DBF and it... |
xBrowse & SQLRDD | **UPDATE**
This is to fix the shift & left-click to select multiple records under SQLRDD
[code=fw:950lodyx]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #00C800;">case</span> nOperation == <span style="color: #000000;">3</span> <span style="color: #B900B9;">//... |
xBrowse & SQLRDD | Please continue with your fixes and we shall consider all of them later. |
xBrowse & SQLRDD | I will release my software to a few of our SQL customers and see if we get any problems. If all ok, I can email you my xBrowse.prg
Regards,
Pete |
xBrowse & SQLRDD | Please note that (::cAlias)->( RecNo() ) is exaactly the same as Eval( ::bBookMark ) or ::BookMark.
Instead of saying uCurRow := ( ::cAlias )->( RecNo() ), we rather code as uCurRow := ::BookMark or uCurRow := Eval( ::bBookMark ), which is already done.
In other words uBook is exactly your uCurRow.
What does IndexKey(... |
xBrowse & SQLRDD | [quote:2bzwzish]
Please note that (::cAlias)->( RecNo() ) is exaactly the same as Eval( ::bBookMark ) or ::BookMark.
Instead of saying uCurRow := ( ::cAlias )->( RecNo() ), we rather code as uCurRow := ::BookMark or uCurRow := Eval( ::bBookMark ), which is already done.
In other words uBook is exactly your uCurRow.
[... |
xBrowse & SQLRDD | Just testing xBrowse again and my change to the method MouseLeave blows up, think it should be:
[code=fw:3dnb9uly]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">METHOD</span> MouseLeave<span style="color: #000000;">(</span> nRow, nCol, nFlags <span style="color:... |
xBrowse & SQLRDD | Hi Peter
I implemented the changes you suggested in xBrowse and stabilized much.
What version of FWH are using?, I was wanting to upgrade, but I think I will end my applications with version 10.10
Since that time vere after the jump.
Regards |
xBrowse & SQLRDD | Hi Oscar,
I'm using FWH version 11.09 which I think is the most compatible version for a while with SQLRDD & xHarbour Commercial
Regards,
Pete |
xBrowse & SQLRDD | Hi Peter,
Are you using SQLRDD with laetst FWH version?.
Thanks. |
xBrowse & SQLRDD | No, I'm currently using the September 2011 version of FWH. |
xBrowse & SQLRDD | And which version of SQLRDD are you using?.
Thanks. |
xBrowse & SQLRDD | I'm using it with xHarbour commercial 6th June 2010 - I tried a later version but had reports from my customers that there was a performance drop. |
xBrowse & SQLRDD | Thanks.
Does it have a revision number or build, like Fivetech?.
Latest version does not work fine with Browses.
Did you ever get support from xHarbour.com?. |
xBrowse & SQLRDD | SQLRDD reports SQLRDD(EX) 9.0, Build 0015, MGMNT 1.72
I did report the slowness to xHarbour, but they didnt offer much help
The problems with the browses I posted here as I use xBrowse.
What problems are you getting with the browses? |
xBrowse & SQLRDD | With your build, Browses work fine.
With latest build, scroll does not work propelly and when you edit a record, the browse goes crazy and duplicates the view.
I did not get a reply from Patrick, so that scares me from purchasing their product. |
xBrowse & SQLRDD | Lucas,
I am afraid xHarbour.com is a failed company. It does still offer a compiler compiled with Pelles, no 64 bits version, no support... It is mainly runned by Patrick Mast.
But what I want to share is that our company purchased SQLRDD a couple of years before. We had several issues and we did not get a reply from... |
xBrowse & SQLRDD | Hi,
With latest FWH 12.06, xBrowse does not work with SQLRDD.
Also, I edited source\xbrowse.prg and remote all calls to SQLRDD. It works better but not fine.
Mr. Rao, please can you look at this?.
Thank you. |
xBrowse & SQLRDD | When I add a new record, the xbrowse displays the first record at the bottom of the browse and looks like there are 2 selected records. If I page up/page down, the browse resets and looks good. If i then move the mouse cursor outside of the browse, the browse corrupts again (first record at the bottom of the browse).
... |
xBrowse & SQLRDD | That's common, I was presented with the FWH 10.10, with small lists, getting better with larger number of items.
I have understood, that the 11.11 that was solved, buy it, but still not able to set to work.
And working with the same version of xHarbour (Sep 2010) in both distributions, the 11.11 do not walk.
Not say wi... |
xBrowse & SQLRDD | Can you please let me know what value OrdKeyNo() returns? Does this function return serial number of the row in the index order? |
xBrowse & SQLRDD | OrdKeyNo does not work in SQLRDD. Apparently, there is no way of knowing this (from xHarbour.com) |
xBrowse & SQLRDD | [quote="PeterHarmes":75spsrux]OrdKeyNo does not work in SQLRDD. Apparently, there is no way of knowing this (from xHarbour.com)[/quote:75spsrux]
I am testing with sqlrdd demo version that I downloaded recently.
OrdKeyCount() is returning the number of records and appears to honor filters.
The function OrdKeyNo() also... |
xBrowse & SQLRDD | I had to modify xBrowse to work with SQLRDD - I can send you my version if you like.
The only limitation I have is when you multi select records, you must be using an index where the key would be unique ( on a transaction number/record number for example)
xBrowse seems to work very well with these modifications <!--... |
xBrowse & SQLRDD | Mr. Nages,
OrdKeyNo() does not exist in SQLRDD. It always returns 0, it is fine as their authors say. |
xBrowse & SQLRDD | [quote="PeterHarmes":1wasca3f]I had to modify xBrowse to work with SQLRDD - I can send you my version if you like.
The only limitation I have is when you multi select records, you must be using an index where the key would be unique ( on a transaction number/record number for example)
xBrowse seems to work very well ... |
xBrowse & SQLRDD | Hello Peter
[quote="PeterHarmes":3smyxd7r]I had to modify xBrowse to work with SQLRDD - I can send you my version if you like.
The only limitation I have is when you multi select records, you must be using an index where the key would be unique ( on a transaction number/record number for example)
xBrowse seems to wo... |
xBrowse & array | Is it possible to choose columns of array to be displayed on xBrowse?
I have array of 20 elements.
I want to display only five of them in order 7,3,4,5,6
How to create this kind of xBrowse?
I don't want to create another separate array or put to every element oBRWKKPOD :aCols[xxx]:nWidth:=0 to do it.
Can I use oBrw:... |
xBrowse & array | Hello Robert,
oBrw:aCols[3]:lHide = .t.
ACTIVATE WINDOW oChild ON INIT (oBrw:SwapCols( oBrw:aCols[1], oBrw:aCols[2] ), oBrw:SetFocus())
This is from FWH/SAMPLES/TESTXBRW.prg
I implemented the changes.
STATIC FUNCTION ArraySort( oWnd )
local oChild, oBrw, oCol
local aStruc
DEFINE WINDOW oChild TITL... |
xBrowse & array | Thank you Otto - it works!
Robert |
xBrowse & array | Here is how:
[code:1qntphza]
oBrw := TXBrowse():New( oWnd )
oBrw:setArray( aData )
oBrw:aCols := {}
oCol := oBrw:AddCol()
oCol:bStrData := {||cValToChar( aData[oBrw:nArrayAt][7] )}
oCol := oBrw:A... |
xBrowse & array | Nageswaragunupudi
It looks like my idea to create browser.
I'm going to implement it.
Thank you.
Robert |
xBrowse & array | I implemented this code
oBRWKKPOD := TXBrowse():New( oDLGKKPOD )
oBRWKKPOD :SetArray( xTABAKT, .T. )
oBRWKKPOD :aCols := {}
oCol := oBRWKKPOD:AddCol()
oCol:bStrData := {||cValToChar( oBRWKKPOD:aArrayData[oBRWKKPOD:nArrayAt][2] )}
oCol:cHeader := "Kod"
oCol:nWidth := 50
oCol:blDClickData := {|| (xKOD_K:=oBRWKKPO... |
xBrowse & array | You can manually define bLClickHeader blocks. Alternatively, let all the columns be defined initially by SetArray method, including autosort.
Then hide the columns you dont want. ( eg. oBrw:aCols[n]:Hide() ).
You can also swap cols for repositioning them ( eg oBrw:SwapCols( 2,7 ) )
You can then get what you want |
xBrowse & array | Otto and Nageswaragunupudi
Thank you for help.
I've just prepared design of browse what I looked for.
Robert |
xBrowse ( follow up ) | Just a quick question .. when xBrowse opens and goes to the first record .. why is the very top left cell always hi-lited in black .. if you click on it it will turn the correct color .. I do have on init oBrw:SetFocus() .. but that does not seem to effect the initial first cell as xbrow opens ..
Any thoughts as how ... |
xBrowse ( follow up ) | Hello Rick,
There are two color-settings
// xBrowse got Focus Color Row/Cell - Text and Background
// ---------------------------------------------------------------------
oLbx:bClrSelFocus = { || { SEL_TEXTCOLOR, SEL_BACKCOLOR } }
// Black Text on White Background
oLbx:bClrSelFocus = { || { 0, 16777215 } }
// x... |
xBrowse ( follow up ) | This is a problem only when browse is in a dialog and browse is not the first control defined. "ON INIT oBrw:SetFocus()" does not help. Whatever we do ( as far as I know ), the first control defined gets focus when the dialog is activated.
In such cases, ( till I learn a better way ) I define the browse as the first ... |
xBrowse ( follow up ) | Rick Lipkin
please try with
ON INIT( oBrw:SetFocus(), [color=#FF0000:ry8pv97n].F.[/color:ry8pv97n] ) |
xBrowse ( follow up ) | Excellant
Thanks Mr Daniel.
Now I recollect that it was long time back solved in these forums too.
Regret I forgot |
xBrowse ( follow up ) | Daniel
YES .. ON INIT( oBrw:SetFocus(), .F. ) worked perfectically !!!!
Many thanks
Rick Lipkin |
xBrowse (MariaDB RS) :bEdit (SOLVED) | Hi All,
Using xBrowse RowSet.. oRs:bEdit := { |oRec| MyDialog( oRec ) } not triggering when xBrowse on Tree ... any hint?
<!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> |
xBrowse (MariaDB RS) :bEdit (SOLVED) | [quote="fraxzi":m182744q]Hi All,
Using xBrowse RowSet.. oRs:bEdit := { |oRec| MyDialog( oRec ) } not triggering when xBrowse on Tree ... any hint?
<!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->[/quote:m182744q]
I got it... need to partner it with:
[code=fw:m182... |
xBrowse (con ADS). MAL con Harbour - AYUDA | Buen día,
Sigo en el intento de pasar todo a HARBOUR y ya lo tengo "casi" listo. Aclaro que uso ADS Server y la clase Tdatabase para las DBF's
Usando ADS Server, tengo un inconveniente con la xBrowse PERO SOLO USANDO HARBOUR.
Los mismos prg's compilados con xHarbour (siempre usando RDD ADS), hacen perfectamente el o... |
xBrowse (con ADS). MAL con Harbour - AYUDA | Cuando yo usaba ADS
tenia que poner estas lines al inicio de mi prg.
[code=fw:30c7r53i]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#define</span> _ADS_SERVER_<br />#ifdef _ADS_SERVER_<br /> REQUEST ADS,ADSKeyCount,ADSKeyNo,OrdKeyCount,OrdKeyNo,Ads... |
xBrowse (con ADS). MAL con Harbour - AYUDA | Cesar,
Gracias por responder.
Lo que indicas es necesario tanto para Harbour como para xHarbour y lo tengo declarado en el primer prg. No viene por ese lado el problema ya que en xHarbour funciona normal pero en Harbour no.
Rolando |
xBrowse (con ADS). MAL con Harbour - AYUDA | UP |
xBrowse (con ADS). MAL con Harbour - AYUDA | Rolando;
Hola.
Por favor muestra el código de tu xbrowse y lo que asignas a oCol:bClickHeader. ¿Tal vez puedas crear un ejemplo reducido que reproduzca el problema?
Saludos,
Reinaldo. |
xBrowse (con ADS). MAL con Harbour - AYUDA | Reinaldo,
Copio el prg de ejemplo (así lo uso básicamente)
[code=fw:34np2exe]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"ADS.C... |
xBrowse (con ADS). MAL con Harbour - AYUDA | Disculpen el O.T.
[quote="sysctrl2":3cptwipt]Cuando yo usaba ADS
tenia que poner estas lines al inicio de mi prg.
[code=fw:3cptwipt]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#define</span> _ADS_SERVER_<br />#ifdef _ADS_SERVER_<br /> REQUEST ADS,ADSKeyCount,ADSKeyNo... |
xBrowse (con ADS). MAL con Harbour - AYUDA | UP (último intento, si no logro solucionarlo deberé seguir con xHarbour).
Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
xBrowse + ADS = Slow Motion! | I'm using ADS, I acquired the FW 10.5 and as part of the version migration in my search screen I upgraded from wBrowse to the xBrowse but with ADS it was too slow...
I have an version of my program without the ADS and in this there is no speed difference from wBrowse to xBrowse, but I use this version only for tests.... |
xBrowse + ADS = Slow Motion! | I used XBrowse for browsing 800,000 rows table, with user selectable filters and all features, with around 200 simultaneous users on client server environment over slow speed wide area network ( those days our WAN speeds were as low as 64kbps/128 kbps).
There are a few tricks to use XBrowse with ADS. If followed we ga... |
xBrowse + ADS = Slow Motion! | Thanks u for sharing u tricks
Jaque |
xBrowse + ADS = Slow Motion! | <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=9343&p=79429&hilit=adsrecordcount#p79429">viewtopic.php?f=3&t=9343&p=79429&hilit=adsrecordcount#p79429</a><!-- l --> |
xBrowse + ADS = Slow Motion! | Hi,
yes, xBrowse + ADS + tricks is fast <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
But there is another annoying speed issue regarding ADS and the WildMatch function.
Animated by this topic <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/v... |
xBrowse + ADS = Slow Motion! | If we are using ADS, let us not think in terms of wildmatch.
Let us approach from Fast Text Search feature. This feature on ADS is similar to Oracle, MSSql and other major RDMSs functionally. If we create appropriate FTS indexes, the results are spectacular even on tables with million rows.
Filters containing UDFs are... |
xBrowse + ADS = Slow Motion! | Rao,
thank you very much for clarification. |
xBrowse + ADS = Slow Motion! | Rao,
tested FTS in our customer address table: [code=fw:2gomqywc]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #000000;">(</span> cAlias <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> AdsCreateFTSIndex<span style="color: #000000;">... |
xBrowse + ADS = Slow Motion! | [quote:1i0ptg4j]it's fast or even faster than the WildMatch[/quote:1i0ptg4j]
Please study the syntax in detail.
You do not have to 'OR' different 'CONTAINS'. One CONTAINS is enough for many AND and OR conditions. Syntax is similar on almost all RDMSs.
It is faster even on remote server (using client server ADS) beca... |
xBrowse + ADS = Slow Motion! | Hi,
I think you can add logical condition inside query CONTAINS( <field>... ' text search [OR|AND|NEAR] textsearch [OR|AND|NEAR] .....' )
regards
and save paul <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xBrowse + ADS = Slow Motion! | Rao,
you wrote:
[quote:by1v6ha2]Please study the syntax in detail.
You do not have to 'OR' different 'CONTAINS'. One CONTAINS is enough for many AND and OR conditions. Syntax is similar on almost all RDMSs.[/quote:by1v6ha2]
Studying syntax from here <!-- m --><a class="postlink" href="http://devzone.advantagedatabase... |
xBrowse + ADS = Slow Motion! | Examples:
Search conditions that use only search words combined with the logical operators AND and OR are fully optimized (assuming an FTS index exists on the field being searched). For example, the following query is fully optimized:
SELECT * FROM apdd
where contains( definition, ‘science and (history or proof)’ )
... |
xBrowse + ADS = Slow Motion! | Marcelo, Rao,
yes, if you have more then one search word, but what about a fieldlist and how are these fields combined per default, 'OR' or 'AND' and how to change?
Remember, my logic is:
[code=fw:e47zurn6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #ff0000;">'contains( field1,... |
xBrowse + ADS = Slow Motion! | Frank,
you are right, there is not other way because the logical operators are for the fields and not for the text search
regards
Marcelo |
xBrowse + ADS = Slow Motion! | Tambem tive este problema, resolvi mais não é o correto a fazer.
Isto não acontece se usar sistema remoto do ads.
Altere no Method SetRDD()
[code=fw:owg6azi2]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> cAdsKeyNo := <span style="color: #ff0000;">"{| n, Self | iif( ... |
xBrowse + EDIT_GET | Friends,
I'm having a problem with the code bellow where I'm showing a rowset content and trying allow to edit two fields(Columns 3 and 9). But the EDIT_GET is only working for the column 3. For the other column(9) double click is not activating the edit.
I have already tried with EDIT_GET_BUTTON, but don't work too... |
xBrowse + EDIT_GET | Can you kindly reproduce this problem using any tables that are already exist in our demoserver?
You can log into the demo server with FW_DemoDB(). Check the existing tables with oCn:ListTables()
You can also add any test table of your own with dummy data. |
xBrowse + EDIT_GET | Mr Rao,
It's difficult because I don't know those tables, how are the relations, etc. The worst is IF works your tables I will continue with my problem <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.