jimrward
Well-known Member
- Joined
- Feb 24, 2003
- Messages
- 1,896
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
- 2003 or older
- Platform
- Windows
New to access but achieved a fair bit, trying to get away from hard coding control source calculations
my report currently contains 10 labels with 10 associated text boxes, which show performance from 100 to 90 with a tally of said performance over time from my data, the control source is hard coded in each as count(iif([myscore]=100,1,0), then 99 etc
some people have never reached 100
what I would like to do is set textbox1 to the max and each subsequent one would be count(iif([myscore]=[textbox1.value]-1 and cascade down,
I can’t get the above to work as access keeps prompting me for a value
my report currently contains 10 labels with 10 associated text boxes, which show performance from 100 to 90 with a tally of said performance over time from my data, the control source is hard coded in each as count(iif([myscore]=100,1,0), then 99 etc
some people have never reached 100
what I would like to do is set textbox1 to the max and each subsequent one would be count(iif([myscore]=[textbox1.value]-1 and cascade down,
I can’t get the above to work as access keeps prompting me for a value