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
SBS 2008 shared folder permissions problem - read only - need full control
What causes error "0x80070015" when connecting to bluetooth device in window 7?
How to setup zywall 10w firewall gateway
Unix filler
SATA hot swap in windows server 2008 (URGENT)
Windows XP OEM in a virtual machine
setup NAT on Cisco ASA
ASP.NET How to get picture images to display...in a LISTVIEW?
How to write an excel =sumif formula with multiple conditions
Outlook 2007 Tasks sending out automatic status reports (updates) when attachments are opened