no this is only for test static dDataIniziale,dDataFinale,lshowNumeri on function Beach() //only for test oApp:dDataIniziale := ctod("01-07-2018") oApp:dDataFinale := ctod("07-08-2018") oApp:lshowNumeri:= .t. on Function Change_Plan oReservation:setorder(1) oReservation:Exec( ...
What is strange in it? You look at your own code carefully. You have used CTOD() before setting DATE FORMAT. Till you set the date format is the default format "mm/dd/yy". 14 as month is invalid. To avoid such mistakes it is a good idea to use STOD( ...
If I have this test Function test() Local dDatafine:=ctod("14/08/2019") SET DATE FORMAT "dd/mm/yyyy" SET DATE ITALIAN SET CENTURY ON SET EPOCH TO ( YEAR( DATE() ) - 50 ) ? dDatafine return nil it return me this https://i.postimg.cc/0rRC79S9/fffffffffffffffffffffffffffffffffffffffffffffff.png ...
... say an array is made up of a few records of hashes with the following structure h_["receipt"] := "100" h_["date"] := ctod("05/12/2018") h_["amount"] := 1000 How to specify the COLUMNS part in xBrowse command if we just want to display h_["receipt"] ...
Yo haría dos cosas, primero cambiaría cfecha por ctod(cfecha) , para convertir el campo cfecha a fecha si esta definida Albaran->Fecha como fecha segundo Upper(cnombre)$Upper(Albaran->Spro) . Vamos las pondría las dos en mayúsculas por si acaso ...