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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error while assigning date type Prameter through Delphi VCL

Status
Not open for further replies.

shridhargune

Programmer
Feb 5, 2001
10
0
0
US
I am getting following error while assigning date type parameters to Delphi's VCL PrintEngine.
Error:298 Invalid DateTime Value (Proper format: YYYY,MM,DD HH:MM:SS) - ParamFields[7].SetCurrentValue <StrToValueInfo>

This is due to the fact that I have changed the regional options to Italian.But I am formating the Date time value before assigning it to the PrintEngine parameter. If I change the Time separator in regional options to ':' from '.' then it works fine.
It means Delphi's VCL ReportEngine is not changing the formats for Fields as per regional settings.
Any one has encountered this???
Any suggestions / solutions ...
I am using VCL 8 Beta and SCR 8.5
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top