Why doesn't CDec work in my report? I have 2 subreports with numbers in them. I need to have the frequency between those 2 numbers. For example:
No. of Claims / No. of Vehicles Shipped.
5/1138 = 0.43%
With my code all of the fields provide the correct output with the exception of the numbers above. The output in my Access report for them is 50.00%. How do I get it to show 0.43%. I've tried using CDec in my code and Access does not like it. (Note 5 is derived with a query and 1138 is a number in a table and is a DOUBLE)
This is my code:
=[subREPORT Vehicle Count].Report!CCor/[subREPORT Volumes].Report!Volsub
Can someone please help?
Perplexed
JimWho?
No. of Claims / No. of Vehicles Shipped.
5/1138 = 0.43%
With my code all of the fields provide the correct output with the exception of the numbers above. The output in my Access report for them is 50.00%. How do I get it to show 0.43%. I've tried using CDec in my code and Access does not like it. (Note 5 is derived with a query and 1138 is a number in a table and is a DOUBLE)
This is my code:
=[subREPORT Vehicle Count].Report!CCor/[subREPORT Volumes].Report!Volsub
Can someone please help?
Perplexed
JimWho?