Date Formats
I assumed that RBuilder inherited the data formatting to which Windows was
set. That does not seem to be the case. Therefore, I need to add code to
make RBuilder 7.03 use a certain data format by default. I don't want to
make the users alter the display format of every date field in every report.
How can I do that?
Thanks,
Bob Tucker
set. That does not seem to be the case. Therefore, I need to add code to
make RBuilder 7.03 use a certain data format by default. I don't want to
make the users alter the display format of every date field in every report.
How can I do that?
Thanks,
Bob Tucker
This discussion has been closed.
Comments
ReportBuilder gets it's date formatting from Delphi, which in turn gets them
from Windows. If you would like to see how this is done, please see the
code in the TppDisplayFormat class located in the ppDisplayFormat.pas file.
From there it is possible to override the existing formats with your own.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
fomat with no problem with the exception of the reports. The dates in the
grids and data entry screens follow the Windows date format with no code
changes. However, the same data displayed in the reports remain in the US
date format. I can't see where I have set a propertly to RBuilder to cause
this.
I understand what you are saying but it doesn't seem to me that RBuilder is
following the same date format as the Delphi application. I don't want to
override it. I just want RBuilder to use the same date format that the
Delphi application is using which it is inheriting the format from Windows.
I can change the Windows format and instantly, dates appear in the new
format in the application with the exception of the report generation.
Thanks,
Bob
problem. Someone has gone through the reports and manually entered a
display format.
Sorry,
Bob Tucker