K
KM
I have a lot of fields on a form/Subform
I wish to change the properties of some of the items via code such as this:
ME![CS1101].ControlSource = "=([11001] - [11004])"
ME![CS1102].ControlSource = "=([11001] - [11005])"
I have 4 fields similar where [CS1101] = Qtr 1 ...[CS1104] = Qtr 4
Question:
Is there anyway to refer to ME![CS1101].ControlSource indirectly with a
counter?
Where QTR = 1 to 4
ie: ME![CS110" & QTR & "].ControlSource = "=([11001] - [11005])"
Intent is to code 1 set of variables and let a do loop set the others...
I wish to change the properties of some of the items via code such as this:
ME![CS1101].ControlSource = "=([11001] - [11004])"
ME![CS1102].ControlSource = "=([11001] - [11005])"
I have 4 fields similar where [CS1101] = Qtr 1 ...[CS1104] = Qtr 4
Question:
Is there anyway to refer to ME![CS1101].ControlSource indirectly with a
counter?
Where QTR = 1 to 4
ie: ME![CS110" & QTR & "].ControlSource = "=([11001] - [11005])"
Intent is to code 1 set of variables and let a do loop set the others...