Hi lads,
I've got a form that my users use to look at and interact with stored data. On this form I have a number of text boxes and combo boxes that provide users with ways to filter the data in the subform (which is a data sheet). The filter options take up a lot of room, so I want to be able to hide them at the click of a button and show then when a button is pressed again. In the first image, that is what it looks like when the form launches (data removed for privacy). When you click the filter button to the left, the hidden filter controls all turn to visible, and I'm wondering how I can automatically make the datasheet shift to the right to accommodate them (as shown is the second picture). I know this can be done by adjusting the .Width/.Position properties of the subform control but I'd like to avoid this if possible as it makes it difficult to change in the future if I need to change the size of the form.
Thanks in advance!