A
artross
Guest
So, I made a table which just contains system parameters. It has one entry at the moment called "yyyy" value is "yyyy".
To keep from having to enter data which is always the same for the DateDiff caculation, I changed my query to look like this :
Age: DateDiff([System Variables]![YYYY],[Student Date of Birth],Date())
It does not ask to input the 'yyyy' (good), but stops all output from the query (which means it probably has null input for the 'yyyy').
How can I feed the 'yyyy' parameter to the query programactically rather than having to enter it each time? It is always the same.
To keep from having to enter data which is always the same for the DateDiff caculation, I changed my query to look like this :
Age: DateDiff([System Variables]![YYYY],[Student Date of Birth],Date())
It does not ask to input the 'yyyy' (good), but stops all output from the query (which means it probably has null input for the 'yyyy').
How can I feed the 'yyyy' parameter to the query programactically rather than having to enter it each time? It is always the same.