TableMonth.SETFILTER(Month , FORMAT(DATE2DMY(TableFiscal.DOB , 2)));
IF TableMonth.FINDFIRST THEN BEGIN
FiscalCode += FORMAT(TableMonth.Letter);
MESSAGE('%1',TableMonth.Letter);
END;
Try this. If you don't even get a message theres something wrong with your filter.
TableMonth.SETFILTER(Month , FORMAT(DATE2DMY(TableFiscal.DOB , 2)));
IF TableMonth.FINDFIRST THEN BEGIN
FiscalCode += FORMAT(TableMonth.Letter);
MESSAGE('%1',TableMonth.Letter);
END;
Try this. If you don't even get a message theres something wrong with your filter.
Answers
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Try this. If you don't even get a message theres something wrong with your filter.