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
What is my wifi network password?
workgroup computer connected to domain LAN cannot browse web but can resolve IPs
How to collaspe a menustrip in vb.net?
Require 2 CPUs on an Intel Server SC5520HC Motherboard?
Event ID 1030 and 1058 Missing gpt.ini - Group Policy
Quickr..How do I edit the tabs on the home page of my place? I want to add a tab
Does Barack Hussein Obama deserve 4 more years?
Column Name in query
XBMC live boot error
obtain source (/usr/src) for 8.0-RELEASE-p3