Viewing 15 posts - 1 through 15 (of 139 total)
I believe I solved it by going to a subreport.
August 5, 2025 at 5:10 pm
Great, I'll give that a read. Fingers crossed.
Thank you for all of your help everyone, 😁👍
April 9, 2025 at 3:11 pm
WOW!!!
Thank you, I think this give me a lot to work on. Now my next task is to dynamically load the table with the data without having to manually build this:
April 9, 2025 at 3:02 pm
How could I incorporate this into a report?
Can I add this to the bottom of the query?
IF OBJECT_ID('tempdb..#source_table', 'U') IS NOT NULL DROP TABLE #source_table;
IF OBJECT_ID('tempdb..##new_table', 'U')...
April 9, 2025 at 2:46 pm
if a global temp table works, that would be fantastic. When, how does a global temp table get dropped.
P.S. I'm thinking of putting this code into a report, which can...
April 9, 2025 at 2:28 pm
You could probably use TRIGGER_NESTLEVEL to do that.
I tend to use session context values instead, set via sys.sp_set_session_context and SESSION_CONTEXT(N'<key_name>'). If you want more info on this method,...
January 28, 2022 at 7:22 pm
I will say you've give me a lot to read and think about.
Thanks,
December 15, 2020 at 7:36 pm
Let me try this in sql. I think this should work fine.
Thanks,
December 9, 2020 at 2:47 pm
What would I like to accomplish? I would like a single result set that shows all employees and the Start and End dates of their time off:
Column A: EE
Column B:...
October 9, 2020 at 4:49 pm
This is how the data is stored in the system. There is no start or end date in the system. Any actual day off is recorded in a row separately....
October 9, 2020 at 4:42 pm
The code in the report worked awesome. Thanks. But I did run into a problem since it had more that one group. My fault, I left it out. I like...
August 6, 2020 at 5:24 pm
The TSQL didn't work. The report can't do a double aggregate like Sum(Last()).
You're code is awesome for testing. I should have thought of this. My fingers are crossed and I'm...
July 24, 2020 at 2:58 pm
You're right, and I do apologize. I'm a little confused as to how to ask what I need. I'll see if I can get some data, but first how about...
July 24, 2020 at 1:47 pm
The example I get is horrible, I should redo the thread. Sorry about that. Let me try this.
This is closer to what I want. In yellow I...
July 23, 2020 at 10:09 pm
Viewing 15 posts - 1 through 15 (of 139 total)