Maybe you mean this: DATA_INSOLUTO_RID = datepart(DATA_SCADENZA_FINALE); Infact, the code: DATA_INSOLUTO_RID = datepart(DATA_INSOLUTO_RID ); returns the error "ERROR: Variable DATA_INSOLUTO_RID is not on file WORK.W1AE6YSK." and the expression cannot be validated. But using the setting as in the attached file, returns the following error: " The informat YYMMDDN was not found or could not be loaded" As showed in the combobox, only yymmdd. or yymmn. could be used; yymmddn8. is not included in the combobox values. I've tried also yymmdd. in Format and Informats. In this case, DATA_INSOLUTO_RID is printed as 16-11-14 in the file, but I expect 20161114 instead. Thank you,
... View more