HI, Try the statement below SELECT * FROM AR_CustomerSalesHistory WHERE {fn CONVERT(FiscalYear, SQL_INTEGER )} = {fn YEAR({fn CURDATE()})} You can review the Scalar Functions supported by the Sage 100 ODBC driver at the link below. msdn.microsoft.com/.../ms711813(v=vs.85).aspx John Nichols Sage
↧