Conditional links on report w/ search

I know there has a number of thread on this topic, but I could not find any addressing my issue.
I have a report with a conditional link built into the SQL:
select DECODE(LL_ACCESS, 'edit',
'<img src="/i/edit.gif" border="0" alt="Edit Icon">',
'<img src="/i/view.gif" border="0" alt="View Icon">') LL_ACCESS
,DIVISION
,LL_DATE
,CUSTOMER
,PROGRAM
,PROCESS
,MATERIAL
,PART_DESC
,DEFECT
,PROBLEM
,ROOT_CLAUSE
,SOLUTION
,COMMENTS
,ATTACHMENTS_YN
from LESSONS_LEARNED_V;
Which "links" to either an update page or a view only page based on a user ACL.
My problem arises when I'm adding a search feature to the report. I have change the report to be base on a PL/SQL statement:
declare
l_sql varchar2(4000);
begin
l_sql := '
select DECODE(LL_ACCESS, ''edit'',
''<img src="/i/edit.gif" border="0" alt="Edit Icon">'',
''<img src="/i/view.gif" border="0" alt="View Icon">'') LL_ACCESS
,LL_ID
,DIVISION
,LL_DATE
,CUSTOMER
,PROGRAM
,PROCESS
,MATERIAL
,PART_DESC
,DEFECT
,PROBLEM
,ROOT_CLAUSE
,SOLUTION
,COMMENTS
,ATTACHMENTS_YN
from LESSONS_LEARNED_V';
IF :P2_REPORT_SEARCH is NOT NULL THEN
l_sql := l_sql ||' where ';
l_sql := l_sql ||' (
upper("DIVISION") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("LL_DATE") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("CUSTOMER") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("PROGRAM") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("PROCESS") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("MATERIAL") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("PART_DESC") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("DEFECT") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("PROBLEM") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("SOLUTION") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("COMMENTS") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("ROOT_CLAUSE") like ''%''||upper(:P2_REPORT_SEARCH)||''%''
END IF;
if :P2_VALUE IS NOT NULL then
l_sql := l_sql ||' and ('||:P2_CHART_FILTER||' = :P2_VALUE) ';
end if;
return l_sql;
end;
It almost works, except the pk value (in this case LL_ID)is not being returned in the link. I have tried every possible combination of #,&,||,'," to get it to work but with no luck. Does anyone know the correct syntax to get this to work?
BTW, I'd like to thank all who have posted to this forum, it has been a create help to this old oracle forms guy.

Hi Rob,
Try this
declare
l_sql varchar2(4000);
begin
l_sql := '
select DECODE(LL_ACCESS, ''edit'',
''<img src="/i/edit.gif" border="0" alt="Edit Icon">'',
''<img src="/i/view.gif" border="0" alt="View Icon">'') LL_ACCESS
,LL_ID
,DIVISION
,LL_DATE
,CUSTOMER
,PROGRAM
,PROCESS
,MATERIAL
,PART_DESC
,DEFECT
,PROBLEM
,ROOT_CLAUSE
,SOLUTION
,COMMENTS
,ATTACHMENTS_YN
from LESSONS_LEARNED_V ';
IF :P2_REPORT_SEARCH is NOT NULL THEN
l_sql := l_sql ||' where ';
l_sql := l_sql ||' (
upper("DIVISION") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("LL_DATE") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("CUSTOMER") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("PROGRAM") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("PROCESS") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("MATERIAL") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("PART_DESC") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("DEFECT") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("PROBLEM") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("SOLUTION") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("COMMENTS") like ''%''||upper(:P2_REPORT_SEARCH)||''%'' or
upper("ROOT_CLAUSE") like ''%''||upper(:P2_REPORT_SEARCH)||''%''
END IF;
if :P2_VALUE IS NOT NULL and :P2_REPORT_SEARCH is not null then
l_sql := l_sql ||' and ('||:P2_CHART_FILTER||' = :P2_VALUE) ';
elsif :P2_VALUE IS NOT NULL and :P2_REPORT_SEARCH is null then
l_sql := l_sql ||' where ('||:P2_CHART_FILTER||' = :P2_VALUE) ';
end if;
return l_sql;
end;
I changed the refrenece from #LL_ID# to a direct sql reference. Also I modified your last if condition.
Hope this Helps
Vivek

Similar Messages

  • Interactive Report Performance With Conditional Link

    Apex 3.2
    I have a interactive report.
    The underlying sql would return 127000 rows
    The sql is
    select
      lde.ods_system,
      lde.ldekey,
      msg.sendersystem, 
      msg.messagetype,
      msg.messageversion,
      msg.msgseqnumber,
      msg.alternatekey,
      msg.crudmarker,
      msg.clrbookdate,
      msg.clrbookresult,
      lower('udf_'||msg.messagetype) button,
      lde.ldekey||'.'||msg.alternatekey||'.'||msg.msgseqnumber udm_key
    from
      clr_esbmessageheader msg,
      clr_adm_systemmessage adm,
      udm_lde lde
    where
      adm.ldeid = lde.ldeid and
      msg.sendersystem = adm.system and
      msg.messagetype = adm.messagetype and
      msg.messageversion = adm.messageversion and
      msg.receiversystem = 'SCIPS'
    order by msg.clrbookdate desc
    This report only takes 1 second to display.
    I need to add a conditional link to another page, so I used
    case
    when lower('udf_'||msg.messagetype) = 'udf_distreceipt' then
    '<a class="type" href="' || apex_util.prepare_url('f?p='||:APP_ID||':52:'||:APP_SESSION||'::'||:DEBUG||':RIR'||':IR_MSG_KEY,P52_PG:'|| lde.ldekey||'.'|| msg.alternatekey ||'.'|| msg.msgseqnumber ||','|| 50, null, 'SESSION') || '"title="Go to udf_distreceipt Report">udf_distreceipt</a>'
    else 'no link' end table_link
    The sql seems to be ok, because the report accepted it, but selecting the new column and saving the report takes forever (over 2 mins)
    Now the report takes over 2 minutes to run and I still need to add more conditions.
    Have I coded the link incorrectly ?
    Gus

    Hi Gus,
    Are you wanting to put the link in the query for a specific reason?
    I had to do a similar thing in the past and just completed the column link section for the column.
    Why not just have the following in the query:
    case
    when lower('udf_'||msg.messagetype) = 'udf_distreceipt' then
    udf_distreceipt
    else null END table_link
    Then do the linking using column link section:
    You would specify your link text as #TABLE_LINK# which should then be conditionally displayed due to the case statement, then add in all the page item and values to pass across using a normal link column.
    Thanks
    Paul

  • Display a conditional link in interactive report

    Hi, I would like to display a link in a column of an interactive report, if the value of this column is not null.
    This is the sql code.
    Select
    (case
       when mytable.myvalue is not null then ('<a'||' href="'||'f?p=&APP_ID.:59:&APP_SESSION.::NO:59:P59_ITEM_ID:'||mytable.value||'">'||'<img src="#IMAGE_PREFIX#menu/download_32.gif">
    </a>')
       else null
    end) link
    from
    mytableI also tried apex_uil.prepare_url.
    Select
    (case
       when mytable.myvalue is not null then ('<a'||' href="'||apex_util.prepare_url('f?p=&APP_ID.:59:&APP_SESSION.::NO:59:P59_ITEM_ID:'||mytable.value)||'"><img src="#IMAGE_PREFIX#menu/download_32.gif">
    </a>')
       else null
    end) link
    from
    mytableAlthough it seems that is correct, instead of displaying the link, the report displays the html text of the link
    (I omitted the first *<* and the last *>* to display the text in the thread):
    value displayed a href="f?p=101:59:4377010977110083::NO:59:P59_ITEM_ID:146"><img src="/i/menu/download_32.gif"></aI did a lot of researchs of implemented solutions, but to me always return the same result.
    I hope someone can tell me the solution or my mistake that maybe at this time is escaping me.
    thanks
    greetings
    Edited by: diapason on Sep 8, 2011 9:09 AM
    Edited by: diapason on Sep 8, 2011 9:19 AM
    Edited by: diapason on Sep 8, 2011 9:33 AM

    >
    Welcome to the forum.
    Please read the FAQ and forum sticky threads (if you haven't done so already).
    Hi, I would like to display a link in a column of an interactive report, if the value of this column is not null.
    This is the sql code.
    Ah. It looks like you've now found the instructions on how to post code...
    Although it seems that is correct, instead of displaying the link, the report displays the html text of the link:
    value displayed
    <a href="f?p=101:59:4377010977110083::NO:59:P59_ITEM_ID:146"><img src="/i/menu/download_32.gif"></a>I did a lot of researchs of implemented solutions, but to me always return the same result.
    I hope someone can tell me the solution or my mistake that maybe at this time is escaping me.Ensure the Display Text As report column attribute is Standard Report Column rather than the default Display as Text (escape special characters).

  • Can't get column link in report to work

    I'm trying to get a column link in a report to work and I keep on getting the error "Query cannot be parsed, please check the syntax of your query. (ORA-00972: identifier is too long)" The code looks like this:
    SELECT IDDR_NAME AS EDIT, IDDR_NAME AS VIEW_DETAILS, IDDR_NAME,
           IDDR_VINTAGE_YEAR, DATE_DUE, DATE_SUBMITTED,
           SUMMARY_DESCRIPTION, RSTATUS, SSTATUS,
           '<a href='"'||:APP_ID||':287'||:APP_SESSION||'">'||link||'</a>'
    FROM IDDRI've tried the above and other variations of link syntax that I found in other posts on the forum but everything seems to give me an error. I need to put think link into the code because it will eventually be a conditional link.
    Thanks
    - Brian

    Thanks for the replies.
    After I posted, I tried something a little different that is sort of working. I tried making my link like so:
    '<a href=''f?p=&APP_ID.:287:&SESSION.::&DEBUG.">LINK</a>'(The '#' is really a double quote but I had to make it like that for the forum...)
    When I use the above link syntax with a SQL query it works. The problem is, I need to use a PL/SQL function returning n SQL query. When I try the same link syntax with that, it seems to think :287 is a bind variable.
    I get the error message:
    (ORA-20001: Unable to bind :287 verify length of item is 30 bytes or less. Use v() syntax to reference items longer than 30 bytes. ORA-01006: bind variable does not exist)
    Thanks again
    - Brian

  • Help needed in providing conditional hyperlinks in report

    Hi,
    I need to apply links to a number column in my report. But depending on another column value, I need to link my number column to page 1 or 2 or 3. How can I achieve this conditional linking in APEX? I cant give links or href tag in my query as then all number formatting would be lost.
    A more detailed view:
    Col 1 Col2
    1 100.00 --no link to be given here
    1 20.00 -- no link
    2 123,45.00 --link must go to page 3
    3 35,001.40 -- link must go to page 4
    Any ideas/suggestiones would be welcome.
    Thanks & Regards,
    Sumana

    Sorry for the late reply Andy. I guess u have not got my point entirely. I will explain more clearly. I had already used case statement before I posted my previous post.
    Now the entire column is displayd in a font which is similar to having a hyperlink. (brown font with mousever effect too). I dont want that. any way to remove it?
    I need as shown below E.g.,
    col1 col2
    row 1 100,00 50.00 -- normal balck font
    row 2 300.00 150.00 hyperlink (link) font - brown color etc. links to pqge 1
    row 3 16.75 10.00 -- hyperlink (link) font - to different page. -- links to page 4
    row4 20.76 35.67--no link -- normal balck font.
    But now all row have amounts in brown color.
    Thanks
    Sumana

  • How to Use MAX condition using Query Report

    Hi SAP Abap Expert,
    Can we use the MAX condition in Query Report (SQ01/SQ02) ?
    I have created one sample query using table VBRP and VBRK then i need to use max condition to get the MAX record in VBELN.
    Please Help ???

    Hi Ashishsingh,
    According to your description, you want to know how to use MAX function in SQL Server Analysis Services MDX Query, right? In this case, please refer to the link below which describe the syntax and sample of MDX function.
    http://technet.microsoft.com/en-us/library/ms145601.aspx
    http://www.mdxpert.com/Functions/MDXFunction.aspx?f=64
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Object Package - Creation of Links to reports

    Post Author: [email protected]
    CA Forum: Administration
    Product: Business Objects CMC
    Version: XI R2
    Operating System(s): Windows XP
    Database(s): Oracle 10i
    Query :
      Hi,  I want to know is there any way ,in CMC, with which you can create a link to objects(reports) which point to actual reports and place them under multiple folders.
    I have a situation. The same set of reports are to be shared within multiple folders and they have the same update/change requirements to them. So if i alter one report(master), the same should be reflected under all folders. I dont want to duplicate reports in folders.
    Thanks

    Post Author: jsanzone
    CA Forum: Administration
    ripps:
    This is done while you are signed into Business Objects.  To "link" a report as you desire, you navigate to the original report, then click on the open box next to the report's name.  Click on the drop-down arrow next to "Navigate" and choose "Add Shortcuts to New Folder...", then navigate to the folder of the dialogue box and voila, you have your link.  To verify what you've just done, you can sign into the CMC and under Objects, search for your report.  After you've done the link activity described above your "master" report will have the familiar "report" icon with a blue and red color, and you're other report (the linked one) will have a similiar icon but will be in white with a black border (not colorful as the original). 

  • Link between reports and universes and universe name change

    I want to change a universe name.
    What is the impact on my WebI reports and DeskI reports ?
    Is it risky ? Will the link between reports and universes be saved ?
    Does someone know how the link between reports and universes works for WebI reports and DeskI reports ?
    Thanks

    Hello Umberto,
    I recommend to post this query to the [WEBI|SAP BusinessObjects Web Intelligence; and [DESKI|SAP BusinessObjects Desktop Intelligence; forums.
    These forums are monitored by qualified technicians and you will get a faster response there.
    Also, all Webi and Deski queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • Linking drillthrough report that exist in sub-folder

    Hi,
    I have deployed report on Report server and  wanted to show one report only and hide drillthrough report in subfolder. but I'm not able to simple link drillthough report by saying "/Drill Through Report/=iif(Fields!SCHOOL_TYPE_CD.Value = 6, nothing,
    iif(Fields!SCHOOL_TYPE_CD.Value = 7, "Suspension Summary zone" , "Summary Suspension System Detail")) "
    i have condition specified so that not everything is clickable in the report. 
    any ideas how to make this drillthough report to work in sub-folder?

    found solution on my own 
    it needs to be written in this for for it to work 
    =iif(Fields!SCHOOL_TYPE_CD.Value = 6, nothing, iif(Fields!SCHOOL_TYPE_CD.Value = 7, "Drill Through Reports/Suspension Summary zone" , "Drill Through Reports/Summary Suspension System Detail"))

  • Steps to link a report to web form

    Hi friends,
    Could any one give the complete steps of Linking a report to web form so that when called / clicked the link the report can display the data.
    I have unchecked the "Report Option -> Save Data with Reports". So that the report could not take extra space.
    I have DB connection code in my .aspx file, it is as follows:
    Private Sub ConfigureCrystalReports()
            Dim fileName As String = "Reports\" & ReportID & ".rpt"
            Dim reportPath As String = Server.MapPath(fileName)
            myRepDoc = New ReportDocument()
            myRepDoc.Load(reportPath)
            myCrystalReportViewer.ReportSource = myRepDoc
            'myCrystalReportViewer.RefreshReport()
            Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
            If Session("reportConnectionInfo") IsNot Nothing Then
                Dim ConnInforArrList As ArrayList = DirectCast(Session("reportConnectionInfo"), ArrayList)
                myConnectionInfo.ServerName = ConnInforArrList(0)
                myConnectionInfo.DatabaseName = ConnInforArrList(1)
                myConnectionInfo.UserID = ConnInforArrList(2)
                myConnectionInfo.Password = ConnInforArrList(3)
            Else
                lblMessage.ForeColor = Drawing.Color.Red
                lblMessage.Text = "Session is off. Please Relogin to See the Report."
            End If
            SetDBLogonForReport(myConnectionInfo, myRepDoc)
            SetDBLogonForSubreports(myConnectionInfo, myRepDoc)
            myCrystalReportViewer.SelectionFormula = GetFieldName(ReportID) & "='" & Session("CompCode") & "'"
            myCrystalReportViewer.Visible = True
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim myTables As Tables = myReportDocument.Database.Tables
            For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
        End Sub
        Private Sub SetDBLogonForSubreports(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim mySections As Sections = myReportDocument.ReportDefinition.Sections
            For Each mySection As Section In mySections
                Dim myReportObjects As ReportObjects = mySection.ReportObjects
                For Each myReportObject As ReportObject In myReportObjects
                    If myReportObject.Kind = ReportObjectKind.SubreportObject Then
                        Dim mySubreportObject As SubreportObject = CType(myReportObject, SubreportObject)
                        Dim subReportDocument As ReportDocument = mySubreportObject.OpenSubreport(mySubreportObject.SubreportName)
                        SetDBLogonForReport(myConnectionInfo, subReportDocument)
                        If myReportObject.Name = "Subreport1" Then
                            Dim lvSec As Section = subReportDocument.ReportDefinition.Sections("DetailSection1")
                            If Not lvSec Is Nothing Then
                                Dim t1 As TextObject
                                t1 = lvSec.ReportObjects("txtEmpName")
                                t1.Text = Session.Contents("EmpName")
                                Dim t2 As TextObject
                                t2 = lvSec.ReportObjects("txtRepID")
                                t2.Text = Request.QueryString("REPID")
                            End If
                        End If
                    End If
                Next
            Next
        End Sub
    Please do help me out.
    Thanks and regards

    Hello Md. Mushtaque,
    Please post this query to the [.NET Development - Crystal Reports|SAP Crystal Reports, version for Visual Studio; forum.
    This forum is dedicated to topics related to custom application development or deployment with Crystal Reports in .Net. This includes full versions of Crystal Reports as well as those versions of Crystal Reports bundled with Microsoft Visual Studio .Net.
    The forum is monitored by qualified technicians and you will get a faster response there.
    Also, all Crystal Reports .NET Development queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • Issue in using presentation variable as filter condition in the reports

    Hi,
    I have an issue in using presentation variable as filter condition in my reports the details are as follows:
    Details :
    We want to implement the Max and Min variables through Presentation variables only.we do not want to implement it through session variables in this case.
    We have two variables MIN and MAX to be used as Presentation Variables,for a column of the report (which is a quantity),so that the user wants to see the data for this column within a particular range.i.e the Min and the Max.This part has been implemented well . The issue is when the user wants to see the full data.In that case we will not pass any values to these two Presentation Variable or in other words we are not restricting the report data so we are not passing any value to the variables,this is when the report is throwing the error. we want to leave this variables blank in that case.but this is giving error.
    Please suggest how can I overcome this issue.
    Thanks in Advance.
    Regards,
    Praveen

    i think you have to use guided navigation for this. create two reports first is the one you are having currently and second is the one in which remove the presentation variable from the column formula. i.e. the same report with no aggregation applied.
    Now create a dummy report and make it return value only when the presentation variable value is not equal to max or min. guide the report to navigate between the first and second report based on the result of the dummy report.

  • Link in report with SSP enabled

    Hey everyone, I have a question here involving programatically generated links in reports from the sql query behind them. How do I make a link to the page (from the report's sql query) that will allow me to change the value of a hidden and protected item (P16_PERSON_CONTACT_ID) without having APEX Session State Protection get angry at me and still protect me from having the user muck with the URL?

    David,
    Well bind variables are more performant and safer to use in queries. It shouldn't really be a debate on when to use them, you always use them when you can. Here's a quick break down (not a complete list, and should probably be expanded, but should get you going)...
    Use bind variable syntax when you're referencing an item:
    1. In a report query
    2. In PL/SQL code that is stored in the application (as a page level process for example)
    Use substitution variable syntax when you're referencing an item:
    1. Outside of SQL and PL/SQL but still need the value - this is not always an option (in the HTML Header region of a page or title of a region for example)
    Use V and NV functions when you're referencing an item:
    1. In PL/SQL code stored outside the application (in a package for example)
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    Edited by: Dan McGhan on Apr 29, 2009 11:01 AM
    Replaced "database" with "application"

  • Link in Report does not work when run on Citrix

    Hello,
    we use Crystal Reports (v11) for creating Reports.
    Data is based on our CRM system "SuperOffice".
    We have several reports and what we did is to add a column that includes a link to SuperOffice.
    For example - if I have a list of contacts as a report, then every line has a link to SuperOffice.
    If I click this link, the contact in SuperOffice gets open.
    This works on lokal pc installations.
    But is doesn't work on a citrix server.
    If I click the link - nothing happens.
    Is that a known problem or does anyone have any ideas for that?
    Are there any known problems with links in reports on citrix servers?
    Thanks in advance.
    Best regards,
    Tony

    Hi Don,
    thank you for fast response.
    That is a good advice. We will check that.
    The main question is, to which folders etc. does CR needs access?
    To explain the situation better: To run the reports we use Crystal Reports Runtime (Version 11.1.1883).
    Do you (or anyone else in these forum) know where we could get information about which kinds of access CR Runtime needs to handle with these links?
    Regards,
    Tony

  • "edit" link from report to form does not show values

    I created a report and an attached form on two different pages. The report is a query combining two tables with outer joins. When I click on the "edit" button on the report, I get forwarded to the form page.
    My problem: When I get forwarded to the forms page, I get an empty form, and not the data from the column as expected. The "edit" button behaves more like the "create" button. Anybody an idea what I could change to be able to edit the column data?
    Thank you.

    I've met the similar problem with previous releases (1.5.0 and 1.5.1) without any objective reason.
    As I suggests, sometimes HTMLDB lost current session state. When this occurs, ALL links from reports to it's forms does not transit primary keys. I've just completed application development and I've met this behaviour every months.
    As a workaround I found folowwjing process:
    Come into administration tab, selet "Report with option to purge current session state". When I purge current session state and re-login to application, all report-form links will start to work.
    I don't know, what is the issue, but I met it so soon on my local HTMLDB environment.

  • Pass parameter from page link to report

    <span><font face="Verdana, Geneva, Arial, Sans-serif" size="2">How can I pass 3 parameter values from a link on one page to a report or CrystalReportViewer.<br /><br />Report is a CR/VS 2005 web report in C#<br /><br />Parameter fields in the report are:<br />   CampaignID<br />   BeginDate<br />   EndDate</font> <p><font face="Verdana, Geneva, Arial, Sans-serif" size="2">So say link page URL looks like this:<br /></font><a href="http://localhost/reports/campaign_report/default.aspx?CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006" target="_blank" title="http://localhost/reports/campaign_report/default.aspx?CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006"><font face="Verdana, Geneva, Arial, Sans-serif" size="2">http://localhost/reports/campaign_report/default.aspx?CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006</font></a><br /><font face="Verdana, Geneva, Arial, Sans-serif" size="2">and I want to pass these values to the report and bypass the Parameter Prompt Page.</font></p><p><font face="Verdana, Geneva, Arial, Sans-serif" size="2">When i run this link the report viewer page says "missing parameters"</font></p><p><font face="Verdana, Geneva, Arial, Sans-serif" size="2">Do I need to add something to the default.aspx.cs page?<br /></font><font color="#0000ff">--<br /><br /><font face="Verdana, Geneva, Arial, Sans-serif" size="2">protected</font></font><font face="Verdana"><font size="2"> <font color="#0000ff">void</font> Page_Load(<font color="#0000ff">object</font> sender, <font color="#008080">EventArgs</font></font></font><font face="Verdana" size="2"> e)<br />{<br />     Parameter.Field1 = (CampaignID);<br />     Parameter.Value1 = Request.QueryString("CampaignID");<br />     ...??<br />}<br /><br />--
    <br /></font><font face="Verdana" size="2">Any help would be greatly appreciated?<br /><br />Thank you,<br />Jason</font> </p></span>

    Â Hi Jason
     You are correct. The Viewer object will not automatically look at the URL and try to assign the values. You need to grab these values from the URL and properly assign them to the parameter objects.
    Rob Horne
    [My Blog | /blog/10]

Maybe you are looking for

  • Media player to itunes question

    I have several tracks in MP3 format on my windows media player how do I put them in Itunes Ipod format

  • Spotlight still not what it used to be...

    In Tiger, spotlight gave you a nice neat list of the search results split into different sections depending on the document type. This was great for searching images because it'd also give you thumbnails instantly just for the images. Since Leopard,

  • Website doesn't download fully

    Why my iphone 5s doesn't download website completely after updating to ios 7.0.6? Can someone help please?

  • Item being modified  in appletv

    Why is it that when I try to download a movie most times I get the message "item currently being modified try again later" This is usually (but not always)a rental and I can buy the movie. This happens about 80% of the time the other 20% it works ok.

  • Error on BD87 -Error Passing data to Port

    Hi All, I'm facing an issue with ECC Quality system to BI Quality in BD87, In Logical System For Quality client ->IDocs in outbound Processing->RSINFO->E0(266):  Could not find code page. I have done restore and connection test in SM 59, connection i