Hi
I'm using an "if" statement to control the viewing of documents.
I have a field cb_subsdiffdays which is a query - SELECT DATEDIFF(now(),'[cb_subdate]')
If I run a exact match the if statement works ie
[cb:if cb_subsdiffdays="3"] Your 15 day period is active[/cb:if]
if I run a comparison it always fails ie
[cb:if cb_subsdiffdays<="15"] Your 15 day period is active[/cb:if]
Am I missing something?
nb cb_subsdiffdays is equal to 3 today.
Thanks
Richard