Form Shifts upon Advancing Record

R

=Ray=

I have a form with a subform and the subform has no scroll bars, record
selector, or navigation buttons. There are essentially two columns of fields,
the left column is on the main form, the right column is on the subform.

The problem is, if I have the subform where I want it, so that its fields
are close to the right edge of the form, when I advance to the next record
while the focus is on one of the subform's fields, it shifts the entire form
(both subform and main form) to the left, leaving a space on the right side.
There are no objects extending into this region in design view, and the shift
hides part of the labels for the left column.

The shift happens only if a field on the subform has the focus, not when a
main form field has the focus.

Any ideas on what's going on and how to correct it?
Thanks
Ray
 
S

strive4peace

Hi Ray,

do you WANT scrollbars? Record Selectors? Navigations buttons? these
are all form properties you can set.

for better understanding of the basics of Access, download and read this:

Access Basics on Access MVP site
http://www.accessmvp.com/Strive4Peace/Index.htm
8-part free tutorial that covers essentials in Access

"shifts the entire form "

what is the Width of the subform control? Compare it to the Width of
your subform and also to the screen (take the Left property of the
subform control into account)

you can correct it by

1. reducing the Width property of the subform control -- and the Width
of the main form if it extends beyond the screen boundaries
2. reducing the Width property of the form inside the subform control
3. reducing the width of the control with the data

Warm Regards,
Crystal

*
:) have an awesome day :)
*
 

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