Hi,
I have a button that opens a linked report. I would like the report to be embedded and appear on the same page as the button. At the moment it keeps opening in a popup window. Below is the code I am using.
CREATE PROCEDURE sp_DBR_TreeView (@inLogin varchar(30))
AS
BEGIN
select 'dbr.title', '';
SELECT * FROM [f_rrt000001RoscoProjects](@inLogin)
ORDER BY intechSort1, intechSort2, intechSort3
select 'dbr.report', 'sp_dbr_9999999997_115384_select','home','inViewType=''datasheet''';
select 'dbr.button', 'Run Rosco Projects';
select 'dummy'
select 'dbr.embed_object','home';
END
CREATE PROCEDURE [dbo].[sp_dbr_9999999997_115384_select]
@inLogin varchar(30), @inViewType nvarchar(255)
AS
BEGIN
SELECT 'dbr.title', '9999999997.115384'
SELECT 'dbr.resultclass', 'stickyheader';
IF @inViewType = 'page'
SELECT 'dbr.pageview';
SELECT * FROM [f_rrt000001RoscoProjects](@inLogin)
ORDER BY intechSort1, intechSort2, intechSort3
END
What changes are needed to have it appear in the same window. We are currently using the community version but will be upgrading to the full version after we have completed our testing.
Kym