Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please how parameter in Delphi to Crystal Report ...

Status
Not open for further replies.

maniakul

Programmer
Oct 18, 2005
8
RO
Please help me.
I used in Delphi DTPicker1(from data) and DTPicker2(to data).
This scrip is in VB6.0. How is equivalent scrip for DELPHI?

.SelectionFormula = "{PERSONAL.Data} In Date (" & Format$(dFrom.Value, "yyyy,mm,dd") & ") To Date (" & Format$(dTo.Value, "yyyy,mm,dd") & ") "

Many thanks!
 
'{PERSONAL.Data} in Date('+FormatDateTime(dtPicker1.datetime, 'yyyy,mm,dd') + ') To Date(' + FormatDateTime(dtPicker2.datetime, 'yyyy,mm,dd') + ')';

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top