Search found 63 matches: dow

Return to advanced search

check of date for upgrade

... )   oDbf:goBottom()   dDataEstrazione:= oDbf:data   oDbf:close()   //determino numero giorno   nDayarchive:= dow(dDataEstrazione)  //estrazione salvata   nDaytoday:= dow(date())   //oggi            IF nDaytoday = nMartedi      IF nDayarchive ...
by Silvio.Falconi
Wed Oct 23, 2024 7:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check of date for upgrade
Replies: 2
Views: 292

Creation Array from Tdatabase

... SET FILTER TO ( dFirst <= FIELD->DATA .AND. ; dLast >= FIELD->DATA .AND. ; aCountMesi[ MONTH( FIELD->DATA ) ] .AND. ; aCountGiorni[ DOW( FIELD->DATA )-1 ] .AND. ; aCountDate[ DAY( FIELD->DATA ) ] .AND. ; aCountIndici[ FIELD->IDX ] ) return nil > ) where I insert the conditions ...
by Silvio.Falconi
Fri Oct 11, 2024 11:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation Array from Tdatabase
Replies: 2
Views: 227

Re: Preview a PDF con imagen de fondo (PNG)

Mr. Nages, dow can I solve this?

Thanks, thanks,thanks!!

Roberto
by TOTOVIOTTI
Mon Aug 26, 2024 2:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Preview a PDF con imagen de fondo
Replies: 37
Views: 7817

Re: Problemas con una búsqueda.

... dDate ) dSelect := dDate dWork := TToD( "01/" + padl( nMonth, 2 ) + "/" + ; right( cCYear, 2), "DD/MM/YY" ) while DoW( dWork ) > 1 dWork -- enddo DEFINE FONT oFont NAME "Ms Sans Serif" SIZE 0, -14 DEFINE FONT oFont2 NAME "Ms Sans Serif" SIZE ...
by José Camilo
Sun Jun 16, 2024 6:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con una búsqueda.
Replies: 4
Views: 467

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: 237

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: 2717

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: 946

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: 946

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: 852

Re: Problem to Filter a dbf error on day week

This is wrong:
Code: Select all  Expand view  RUN

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: 304

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: 678

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: 930

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: 1165

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: 2119

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: 2119
Next

Return to advanced search