Topic: How to select printed date format in report?
What is the procedure to select printed date format in report?
For example: dd mm yyyy, or same with hours and minutes.
My Visual Database → Reports → How to select printed date format in report?
What is the procedure to select printed date format in report?
For example: dd mm yyyy, or same with hours and minutes.
Some additional explanation:
My goal is to print the date when the record is saved.
I have a DateTimePicker1 in my Form2 associated with the TableName: mytable and FieldName: Date.
When a new record is added I can see the date in Form1.TableGrid1 in a proper format, for example 1.10.1980. All I want is to print this info in same format.
In report preview, I have a component Report.mytable.Date ( in MasterData1), but finally I get the date in form 10.1.1980 instead of 1.10.1980.
I can't find an error.
Hi MarkoS
As I understand it, MVD sends dates across to FastReport as text so trying to use some of the standard date masks in FastReport won't have any effect.
I'd probably use a calculated field to reformat the date in MVD as you want it to print out and then pass the calculated field into FastReport.
See the attached with a couple of reformatting examples.
Derek.
Thanks, Derek,
That's what I need.
Thank you very much for your support.
My Visual Database → Reports → How to select printed date format in report?
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi