Search found 408 matches: condition

Return to advanced search

Selectecing mutiple cells in excel

Hi, In my program I put conditional formating, and also formuls on cells in excel. The problem is that I don't have to put it on all the cells (so I can use range). So what I do now is put is on each cell that need it, the condition. ...
by Marc Vanzegbroeck
Thu Aug 13, 2020 8:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Selectecing mutiple cells in excel
Replies: 8
Views: 968

Re: send data to excel with some condition from xbrowse

To see how the second method works, first test this small sample XBROWSER "STATES.DBF" SETUP ( oBrw:bRClicked := { |r,c,f,o| ;   o:aselected := { 2,3,4 }, o:ToExcel(), o:aselected := {} } )  thank mr. rao, I use recordset, so how could be the ...
by artu01
Thu Jul 23, 2020 10:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: send data to excel with some condition from xbrowse
Replies: 2
Views: 612

Re: send data to excel with some condition from xbrowse

This is not provided as a part of ToExcel() method. However, there are two ways of doing it. Approach-1 a) SetFilter to the condition. oBrw:Refresh() b) ToExcel() c) Clear filter and oBrw:Refresh() Approach-2 a) Prepare an array of RecNo()s to be exported. Example: aRecNo := {}( ...
by nageswaragunupudi
Thu Jul 23, 2020 3:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: send data to excel with some condition from xbrowse
Replies: 2
Views: 612

send data to excel with some condition from xbrowse

Guys:
With xbrowse I want send data to excel using :toExcel but only those registers that meet some condition
and not all data that is displayed in the xbrowse

is it posible?, could you give me an example, please

Thank you
by artu01
Wed Jul 22, 2020 7:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: send data to excel with some condition from xbrowse
Replies: 2
Views: 612

Re: MariaDB Rowset Seek Method returns always .T.

No please.
Instead you may use
Code: Select all  Expand view

oRs:Locate( "last = 'ge' .and. first = 'aa'" ) //--> lfound
 

The search condition should be in dbf syntax.
by nageswaragunupudi
Tue Jun 16, 2020 1:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB Rowset Seek Method returns always .T.
Replies: 7
Views: 1133

Re: TWeb for mod Harbour is ready

Taavi,

Html has the onchange event that allows you to execute a javascript function. That function you could easily test your validation and if it does not meet the condition put the focus again in the field. I'll look at simulating it ...
by Carles
Tue May 26, 2020 10:48 am
 
Forum: mod_harbour
Topic: TWeb for mod Harbour is ready
Replies: 17
Views: 2771

Re: filter or where statement in SQL

... on server or network resources. 2nd method. - Only required records are retrieved from the server. - But each time we change the filter/where condition, we need to retrieve the new data again. Everytime this places strain on server and network resources. So, depending on the size of the table ...
by nageswaragunupudi
Wed May 06, 2020 2:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: filter or where statement in SQL
Replies: 6
Views: 697

filter or where statement in SQL

... next set filter. oRs:=oCn:RowSet('bigdata')oRs:SetFilter('datano = 555') In this situation, load all table to client. To change condition, oRs:SetFilter('datano=666') again. or with sql statement. oRs:=oCn:RowSet('select * from bigdata where datano = ?', {555}) ...
by Horizon
Wed May 06, 2020 11:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: filter or where statement in SQL
Replies: 6
Views: 697

Re: FWH, VPN and SMB

driessen wrote:DBF-files with CDX RDD


I am not expert as other friends, but I do not expect speed in dbf condition via internet. VPN is just a security.

I have the same problem like you. I have started to migrate my application MariaDB quickly. I expect more speed than dbf.
by Horizon
Fri Apr 17, 2020 7:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH, VPN and SMB
Replies: 27
Views: 2538

Re: SetCheck() on MariaDB => SOLVED

I didn't understand your answer. I´m speaking of hundreds records. Can't I specify a condition to select the rows ?
by vilian
Thu Apr 09, 2020 10:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetCheck() on MariaDB => SOLVED
Replies: 15
Views: 2613

Re: xbrowse row colours

Iris, if the condition to set the colors is very complicated, I advise you to use a function that returns the corresponding color array oBrw:bClrStd := { || MyColors( oBrw ) }.../...Function MyColors( oBrw ...
by cnavarro
Mon Mar 02, 2020 11:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse row colours
Replies: 4
Views: 952

Bug in TBTNBMP Class FWH 19.12 ?

... upper right corner of the dialog, and 4.- Press the ALT+F4 keys to close the dialog), the variable" lSelecc "should remain in .F. This condition is met in the first three cases, but fails in 4 (ALT+F4) that puts the variable in .T. as if you had clicked on the "Select" button. ...
by Cgallegoa
Sat Feb 15, 2020 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in TBTNBMP Class FWH 19.12 ?
Replies: 8
Views: 1670

Re: xbrowser footer

Thank you Mr. Nages, I use ! Deleted() in index condition to solve this issue. Please do NOT use FOR conditions in Indexes. The purpose of indexes is also to speed up queries (FILTERS). The RDD does not consider indexes with FOR conditions for optimization. ...
by nageswaragunupudi
Tue Dec 03, 2019 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowser footer
Replies: 9
Views: 1348

Re: xbrowser footer

... 2. These are issues relating to using the (x)Harbour function OrdKeyCount() but not XBrowse. Thank you Mr. Nages, I use ! Deleted() in index condition to solve this issue.
by wartiaga
Tue Dec 03, 2019 2:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowser footer
Replies: 9
Views: 1348

New FTDN September/Septiembre 2019 (FWH 19.09)

... [bWhile], [nNext], [nRecord], [lRest] ) // DBF Load( [cWhere] ) // MySql table Load( [aParams] ) // mysql query Reloads the data with the new condition / or existing condition Eg: oData:Load() // reloads the data using the exsiting bFor/cWhere oData:Load( "INVNUM=99" / { || "INVNUM=99" ...
by Antonio Linares
Sun Oct 13, 2019 11:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2900
PreviousNext

Return to advanced search