Link to home
Start Free TrialLog in
Avatar of Alfredo Luis Torres Serrano
Alfredo Luis Torres SerranoFlag for United States of America

asked on

Date ranges in crystal reports

Hi,

  I would like to know if is there any body outside that knows how to insert a VB 5.0 Date variable into a report in crystal report 5.0.

   Example.

   I have a Variable called IniDate defined as date and taking a value from keyboard, how ca i do to insert IniDate into my report.

Thanks
Avatar of Voodooman
Voodooman

I'm not to clear what you are trying to do here as I use newer versions of CR.

In newer versions you can create a parameter field within the developer.

You can then post the value to the parameter using Report.Parameters(0)=mydate.

If Ver 5 does not have a Parameter Field the only thing you can do is replace the report title and append the date to it i.e. Report.Reporttitle=Report.ReportTitle & " " format$(mydate,"mm/dd/yy") or whatever date format you want


Voodooman


Avatar of Alfredo Luis Torres Serrano

ASKER

My crystal report version does not have report.reporttitle propertie, can i download a newer version?, where?
ASKER CERTIFIED SOLUTION
Avatar of AshokKumar
AshokKumar

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
That's the right answer thanks
Wecome Masterco. Just between pals.
I am gettin a Invalid Formula Name Error What i am doing Wrong?