P
Paradigm
I have a continuous form with 55 fields being displayed in columns. This is
from a table with 220 fields. I need to change the control source from
actual values to percentage values. So instead of the controlsource being
week1 I want to change it to percent1 and week2 to percent2, (there is no
way of calculating one from the other so there is no redundant data) etc.
I run a function
For i = 1 To 53
myform("week" & CStr(i)).ControlSource = "percent" & CStr(i)
Next i
This seems to work fine if the continuous form has about 50 rows or less but
when there are more rows I get an error: -
runtime error 2101
The setting you entered isn't valid for this property.
It obviously is valid since it works with fewer rows.
I have tried this by adding rows a few at a time and it worked for 50 and
fell over at 55.
Can anyone help please, this is really holding up the development of my
project.
Alex
from a table with 220 fields. I need to change the control source from
actual values to percentage values. So instead of the controlsource being
week1 I want to change it to percent1 and week2 to percent2, (there is no
way of calculating one from the other so there is no redundant data) etc.
I run a function
For i = 1 To 53
myform("week" & CStr(i)).ControlSource = "percent" & CStr(i)
Next i
This seems to work fine if the continuous form has about 50 rows or less but
when there are more rows I get an error: -
runtime error 2101
The setting you entered isn't valid for this property.
It obviously is valid since it works with fewer rows.
I have tried this by adding rows a few at a time and it worked for 50 and
fell over at 55.
Can anyone help please, this is really holding up the development of my
project.
Alex