Forum Replies Created

Viewing 15 posts - 1 through 15 (of 21 total)

  • RE: SSRS Chart Custom Colors by Category Group

    I got it to work!  Here is how.
    I  did a UNION of Production and Estimating Hours setting Estimating Hours to zero in the Production Query and Production Hours to zero...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Fast Query - Slow Report Generation - Why?

    Ya'll ready for this?  Two of the fields I return are a description and a sort order for an enumerated field.  Rather than put in case statements that may require...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Resize Tablix that contains rectangles

    I found it! One stupid line that was almost hidden in a rectangle.

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Passthrough and open new page

    If anyone is interested, this works...

    ="void window.open('" & Globals!ReportServerUrl & "/Pages/ReportViewer.aspx?"

    & Globals!ReportFolder & "/Labor+Detail"

    & "&StartDate=" & CDate(First(Fields!pStartDate.Value, "dsOrdSummary"))

    & "&EndDate=" & CDate(First(Fields!pEndDate.Value, "dsOrdSummary"))

    & "&ID=" & CStr(Parameters!ID.Value)

    & "&Dept=DETAIL&Dept=VENEER&Dept=MACHINE&Dept=CABINET&Dept=FINISH&Dept=METAL&Dept=SHIPPING&Dept=INSTALL&Dept=OTHER"

    & "','_blank')"

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Set up a linked server

    I've dropped all but the one link as follows. Both the SQL Server and Excel are 64 bit so the ACE drivers should work.

    EXEC sp_addlinkedserver

    ...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Set up a linked server

    Current status is I have created three different linked servers, none of which work. Below is the server configs and the logins. The Temp folders have full access...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Set up a linked server

    Both are set up with full access, so that is not the problem.

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Passthrough with Multivalue parameter

    It turned out to be easy...

    =Split(Join(Parameters!JobNum.Value,","),",")

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Passthrough with Multivalue parameter

    One more thing... I even tried creating a parameter that would identify when the second report is being generated as a pass through called PassTrue. I then pass True...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: How to perform multiple STUFF

    That looks so much better than the ugly CASE. Looks like it is time for me to lookup PARSENAME and REPLICATE. If I ever learned them, I forgot...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: How to perform multiple STUFF

    I got it, but it is ugly...

    SELECT 'STUFF 2'

    , JobNum.JobNum

    , CASE WHEN CHARINDEX('-',JobNum.JobNum,CHARINDEX('-',JobNum.JobNum)+1) - CHARINDEX('-',JobNum.JobNum) = 2

    ...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: How to perform multiple STUFF

    The result will be used in a query for sorting so the length will not matter. If I need to store it in a temporary table I define it...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Adding Linked Servers

    I found the answer in the Event logs (the first place I should have looked).

    Login failed for user 'Administrator'. Reason: An attempt to login using SQL authentication failed. Server is...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Adding Linked Servers

    Does anyone want to take a stab at why my SQL server to SQL server linked server is not working.

    Here is what I have done and the results.

    I...

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

  • RE: Adding Linked Servers

    Another question. should the SQL Server Browser service be running? Or is that to give clients access to SQL not the other way around?

    John
    SQL Rebel without a Where Clause
    SQL/Epicor/Prophet21/VISUAL/e.i.e.i.o.

Viewing 15 posts - 1 through 15 (of 21 total)