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
try catch
install problems with Framework .net 3.5 in Windows Server 2008 SP2 x86
Outlook 2007 does not remember password.
iPad Camera Connection Kit does not display .jpg images on iPad
How do I make sure that DFS is operating with Server 2008 options (file deltas)?
changing external server name.. do I need to change anything in Outlook
Bigger hard drive for Latitude D420
Cross Domain Authentication System Error 5
Rules at the mailbox level via Exchange
How do you change attachment size in outlook?