I'm trying to change the height of a subform based on certain criteria from another form. That is I have a form that I wish to determine the height of a subform from. I've added code to the form along the lines of:
Forms! {parent form name} . {subform name} . height = 6000
But this generates an error. I've also tried adding ".form" and ".detail" before the word height, but this didn't work either. If I try to assign the height value using the code that I have posted here, but call it from the parent form, it works fine. The only problem is that I can't evaluate the criteria from the parent form. Does anyone know a way that I could change the subform height from a form that isn't the parent form?
Thanks,
Matt
Forms! {parent form name} . {subform name} . height = 6000
But this generates an error. I've also tried adding ".form" and ".detail" before the word height, but this didn't work either. If I try to assign the height value using the code that I have posted here, but call it from the parent form, it works fine. The only problem is that I can't evaluate the criteria from the parent form. Does anyone know a way that I could change the subform height from a form that isn't the parent form?
Thanks,
Matt