Search found 260 matches: sum

Return to advanced search

Re: chatGPT writes and executes Harbour code !!!

... escrito en lenguaje Harbour que combina 90 números, sin repetición, en una matriz de tres números, que respetan 4 posibilidades, es decir, suma ciclométrica, distancia ciclométrica, suma matemática y distancia matemática y que puede seleccionar el usuario una de las 4 posibilidades? Can ...
by Silvio.Falconi
Tue Dec 13, 2022 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: chatGPT writes and executes Harbour code !!!
Replies: 35
Views: 3060

Re: cyclometric circle

... https://i.postimg.cc/jqhPpc8D/Cerchio-Ciclometrico.gif The fundamental notions of cyclometrics, essential to know, are: distance, sum, midpoint and the related specific glossary. As it is easy to understand, by joining two or more points on the circumference we obtain different ...
by Silvio.Falconi
Tue Dec 06, 2022 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3465

Re: Resta de columnas en xBrwose

... cQuery += "DATEDIFF('"+dHoy+"', Fac.fecha_vencimiento)," cQuery += "Fac.monto, " cQuery += "(SELECT SUM(monto_pago) FROM "+cT_Pagos+" WHERE codigo_cliente=Cli.codigo_cliente AND numero_documento=Fac.numero_documento) AS nPagos , " cQuery ...
by Willi Quintana
Thu Dec 01, 2022 3:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resta de columnas en xBrwose
Replies: 14
Views: 1082

Re: Resta de columnas en xBrwose

Hola amigo, gracias por responder. No es esa la columna que me da error, es la que tiene la subconsulta, "Select sum(...." es alli donde esta el problema. Con AS y sin AS se presenta el problema. Si lees el hilo completo, el mismo Mr rao me dice que puedo hacer el calculo ...
by JoseAlvarez
Tue Nov 29, 2022 11:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resta de columnas en xBrwose
Replies: 14
Views: 1082

Re: set spinner on combobox

... because I'll explain for example if we analyze the sequences 1-2 adds up to 3 this when it comes to sequences with two numbers 1-2-3 the minimum sum is 6 this when it concerns the sequences with three numbers if the user changes and puts 1 the procedure will never be able to create an array in ...
by Silvio.Falconi
Tue Nov 01, 2022 10:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set spinner on combobox
Replies: 7
Views: 507

Re: intercept repeated values in an array

... Calc_Ambi_Sum_dist(n1,n2,nTipo)//---------------------------------------   local nNum:=0   local nTemp:=0   Do case      case nTipo= 1 // suma ciclométrica      ok          nTemp:= n1+n2          If nTemp > 90            nTemp:= ntemp-90      //el exterior 90          Endif       case ...
by Silvio.Falconi
Wed Oct 26, 2022 8:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: intercept repeated values in an array
Replies: 5
Views: 346

Re: intercept repeated values in an array

... NIL// FIN / END  Regards, saludos. your test not run the array aTmp is Empty my test https://i.postimg.cc/cJ51VwLx/r.png With the sum the nvalore must be min. 3 and not 1 sample 1+2 = 3 as you can see on picture the number 1 and 2 are repeated #include "fivewin.ch"Function ...
by Silvio.Falconi
Tue Oct 25, 2022 9:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: intercept repeated values in an array
Replies: 5
Views: 346

Re: prices breakdown

the total max is 391.85 is the sum of all columns I made a test but there is an error because then the 4 position it jump to 9 and I not understood why Image the second column of xbrowse it the row of scheme and the first are the columns ...
by nageswaragunupudi
Mon Jun 27, 2022 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: prices breakdown
Replies: 8
Views: 546

prices breakdown

... for a sample : total price 1.20 it return me col - Row 9 --------1 11 -------1 the total max is 391.85 is the sum of all columns I made a test but there is an error because then the 4 position it jump to 9 and I not understood why https://i.postimg.cc/FsdHtDgW/mm.png ...
by Silvio.Falconi
Mon Jun 27, 2022 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: prices breakdown
Replies: 8
Views: 546

Re: xBrowse sum help?

XBrowse does not natively support multiple totals in a single column. We need to use workaround. Please try this sample: #include "fivewin.ch"function Main()   USE CUSTOMER   DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-15   DEFINE DIALOG oDlg SIZE 500,500 PIXEL TRUEPIXEL FON...
by Horizon
Fri Jun 24, 2022 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse sum help? (SOLVED)
Replies: 4
Views: 402

Re: xBrowse sum help?

XBrowse does not natively support multiple totals in a single column. We need to use workaround. Please try this sample: #include "fivewin.ch"function Main()   USE CUSTOMER   DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-15   DEFINE DIALOG oDlg SIZ...
by nageswaragunupudi
Wed Jun 22, 2022 5:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse sum help? (SOLVED)
Replies: 4
Views: 402

Re: xBrowse sum help?

Thank you Mr. Rao,

I have changed your advice but there is not any change.

As I said before, I should sum three condition. 1. all, 2. Header Ödeme Yeri = "Büroda", 3 - Header Ödeme Yeri = "Havale"

and I want to show three total in footer "Tutar" column.
by Horizon
Tue Jun 21, 2022 8:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse sum help? (SOLVED)
Replies: 4
Views: 402

Re: xBrowse sum help?

if ! Empty( oCol := oBrw:oCol( "Tutar" ) )    oCol:nWidth := 90   oCol:nFooterType := AGGR_SUM//    oCol:nTotal      := 0//    oCol:lTotal      := .t.endif  and finally, oBrw:MakeTotals()oBr...
by nageswaragunupudi
Tue Jun 21, 2022 8:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse sum help? (SOLVED)
Replies: 4
Views: 402

xBrowse sum help? (SOLVED)

Hi, I want to sum one column in xbrowse. If I sum all of records, there is not any problem using below. http://www.objekt.com.tr/fwh_test/xbrowse1.png if ! Empty( oCol := oBrw:oCol( "Ödeme Yeri" ...
by Horizon
Mon Jun 20, 2022 9:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse sum help? (SOLVED)
Replies: 4
Views: 402

Re: ayuda con consulta en mariadb

Considero que esta mal definida la consulta.
Para el caso de utilizar group by, necesitas indicar un campo por el que se va a resumir la consulta, ejemplo

SELECT YEAR(fecha),SUM(total) FROM facturas GROUP BY YEAR(fecha)
esto retornara las ventas totales agrupadas por año.

Saludos
by admsoporte
Tue Dec 07, 2021 2:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con consulta en mariadb
Replies: 5
Views: 445
PreviousNext

Return to advanced search