472,353 Members | 2,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

parameter prompt appears but shouldn't, cr 9 and vb .net 2002,

Here's the code: how do I prevent the parameter prompt from appearing during run time? Thanks

Imports CrystalDecisions.CrystalReports.Engin
Imports CrystalDecisions.Share

Public Class Form
Inherits System.Windows.Forms.For

#Region " Windows Form Designer generated code

Public Sub New(

'This call is required by the Windows Form Designer

'Add any initialization after the InitializeComponent() cal

End Su

'Form overrides dispose to clean up the component list
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean
If disposing The
If Not (components Is Nothing) The
End I
End I
End Su

'Required by the Windows Form Designe
Private components As System.ComponentModel.IContaine

'NOTE: The following procedure is required by the Windows Form Designe
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor
Friend WithEvents CrystalReportViewer1 As CrystalDecisions.Windows.Forms.CrystalReportViewe
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent(
Me.CrystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer (


Me.CrystalReportViewer1.ActiveViewIndex = -
Me.CrystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fil
Me.CrystalReportViewer1.Name = "CrystalReportViewer1
Me.CrystalReportViewer1.ReportSource = "C:...blahblah\CrystalReport1.rpt
Me.CrystalReportViewer1.Size = New System.Drawing.Size(312, 273
Me.CrystalReportViewer1.TabIndex =


Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13
Me.ClientSize = New System.Drawing.Size(312, 273
Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.CrystalReportViewer1}
Me.Name = "Form1
Me.Text = "Form1

End Su

#End Regio

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa

Dim Customername As Strin
Customername = "whateverabc
Dim paramFields As New ParameterFields(
Dim discreteVal As New ParameterDiscreteValue(
Dim paramField As New ParameterField(

paramField.ParameterFieldName = "?CustomerName
discreteVal.Value = Customernam

End Su

Private Sub CrystalReportViewer1_Load_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CrystalReportViewer1.Loa

End Su
End Class
Nov 20 '05 #1
0 1183

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Lightning Tony | last post by:
This is probably a really silly question but I am exhausted and cant seem to find the answer. I have a query that I run from a command button on a...
by: Stephen Poley | last post by:
I have a pair of tables (Applicaties en Releases) in a 1-to-N relation. I created and tested a report based on Applicaties. I then added a...
by: MIG | last post by:
In Access 97 I used @ to make message boxes to separate the lines, rather than have the message all in one line. In Access 2000, all that happens...
by: Aniruddha | last post by:
I had posted this to comp.os.msdos but I did not get an answer. The program // Hello.cpp #include <iostream.h> #include <stdio.h> int main ()...
by: Todd Perkins | last post by:
Hello all, surprisingly enough, this is my first newsgroup post, I usually rely on google. So I hope I have enough info contained. Thank you in...
by: Troy | last post by:
How do I answer the disable macro prompt automatically when opening an Excel workbook? We are using Excel 97 and 2002. In 2002 we want the Medium...
by: Ranginald | last post by:
Hi, I'm having trouble passing a parameter from my default.aspx page to my default2.aspx page. I have values from a query in a list box and...
by: PotatoChip | last post by:
I am working in Access 2002 and I have been asked to create a form for a report based on a paramter query so that the user selects the department...
by: jboisa | last post by:
I have the calculated field below, which runs fine by itself. When I put a selection criteria (3) into the query, however, I get these unexplained...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.