Viewing 15 posts - 16 through 30 (of 51 total)
You are Super Star clayman, make my day 🙂
There is EmployeeID, it was just example and in a rush didn't define.
Thanks Again.
November 8, 2012 at 4:03 am
Insert all data into Temp table and do accorndingly.
August 6, 2012 at 3:17 am
Here is All you want, with dummy data,
CREATE TABLE #Test
(
IDINT,
ParentIDINT,
TNameVARCHAR(25)
)
INSERT INTO #Test
(
ID,
ParentID,
TName
)
SELECT 1,NULL,'Granfather'
UNION ALL
SELECT 2,1,'father1'
UNION ALL
SELECT 3,1,'father2'
UNION ALL
SELECT 4,2,'1st-son-father1'
UNION ALL
SELECT 5,2,'2nd-son-father1'
UNION ALL
SELECT 6,3,'1st-son-father2'
UNION ALL
SELECT 7,3,'2nd-son-father2'
SELECT * FROM #Test
--------------------------------------------
-- Recursive...
August 2, 2012 at 9:08 am
Agree with Sean,
Recursive CTE like below,
[Code]
WITH Tree AS
(
SELECT Parent.ID[ID]
, Parent.ParentID[ParentID]
FROM Entity Parent
WHERE Parent.ID = @Parammeter
UNION ALL
SELECT Child.ID
...
August 1, 2012 at 8:21 am
I had decimal(18,2) made it to more decimal points solved rounding problem.:-)(Thanks Jeff, Life Saver)
July 30, 2012 at 8:42 am
try
=FORMAT(<date>,"dd/MM/yyyy")
July 19, 2012 at 7:35 am
similar problem,
http://www.sqlservercentral.com/Forums/Topic1328723-150-1.aspx
i don't think you can use subreport field into main report, need to work out in your stored proc or query.
July 19, 2012 at 7:27 am
try to upload it again..!!
July 19, 2012 at 7:24 am
do you get result for
=iif(Fields!Posting_Date.Value>="10/01/2011",Fields!Amount.Value,0.00)
July 19, 2012 at 7:22 am
this might help you..
http://www.sqlservercentral.com/Forums/Topic1328723-150-1.aspx
July 19, 2012 at 7:17 am
try....
Globals!RenderFormat.Name
OR
You could also use the .IsInteractive property, which will disable the links for PDF exports as well:
IIf(Globals!RenderFormat.IsInteractive, "YourReportPath", Nothing)
July 16, 2012 at 8:44 am
ok...
you could do like this,
1. in your date dataset and add CASE statement like if there is a team then it's fine else display as 'No Team'
2. in your team...
July 16, 2012 at 8:28 am
in your drop down list dataset query, add new UNION query for no team value
SELECT ........
<Original Query>
...
July 16, 2012 at 2:49 am
create two different datasets
1. Top5 handset
SELECT Top5 Handset
FROM tblHandSet
...
July 13, 2012 at 4:16 am
Viewing 15 posts - 16 through 30 (of 51 total)