money display format
I am using RB6.03 with Delphi 5 Professional on WinXP.
I have 2 questions:
1) I have selected the proper display for my money field, $#,0.00;-$#,0.00
But the report still shows ($50.00) for -50.00. My Windows default settings
are correct.
2) I have a report that can print by either date or customer name order. The
first time when I run the report, it always works. But if I close the
report scren and change the order, the report displays a blank page. Then
if I close the report preview, click my run button to run the report again,
it comes up properly. The report runs fine as long as I do not change the
display order. Even if I change other report conditions such as
saleman_code or company_state, it runs fine. It only happens when I switch
the report order.
Thank you
I have 2 questions:
1) I have selected the proper display for my money field, $#,0.00;-$#,0.00
But the report still shows ($50.00) for -50.00. My Windows default settings
are correct.
2) I have a report that can print by either date or customer name order. The
first time when I run the report, it always works. But if I close the
report scren and change the order, the report displays a blank page. Then
if I close the report preview, click my run button to run the report again,
it comes up properly. The report runs fine as long as I do not change the
display order. Even if I change other report conditions such as
saleman_code or company_state, it runs fine. It only happens when I switch
the report order.
Thank you
This discussion has been closed.
Comments
display formats are fully customizable as shown in this demo:
http://www.digital-metaphors.com/tips/ReplaceDisplayFormats.zip
2. How are you performing the resorting and regenerating of the report? Call
Report.Reset if you are changing the dataset and then rerunning the report.
This will clear the page cache created from the first report.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com