Link to home
Start Free TrialLog in
Avatar of memozebadua
memozebaduaFlag for United States of America

asked on

crystal report in a range of time

how can i display information in a crystal report from a range of time chosen by the user by DTpickers using VB .NET??
Avatar of ast2550
ast2550

Pass the date/time into crystal using a parameter
Avatar of memozebadua

ASKER

can u be a little more specific? i'm a newbie...

thanks!
Create a parameter field in your report and use it in the Select Expert.  When you refresh your report, it will require the parameter.

Pass the parameter using VB.  I'll be happy to look up a good parameter tutorial when you get your report working.
how do i create the parameter field??

sorry! i do not know much... i already have my reports running, the only thing i'm missing is that the dat displayed is from the range picked in the dtp
ASKER CERTIFIED SOLUTION
Avatar of ast2550
ast2550

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
oops.  thanks.

Now, that I look it over.  I suggested that you use a Time parameter and then had you call it StartDate (sloppy).  We should probably clarify this.  Is it a date/time or just a time field as stated in your initial question?
OK,

I have

- a form with a button (which shows the form with the crystal report viewer) and two date pickers to select the range of dates fr the report

And a form with a report viewer only...

i understood the part where i have to add the parameters to the selection But i don't know how to get the data from the dtp into those parameters and if i'm supposed to do it in the initial or the report form

in answer to your question... i'm only interested in the date
Glad i could help

mlmcc