By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,930 Members | 1,492 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,930 IT Pros & Developers. It's quick & easy.

Writing direct into the parameter in Crystal Report

P: n/a
Could anyone tell me please how to write from the c# code in an parameter?
For example I have an report that it is asking for a client code as the
parameter. Now it is showing the interface from Crystal report asking for
introducing that parameter. How do i make this automatic as I have a form
that already have the "client code" and to insert it automatic into the
parameter of the report and the report to be shown without asking to
introduce the parameter.
Also if it is a way to customize the interface that appear when have an
parameter and asking about that parameter. For example I consider it too
large. How i do to be smaller.
Thank you.
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Marius,

Create in C# the user interface that asks for the parameter value, and then
pass that value to the report using the SetParameterValue() method of the
ReportDocument.

Regards - Octavio

"Marius Rus" <Ma*******@discussions.microsoft.com> escribió en el mensaje
news:2A**********************************@microsof t.com...
Could anyone tell me please how to write from the c# code in an parameter?
For example I have an report that it is asking for a client code as the
parameter. Now it is showing the interface from Crystal report asking for
introducing that parameter. How do i make this automatic as I have a form
that already have the "client code" and to insert it automatic into the
parameter of the report and the report to be shown without asking to
introduce the parameter.
Also if it is a way to customize the interface that appear when have an
parameter and asking about that parameter. For example I consider it too
large. How i do to be smaller.
Thank you.

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.