record selection formula for crystal reports by invoice date.

SOLVED

Trying to get a from date and to date parameter to work in records selection formula but

{OEINVH.INVDATE} >= ToNumber({?FROMDATE}) AND {OEINVH.INVDATE} <= ToNumber({?TODATE})

Is not doing it.  I need it to work off of actual dates not the numbers that sage populates as dates any ideas? 

Parents Reply Children