Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Subform only displays 3 records, would like it to show 5 or more

Posted on 2012-04-06
2
Medium Priority
?
366 Views
Last Modified: 2012-04-07
I have a subform that works great, but it only displays 3 records. How can I get it so show more?

In the design view, it's all scrunched down, there's only space for one record.

But when I run the form, the subform has room for 3 records, even if there are no records (but there's the one blank record).

So if I have 4 records, then I have to scroll down to the 4th record then back up to see the 1st, only three display.

I only need to display 5 for this form, but how to I make it expandable ?
0
Comment
Question by:Alaska Cowboy
2 Comments
 
LVL 40

Accepted Solution

by:
als315 earned 500 total points
ID: 37818356
You can resize subform in design view or (in Access 2010) you can do it in Layout View, where it is more realistic. You can resize subform in VBA code, but it is not so simple (you should at first count records, necessary space etc. It is not recommended design in Access. Normally you are reserving space for some records (5, for example) and, if there are more records, you will have scroll bar.
0
 
LVL 1

Author Comment

by:Alaska Cowboy
ID: 37819028
als315 - ok, got it. I just fiddled with the size, could have done that on my own . . . but I'm off to a good start with Access 2010, so thanks !
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question