By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,483 Members | 1,464 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,483 IT Pros & Developers. It's quick & easy.

Subform resize automatically

P: 2
Is there some piece of code that will make subforms resize automatically according to the amount of records displayed?

For example my main form just contains artist names. Subform1 contains albums. Some artists have 2 albums, some have 20. It looks stupid to have a subform resized manually and made huge when it is only filled up with records sometimes, depending on who is selected in the main form.

Thanks
Apr 11 '08 #1
Share this Question
Share on Google+
1 Reply


Expert Mod 2.5K+
P: 2,545
Hi Joe. As you will have guessed from the lack of response to your question the short answer is no, there is no bit of code to resize a subform automatically in response to dataset size. Typically, subforms are used in datasheet or continuous form mode, where the user simply scrolls multiple records up or down the list. It's all a bit of a compromise between providing good general functionality and coping with specific circumstances that don't fit well with the general limitations.

-Stewart
Is there some piece of code that will make subforms resize automatically according to the amount of records displayed?

For example my main form just contains artist names. Subform1 contains albums. Some artists have 2 albums, some have 20. It looks stupid to have a subform resized manually and made huge when it is only filled up with records sometimes, depending on who is selected in the main form.

Thanks
Apr 15 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.