PDA

Click to See Complete Forum and Search --> : Resizing the Parameter Prompt form.


Pierrewhy
Oct 17th, 2007, 02:51 PM
As my Crystal Report loads, it prompt the user to enter a "Beginning Date" and another prompt ask for an "End Date"

Is there a way to resize both prompt forms?

And even better, take the same two date from two DateTimePicker from a Window form and used them in Crystal Report as a Select Criteria without getting the Prompt screen?

Thanks,
Pierre

wes4dbt
Oct 17th, 2007, 04:30 PM
Yes you can use your own form by using parameters

This thread may help

http://www.vbforums.com/showthread.php?t=460367&highlight=parameter

Pierrewhy
Oct 17th, 2007, 05:37 PM
Right now I'm using VB.NET 2005.
As I go to the report, two parameter form show up asking for the FromDate and the ToDate. They are big and ugly. Taking to much space for nothing.
But at least they work.
What I would like to achieve is bring both value from a Windows Form into CR.
The user enter the FromDate and the ToDate from DateTimePickers.
Is there an easy way to have CR use them values?

Somewhat new at CR.

Thanks,
Pierre

wes4dbt
Oct 17th, 2007, 08:09 PM
This is from the VB .NET 2005 help.

Type in "Crystal Report" in the index selection

Under Crystal Reports you'll find
"tutorial for setting discrete parameters" (you seem to know this)
in this section you'll find
"Setting Parameters Manually in Code"