Search found 59 matches: dow

Return to advanced search

Re: Calcular_Verificar dia habil - SOLUCIONADO

Parece que hoy me levante sin muchas ganas de pensar :cry:
La funsion en cuestion es Dow() que devuelve en forma numérica el día de la semana espesando con un 1 para el domingo así correlativamente.
Gracias y disculpen
Abrazos
by El Loco
Thu Aug 17, 2023 5:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calcular_Verificar dia habil - SOLUCIONADO
Replies: 1
Views: 142

Re: Fighting Xbrowse and lozing !!!

... will be much more noticesable. I have to setup a system like Otto has told before... Running on a server and not like I do Peer to Peer. I works dow!!! but sometimes with delay's and these can be possible due to my minor program techniques. BTW : Maybe we can convince Mr. Rao to put his collection ...
by Marc Venken
Thu Dec 22, 2022 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fighting Xbrowse and lozing !!!
Replies: 18
Views: 1567

Re: updating an archive

hi Silvo, why do you "just" use DOW() and not DTOS() which give you "more" Information you can ad "more" to DTOS() like Postcode of City to compare (use Number) lottery drawings in Italy are drawn every week and ...
by Silvio.Falconi
Mon Nov 14, 2022 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: updating an archive
Replies: 9
Views: 601

Re: updating an archive

hi Silvo,

why do you "just" use DOW() and not DTOS() which give you "more" Information
you can ad "more" to DTOS() like Postcode of City to compare (use Number)
by Jimmy
Mon Nov 14, 2022 1:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: updating an archive
Replies: 9
Views: 601

Re: Copy structure or create new file dbf

... SET FILTER TO ( dFirst <= FIELD->DATA .AND. ; dLast >= FIELD->DATA .AND. ; aCountMesi[ MONTH( FIELD->DATA ) ] .AND. ; aCountGiorni[ DOW( FIELD->DATA ) ] .AND. ; aCountDate[ DAY( FIELD->DATA ) ] ) return nil > ) oLotto:gobottom() If nTipo=2 atempDbf:= oLotto:DbfToArray() ...
by Silvio.Falconi
Thu Jun 09, 2022 7:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy structure or create new file dbf
Replies: 8
Views: 599

Re: Problem to Filter a dbf error on day week

This is wrong:
Code: Select all  Expand view

aCountGiorni[ DOW( FIELD->DATA )-1 ]
 


If FIELD->DATA is Sunday, DOW( FIELD-> DATE ) evaluates to 1 and [ DOW[FIELD->DATA] - 1 ] evaluates to 0/
Naturally aCountGiorni[ 0 ] results in a runtime error.
This must be simple to understand.
by nageswaragunupudi
Tue Jun 07, 2022 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem to Filter a dbf error on day week
Replies: 2
Views: 263

Re: Tdatabase & Filter

... of week are six {.T.,.T.,.T.,.F.,.F.,.F.} because In italy we have Monday Tuesday Wednesday Thursday Friday Saturday So six day no 7 So I made DOW( FIELD->DATA )-1 is it right ? I have to do a filter more complex 1) Init records 2) End records 3) month(data) 4) dow(data) 5) day(data) 6) ...
by Silvio.Falconi
Mon May 23, 2022 9:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdatabase & Filter
Replies: 5
Views: 480

Re: XBROWSE - array no pinta cabeceras

... se como resolverlo con XBROWSE para añadirle una primera columna que permita incorporar el nombre del día con la búsqueda en un array con nomdia[dow(DIARIO->FECHA)] . Copio el código: LISTBOX: REDEFINE LISTBOX oTbr FIELDS ;             nomdia[dow(DIARIO->FECHA)],;  ...
by Verhoven
Thu Jul 08, 2021 6:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE - array no pinta cabeceras
Replies: 6
Views: 752

Re: TCalex: Show bad Mouth View

... DEFAULT dDate := ::dDateSelected if ::Classname() != "TDAYVIEW" // Si ponemos +2 empieza en lunes dFirstDateWeek = dDate - DoW( dDate ) + 1 + _GFD else dFirstDateWeek = dDate endif RETURN dFirstDateWeek
by Silvio.Falconi
Thu Dec 12, 2019 12:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TCalex: Show bad Mouth View
Replies: 5
Views: 1060

Re: Ayuda para Obtener el Dia de Semana de Fecha

... } cLeyenda := aDias[ DoW( dFecha ) ] + Str( Day( dFecha ),2 ) + " de " + aMeses[ Month( dFecha ) ] + ; " de " + Str( Year( dFecha ),4 ) Return cLeyenda ...
by remtec
Wed Nov 13, 2019 7:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda para Obtener el Dia de Semana de Fecha SOLUCIONADO
Replies: 11
Views: 1785

Re: Ayuda para Obtener el Dia de Semana de Fecha

... } cLeyenda := aDias[ DoW( dFecha ) ] + Str( Day( dFecha ),2 ) + " de " + aMeses[ Month( dFecha ) ] + ; " de " + Str( Year( dFecha ),4 ) Return cLeyenda ...
by EBM
Wed Nov 13, 2019 4:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda para Obtener el Dia de Semana de Fecha SOLUCIONADO
Replies: 11
Views: 1785

Re: How to use user defined function in XBrowse?

Thanks for your reply. But it does not work.

XBrowse can call build-in function like "DOW(DOC_DATE)", but I do not know how to call my user defined function.

Marcelo Via Giglio wrote:Hola,

try to use code block COLUMNS "DOC_DATE", {|| Get_name( Customer_code ) }

regards

Marcelo
by Max HK
Fri Aug 30, 2019 12:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use user defined function in XBrowse?
Replies: 6
Views: 915

Re: Problem with Tplan : Cargo Error

... IS AN ERROR ON FIRST Please see BuildPlanning method DEFINE PLANNING ::oPlann OF ::oWnd; HEADER "Elementi/Giorni"; COLOR HEADER ( If( Dow( dDate ) == 1 .OR. Dow( dDate ) == 7, CLR_WHITE, ::oPlann:nClrText ) ); COLOR CELL ::ColorData( oData ) ; START DAY Date() - 5; END DAY Date() + ...
by Silvio.Falconi
Tue Jul 02, 2019 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2821

Re: IMPRESION CON TPRINTER EN EPSON TM-T20II

... : "+Origen,aFon5) oPrn:Cmsay(3.5,.2,"Destino : "+Destino,afon5) oPrn:Cmsay(4.5,.2,"Fecha : "+Vec_Dia[dow(ctod(fechasalida))]+ " "+FechaSalida,afon5) * oPrn:Cmsay(5.0,.2,"Hora : "+Am_Pm(AllTrim(HoraSalida)),afon5) oPrn:Cmsay(5.0,.2,"Hora ...
by jbrita
Fri Jan 18, 2019 12:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION CON TPRINTER EN EPSON TM-T20II
Replies: 3
Views: 1108

Re: funciones de FWH y Harbour en un archivo .txt

... CallDll(<pFunction>,[<xParams,...>])->xResult CDoW(<dExpr>)->cDayName Ceiling(<nValue>)->nInteger Celsius(<nFahrenheit>)->nCelsius Center(<cString>,[<nLength>],[<cPadChar>],[<lBothSides>])->cCenteredString ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5700
Next

Return to advanced search