This might be more of an Access issue but since no one could help me on that forum I'm hoping to have better luck here.
I have a form with rows of fields that are initially 'visible=no'. As I fill in the rows I make them visible and at the same time increase the height of the form and move a button below the newly visible row. I do this with the following code:
This works fine until the value of 'Me.MyButton.Top' reaches 7860. When the above executes with that value I get the error, "The control or subform control is too large for this location." The value of 'Me.Form.InsideHeight' at this point is 8870 so there is plenty of room for the button which is 360 high.
Can someone help me with this? The message seems to be saying that the button is too large but that cannot be the case nor is the 'top' location too large for the form height. I'm stuck. TIA.
I have a form with rows of fields that are initially 'visible=no'. As I fill in the rows I make them visible and at the same time increase the height of the form and move a button below the newly visible row. I do this with the following code:
Code:
Me.Form.InsideHeight = Me.Form.InsideHeight + (0.25 * 1440)
Me.MyButton.Top = Me.MyButton.Top + (0.25 * 1440)
Can someone help me with this? The message seems to be saying that the button is too large but that cannot be the case nor is the 'top' location too large for the form height. I'm stuck. TIA.