Recent

Author Topic: Error print dates  (Read 120 times)

eldonfsr

  • Full Member
  • ***
  • Posts: 131
Error print dates
« on: September 10, 2019, 03:06:32 pm »
I have problem printing a report on design time don't have problem but when i run app send a error
on LR_Class  on this line
  ParValue := FormatValue(CurValue, AFormat, AFormatStr);     

I checked values for variables.
CurValue := '08/9/2019'
AFormat := 33816622
AFormstStr :='mm/dd/yyyy'

I got the value from sql server table using convert(varchar(10),[date_ord], 101)

any help be great...

thanks....

eldonfsr

  • Full Member
  • ***
  • Posts: 131
Re: Error print dates
« Reply #1 on: September 10, 2019, 03:16:34 pm »
Well i change   date for print date to print text and not format, now is working some worng where really i don't have idea... thanks