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
EtherChannel on Cisco 2960 switch intermittent dropped packet
VB.NET Setup Installing App Files Without Asking What Folder to Install
How can I get a Buy Now url for PayPal rather than the input button described to use?
Mailbox Quota full
alternative current in to a pc
Need help on rollover buttons in flash in Flash CS4 and AS 3
You Tube Download Software
Windows 2003 Server Event 244
Crystal Reports to Accept Parameters Then Display Reports Accordingly
Office 2010 KMS on non-AD DNS?