By using this website, you agree to our Terms of Use (click here)
I would like to schedule a timecard report, but believe I need to set a default date in the parameter in order for this to work properly with the scheduler.
An example is for a client with semi-monthly timecards, who also has monthly periods, the report is run by timecard period end date.
So I would like to have one version of the report with a default date parameter equal to the last day of the financial period. Then I would create another report with the default data parameter equal to the 15th of the current month. Can this be done??

Hi Stephanie,
Even if you can get a formula to default the Parameter value, I think you might still have a problem because when I click the SAVE TEMPLATE button on the report to create a template so you can schedule it, I have a feeling that the hardcoded date will get saved with the template. I haven't confirmed this, but it's my suspicion.
But there might be a better way to do this, and do it with only one report.
What if you create a parameter called "WeekEnding" with a Data Type of String? Then you would restrict the possible values to "15th" and "LastDay".
On the Filters tab in Report Designer, you would then do something like this (I didn't test it, just intended to point you in a direction):

Nice application Royce. I agree that it's not ideal to have to modify report definitions for this, but at least the technique isn't too tricky.
