That is what I posted earlier.
Docmd.Restore will return form B to its saved size.
How are you determining it is not Modal?

Signature
Dave Hargis, Microsoft Access MVP
> I have form A and on that form I have a command button. When you click the
> button it opens form B with the record you were on in form A. Form A has
[quoted text clipped - 58 lines]
> > > > > > > End If
> > > > > > > End Sub
Ok, that kind of works. It does restore form B to its original state but it
makes form A be not maximized. Also, I have form B set as Modal but it lets
you go to form A. If I open form B up by itself, it keeps all the property
settings but when it is opened through form A, it seems to behave very
different.
Any more suggestions?
Thanks.
> That is what I posted earlier.
> Docmd.Restore will return form B to its saved size.
[quoted text clipped - 62 lines]
> > > > > > > > End If
> > > > > > > > End Sub
Klatuu - 10 Apr 2008 19:46 GMT
As I said in my first post, form A will change size.
Try opening the form using the acDialog option. That way, you can't go
anywhere from it.

Signature
Dave Hargis, Microsoft Access MVP
> Ok, that kind of works. It does restore form B to its original state but it
> makes form A be not maximized. Also, I have form B set as Modal but it lets
[quoted text clipped - 72 lines]
> > > > > > > > > End If
> > > > > > > > > End Sub
rml - 10 Apr 2008 19:53 GMT
Sorry but what do you mean by acDialog option? Can you explain how?
Thanks.
> As I said in my first post, form A will change size.
> Try opening the form using the acDialog option. That way, you can't go
[quoted text clipped - 76 lines]
> > > > > > > > > > End If
> > > > > > > > > > End Sub
Klatuu - 10 Apr 2008 20:04 GMT
It is the 5th argument of the OpenForm method.
It sets the Modal and Popup properties to Yes.
Look in VBA Help for details.

Signature
Dave Hargis, Microsoft Access MVP
> Sorry but what do you mean by acDialog option? Can you explain how?
>
[quoted text clipped - 80 lines]
> > > > > > > > > > > End If
> > > > > > > > > > > End Sub
Rick Brandt - 11 Apr 2008 01:14 GMT
> Ok, that kind of works. It does restore form B to its original state
> but it makes form A be not maximized. Also, I have form B set as
[quoted text clipped - 3 lines]
>
> Any more suggestions?
In Access if you maximize one thing you maximize all things. The exception
to this are forms and reports opened as popups. Are you quite sure you set
the modal AND the PopUp property on form B to Yes? Modal won't help with
the size issue, but PopUp should.

Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com