Skip to Content
author's profile photo Former Member
Former Member

Can I adjust the size of the "Enter Values" window?

I've created a report and placed it on our intranet site. When the users run the report the "Enter Values" Window comes up for the user to enter the start and end dates for the report. In that window the OK button is partially cut-off because the window is not large enough. Is there a way to modify the size of that window?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Apr 13, 2011 at 06:01 PM

    Not that I know, but that is a strange behavior anyhow...

    What version of CR are you using?

    What CR Service Packs?

    What version of .NET?

    How does the parameter screen look in the CR designer?

    A link to a screenshot of the parameter prompt may be a good idea.

    - Ludek

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ludek Uher

      First Here's my code...

      <body>

      <form id="form1" runat="server">

      <div id="wrapper" style="width: 110%">

      <div id="header">

      <UC:TopNav ID="TopNav" runat="server" />

      </div>

      <div class="hrDiv">

      </div>

      <div id="container">

      <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True"

      Height="815px" ReportSourceID="CrystalReportSource1" Width="1023px" EnableDatabaseLogonPrompt="True"

      HasToggleGroupTreeButton="False" />

      <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">

      <Report FileName="Sampling.rpt">

      </Report>

      </CR:CrystalReportSource>

      </div>

      <div class="hrDiv">

      </div>

      <UC:Footer ID="Footer" runat="server" />

      </div>

      </form>

      </body>

      And the code behind...

      Imports CrystalDecisions.CrystalReports.Engine

      Imports CrystalDecisions.Shared

      Imports CrystalDecisions.Web

      Imports System.web.Security

      Partial Class Sampling_Default

      Inherits System.Web.UI.Page

      Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init

      Dim fname As String

      fname = Request.PhysicalApplicationPath & "Sampling\Sampling.rpt"

      Dim user As MembershipUser = Membership.GetUser()

      Dim un As String = user.UserName

      Dim pw As String = user.GetPassword("Tom")

      ' Load the report

      Me.CrystalReportSource1.ReportDocument.Load(fname)

      Dim myReport As New ReportDocument

      myReport.Load(fname)

      Dim conninfo As New ConnectionInfo

      With conninfo

      .ServerName = "myserver"

      .DatabaseName = "myDatabase"

      .UserID = un

      .Password = pw

      End With

      CrystalReportViewer1.ReportSource = myReport

      CrystalReportViewer1.DisplayGroupTree = False

      CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.Pdf

      SetDBLogonForReport(conninfo, myReport)

      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

      End Class

      To answer your questions.

      No I have never had a beta version of Crystal on this machine.

      This is a deployed box (running a test app).

      No other versions of Crystal on this machine.

      I will try the app a little later and post my results.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.