Click to See Complete Forum and Search --> : Displaying Parameter Value in Crystal Report through VB6


vishalgharat
March 4th, 2008, 07:30 AM
Hi,

I am trying to show parameter value to a CR8.5 report through VB6 and MS-Access database.

I am passing "From Date" and "To Date" values to SelectionFormula. My report is running fine.

Just I want to display those "From Date" and "To Date" values in the report which I am supplying through VB6 application.

Can anybody tell me stepwise how to achieve this.


Thanks in advance.

Vishal G.

kshama002
March 11th, 2008, 04:01 PM
YEs u can do it thru code behind.

I m not sure about VB 6 but in .Net i did same thing. First create Create 2 parameter in CR. @StartDate and @EndDate

No go to Code Behind.

this.@startDate = <Value of From Date >
this.@EndDate = <Value of To Date>

This works for me. Hope it works for u..

Thanks