Microsoft
Software
Hardware
Network
Question : Default parameter to max date
Hi, Is it possible to default a parameter to the max date? I tried doing this in the parameter's default values, specify values expression box, but it didn't work. I got the error aggregate and lookup functions cannot be used in report parameter expressions.
=max(Parameters!Run_Dt.Val
ue)
My dataset is this -
select distinct run_dt from tbl_A
Answer : Default parameter to max date
Add a 2nd dataset. Your query will be select max(run_dt) from tbl_A . Then in your parameter under default choose get values from a query. You can then choose this dataset and the field which is the max date.
Random Solutions
Active Sync won't work over 3G
Symantec Endpoint Network Problems
How to make the index.SHTML page as default page ?
Error "Cannot Quit Visual FoxPro" when closing form with embedded OLE MapPoint control
Lost access to Vcenter
How can I connect to sql DB from another vlan?
Changing Allow/Block settings on Autodiscover prompt in Outlook
How can I get X-Plane to recognize my UDP packets?
SMS 2003 SP3 support for Windows7 (Remote Tools)
Can't install Ubuntu 10.04 or Mint 9, need to "align partition" ?!?! minimum alignment for this disk