Hi,
I have a (continuous) form bound to a table, so the two textboxes that I have in the detail section appear multiple times depending on how many records I have in my related table. What I am looking to do is to expand the height of the detail section so that, if the user adds new records (via the new record row of the detail section) all of the records will still be shown regardless of the number of records that I have.
Is there a property of the detail section that I can set to accomplish this, or should I perhaps be checking the number of records (say, on the textbox_afterupdate event) and then programatically increasing the height of the detail section if I decide that I need to?
Just in case it isn't clear, I'm trying to keep the form nice and compact. I have header, detail and footer sections and I want the detail section to only be as tall as it needs to be to display all of the bound records - so it should expand when a new record is entered (and, I guess, decrease in height when one is deleted)
Thanks for any advice.
I have a (continuous) form bound to a table, so the two textboxes that I have in the detail section appear multiple times depending on how many records I have in my related table. What I am looking to do is to expand the height of the detail section so that, if the user adds new records (via the new record row of the detail section) all of the records will still be shown regardless of the number of records that I have.
Is there a property of the detail section that I can set to accomplish this, or should I perhaps be checking the number of records (say, on the textbox_afterupdate event) and then programatically increasing the height of the detail section if I decide that I need to?
Just in case it isn't clear, I'm trying to keep the form nice and compact. I have header, detail and footer sections and I want the detail section to only be as tall as it needs to be to display all of the bound records - so it should expand when a new record is entered (and, I guess, decrease in height when one is deleted)
Thanks for any advice.