Search found 277 matches: sum

Searched query: sum

by JoseAlvarez
Mon Feb 10, 2025 9:58 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Incompatibilidad tDolphin - IA - MySQl
Replies: 4
Views: 501

Incompatibilidad tDolphin - IA - MySQl

... pagado, total_monto FROM (
-- Datos principales
SELECT
fecha_pago,
nombre_medio,
codigo_medio,
COUNT(numero_recibo) AS numero_recibos,
SUM(doc_pagado) AS total_doc_pagado,
SUM(monto) AS total_monto,
0 AS orden
FROM temp_resultados
GROUP BY fecha_pago, codigo_medio, nombre_medio ...
by Otto
Sat Jan 25, 2025 6:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio... FiveTouch posts are gone?
Replies: 15
Views: 36027

Re: Antonio... FiveTouch posts are gone?

... originalSize = ($verzeichnisse | ForEach-Object {
Get-ChildItem -Path $_ -Recurse -Include *.prg, *.txt -File | Measure-Object -Property Length -Sum
}).Sum

Write-Host "Gesamtgröße der Originaldateien: $originalSize Bytes" -ForegroundColor Cyan

# Vergleich der Größen
$sizeRatio = [math]::Round ...
by Antonio Linares
Fri Jan 24, 2025 10:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 5215

Re: Using new Class TDeepSeek for documenting

... Array of column indices to calculate totals for.

cHead: CHARACTER - Header text for the group total row.

nType: NUMERIC - Aggregation type (AGGR_SUM, AGGR_AVG, AGGR_MIN, AGGR_MAX, AGGR_COUNT, AGGR_STD, AGGR_STDEVP).

oFont: OBJECT - Font object for the group total row (optional).

Return Value ...
by leandro
Thu Jan 16, 2025 11:38 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Bug en los operadores fwh2409 xharbour 64 bits (solucionado)
Replies: 20
Views: 2311

Bug en los operadores fwh2409 xharbour 64 bits (solucionado)

... en donde sea necesario
//y tambien ajustamos el ancho de las columnas
FOR i:=1 TO len(::aColTl)
if ::aColTl[i]
:aCols[i]:nFooterType := AGGR_SUM
:aCols[i]:cFooterPicture := oLamcla:PIC7
:aCols[i]:cEditPicture := oLamcla:PIC7
:aCols[i]:oFooterFont := oFontCja
endif
:aCols[i]:nWidth ...
by Antonio Linares
Sat Jan 11, 2025 8:23 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 833

Re: CLASS Transformer

... Transformer():New(num_layers, d_model, n_heads)

FOR epoch := 1 TO max_epochs
output := transformer:Forward(src, tgt)
loss := hb_MatrixSum(hb_MatrixMultiply(hb_MatrixSubstract(output, tgt), ;
hb_MatrixTranspose(hb_MatrixSubstract(output, tgt)))) / (10 * d_model)

// Gradiente de ...
by Antonio Linares
Sat Jan 11, 2025 8:06 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 833

Re: CLASS Transformer

... Transformer():New(num_layers, d_model, n_heads)

FOR epoch := 1 TO max_epochs
output := transformer:Forward(src, tgt)
loss := hb_MatrixSum(hb_MatrixMultiply(hb_MatrixSubstract(output, tgt), ;
hb_MatrixTranspose(hb_MatrixSubstract(output, tgt)))) / (10 * d_model)

// Gradiente de ...
by Antonio Linares
Sat Jan 11, 2025 9:31 am
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 833

CLASS Transformer

... pass
output := transformer:Forward(src, tgt)

// Cálculo de la pérdida (simplificado)
loss := hb_MatrixSubstract(output, tgt)
loss := hb_MatrixSum(hb_MatrixMultiply(loss, hb_MatrixTranspose( loss ) ) ) // Pérdida cuadrática

// Backward pass
d_output := hb_MatrixSubstract(output, tgt ...
by Otto
Thu Oct 10, 2024 12:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 2058

Re: DBF How to obtain an array containing record number

... is determined by the definition of the header and fields to set the starting point. The pointer is then shifted by the length resulting from the sum of the field definitions.

The result is a string corresponding to the record line. This string is then split into individual fields. For this ...
by VictorCasajuana
Tue Oct 01, 2024 3:19 pm
Forum: FiveWin para Harbour/xHarbour
Topic: España: Normativa sancionadora sistemas informáticos
Replies: 288
Views: 151415

Re: España: Normativa sancionadora sistemas informáticos

... IVA/VERI-FACTU/Veri-Factu_Descripcion_SWeb.pdf
Por ejemplo:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sum="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/tike/cont/ws/SuministroLR.xsd"
xmlns:sum1="https ...
by VictorCasajuana
Tue Oct 01, 2024 6:51 am
Forum: FiveWin para Harbour/xHarbour
Topic: España: Normativa sancionadora sistemas informáticos
Replies: 288
Views: 151415

Re: España: Normativa sancionadora sistemas informáticos

... servicios_web.html

Se puede obtener el esquema xsd https://prewww2.aeat.es/static_files/common/internet/dep/aplicaciones/es/aeat/tikeV1.0/cont/ws/SuministroInformacion.xsd
que me parece a mi que lleva todo lo necesario.

Usando visual studio code, en teoría se podria hacer según dice Microsoft en ...
by VitalJavier
Wed Jul 31, 2024 8:39 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Algo con AGGR_SUM
Replies: 2
Views: 878

Re: Algo con AGGR_SUM

Gracias
Funciona bien.
by nageswaragunupudi
Wed Jul 31, 2024 4:43 am
Forum: FiveWin para Harbour/xHarbour
Topic: Algo con AGGR_SUM
Replies: 2
Views: 878

Re: Algo con AGGR_SUM

Use bEditValue. Do not use bStrData
by nageswaragunupudi
Wed Jul 31, 2024 4:40 am
Forum: FiveWin for Harbour/xHarbour
Topic: Algo con AGGR_SUM
Replies: 1
Views: 348

Re: Algo con AGGR_SUM

Como hacerle para ponerlo en numerico, yo creo que es por el ":bStrData"
Yes.
Using bStrData was deprecated many many years back.
Using this you can never use any advanced features of XBrowse.
Use:

Code: Select all | Expand

oCol:bEditValue := <codeblock>
by VitalJavier
Tue Jul 30, 2024 10:10 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Algo con AGGR_SUM
Replies: 2
Views: 878

Algo con AGGR_SUM

... oBrow2:aCols[04]:bStrData := {|| IIF(FACTURADET->IMPORTEP>0,FACTURADET->IMPORTEP,FACTURADET->IMPORTEC)}
........
oBrow2:aCols[04]:nFooterType := AGGR_SUM



al hacer la suma en el footer, me esta poniendo Cero.

Como hacerle para ponerlo en numerico, yo creo que es por el ":bStrData"

Saludos.
by VitalJavier
Tue Jul 30, 2024 9:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Algo con AGGR_SUM
Replies: 1
Views: 348

Algo con AGGR_SUM

... oBrow2:aCols[04]:bStrData := {|| IIF(FACTURADET->IMPORTEP>0,FACTURADET->IMPORTEP,FACTURADET->IMPORTEC)}
........
oBrow2:aCols[04]:nFooterType := AGGR_SUM



al hacer la suma en el footer, me esta poniendo Cero.

Como hacerle para ponerlo en numerico, yo creo que es por el ":bStrData"

Saludos.