Viewing 15 posts - 901 through 915 (of 3,543 total)
Jeff Moden (11/21/2013)
@Oracle765,Let's try to science this out in a safer manner. What will you pass in the @Installations variable?
Heck! Explain the query first.
As far as I can tell...
November 22, 2013 at 7:16 am
Copy the data to a new table if you want to keep the original data
Then select top 2000 from source table into new table
Delete top 2000 rows from source table
Repeat...
November 22, 2013 at 6:47 am
Jeff Moden (11/19/2013)
I used to be a great VB6 programmer
WHAT :exclamationmark: Are you a bad VB6 programmer now
And after everything you said about CLR sheesh :rolleyes:
p.s. Only joking Jeff, my...
November 21, 2013 at 6:55 am
You can nest IIf ie
=IIf(Parameters!ExcelToolbar.Value = 0,IIf(RowNumber(Nothing) Mod 2 = 0, "Gainsboro", "White"), "White")
November 21, 2013 at 6:46 am
Are "apples" and "oranges" rows or columns?
What do you mean by "but that only apply to when it is Initially run"
If they are rows then setting the row visibility expression...
November 21, 2013 at 6:26 am
Jeff Moden (11/16/2013)
November 18, 2013 at 10:29 am
Koen Verbeeck (11/18/2013)
Went over 11,000 points a while back and I also managed to wringle myself into the top 10 (sorry Paul).😎 :w00t:
Well done Koen 🙂
Don't think I'll ever reach...
November 18, 2013 at 7:21 am
WITH cte (MainGroup,EmpLevel,NumberOfstaff) AS (SELECT CASE WHEN EmpLevel LIKE '%Mngmnt' THEN 1 ELSE 2 END,EmpLevel,NumberOfstaff FROM )
SELECT COALESCE(EmpLevel,CASE WHEN GROUPING(MainGroup) = 0 THEN 'Sub Total' ELSE 'Grand Total' END),SUM(NumberOfstaff)...
November 14, 2013 at 6:54 am
Add a textbox at the top of your report containing the error message as you would like to see it.
Right click on the box and select textbox properties, select visibility,...
November 14, 2013 at 6:15 am
peacesells (11/12/2013)
The dynamic sql is pre-composed.
Then I think you are stuck with your original query.
IIRC There have been some posts suggesting using OPENROWSET with dynamic sql to avoid the use...
November 13, 2013 at 2:58 am
For your end date I think it should be
=DateAdd(DateInterval.Day,6,DateAdd(DateInterval.Day,7-Weekday(Today,FirstDayOfWeek.Tuesday),Today))
November 13, 2013 at 2:52 am
This will give you the date of the next monday (note if today is monday then today is the date returned)
=DateAdd(DateInterval.Day,7-Weekday(Today,FirstDayOfWeek.Tuesday),Today)
November 12, 2013 at 7:25 am
Notwithstanding ndiro's reply, I would guess this
=IIF(Sum(Fields!PreviousMonth.Value) = 0,0,
(Sum(Fields!CurrentMonth) - Sum(Fields!PreviousMonth.Value))
/IIF(Sum(Fields!PreviousMonth.Value) = 0,1,Sum(Fields!PreviousMonth.Value)))
November 12, 2013 at 7:06 am
Why not put the values of the variables in the dynamic sql @sql before execution
November 12, 2013 at 6:57 am
My solution (bet Jeff picks holes in it :Whistling:)
Create a format file containing
9.0
6
1 SQLCHAR 0 ...
October 31, 2013 at 8:57 am
Viewing 15 posts - 901 through 915 (of 3,543 total)