AutoResize of subform control

G

Guest

Dear MS-Access Community, is there a way to dynamically resize a subform
control containing a datasheet?

I have a subform that changes the quantity of displayed datasheet rows upon
selection of a combobox value located on the main form. Currently, the width
is set to accomodate a scroll bar when the rows are longer than the height of
the subform control; when the rows are shorter than the height of the subform
control, it displays a gray background on the left and bottom of the
datasheet.

I'd like to expand & contract the subform control to accommodate a variable
heigth & width. I understand how to programatically apply a set heigth &
width upon AfterUpdate of the combobox, but not how to interpret the required
dimensions.
 
T

Taylor Mobley

tytytyyryryryyryryryrryyryyvv
On 5/14/07 4:10 PM, in article
(e-mail address removed), "LF"tt7tt77tt7y7t7t7t7
7565656
Vbgbbvb
Tyyty
Bbgghhjj
Gygyyfyfyfyfyfyfyy ttytytyytytytytyyh y y y
Bbgghh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top