PaquettePaul
Member
- Local time
- Yesterday, 19:35
- Joined
- Mar 28, 2022
- Messages
- 107
I have an invoice report where I show all the merchandise/service charges, total it up, add tax, show the invoice charge and then show the client’s current account balance. This works just fine for the numbers and data retrieval except for two features that I thought were standard:
1) Condition field formatting. I set the background rules to white = 0, red < 0, and green > 0 based on the value in the current account balance.. I get green on 0 and less than zero. No idea why. I had to remove the formatting. Anybody have an idea why this would fail. Note that the current account balance is derived by an SQL read during the format section of the report. Any ideas why the formatting is not consistent, some times it works nd some times it does not.
2) Alternate row colour. I was using white and grey for alternate background colours for the merchandise/service record list. All of the data comes from the same table query. The problem is that the first row has white background, second row is grey, and the other rows are white background. Not sure why this is happening.
I removed these two features from the invoice report because of the inconsistency and I really cannot have a negative balance with a green background.
There is no code as such as the features are set be rules and property sheet.
1) Condition field formatting. I set the background rules to white = 0, red < 0, and green > 0 based on the value in the current account balance.. I get green on 0 and less than zero. No idea why. I had to remove the formatting. Anybody have an idea why this would fail. Note that the current account balance is derived by an SQL read during the format section of the report. Any ideas why the formatting is not consistent, some times it works nd some times it does not.
2) Alternate row colour. I was using white and grey for alternate background colours for the merchandise/service record list. All of the data comes from the same table query. The problem is that the first row has white background, second row is grey, and the other rows are white background. Not sure why this is happening.
I removed these two features from the invoice report because of the inconsistency and I really cannot have a negative balance with a green background.
There is no code as such as the features are set be rules and property sheet.