JGalletta
Windows 7 Access 2010
- Local time
- Today, 12:24
- Joined
- Feb 9, 2012
- Messages
- 149
I have this as the control source for a text box in the detail of a report:
=[Rate]*[Acres Sprayed]*[Cost/Unit]/(Len([Combo50].[Text])-Len(Replace([Combo50].[Text],",",""))+1)
In layout view, it shows the correct values as currency, in report view I get the #Type! error in that control. How do you correct this? I've tried str() and others, but apparently haven't found the correct method to get this value to be displayed as currency ($####.##) in the text box. Quick fix, no?
=[Rate]*[Acres Sprayed]*[Cost/Unit]/(Len([Combo50].[Text])-Len(Replace([Combo50].[Text],",",""))+1)
In layout view, it shows the correct values as currency, in report view I get the #Type! error in that control. How do you correct this? I've tried str() and others, but apparently haven't found the correct method to get this value to be displayed as currency ($####.##) in the text box. Quick fix, no?