Popupform

Oct 24, 2005

Hi,

Im working on a form. This form has a button. When the button is clicked, a popup form, just a smaller sized form needs to open. The problem is that the main window is maximized. When i try to open the small form, it opens or maximized, or it also resizes the mainform to dialog.

can this be fixed. I want the main to stay maximized, and the smallforum to just popup.

Thanks for your reply!

View Replies


ADVERTISEMENT

How To Requery Mainform From Popupform?

Aug 22, 2006

Hi!

I have a mainform, with a popupform, on which I want to select a record/post
to work with on the mainform. I have managed to select the actual post on the popup, but i dont know how to make the mainform navigate to that form.


How do I easiest accomplish to make the mainform navigate to the record I've selected on the popupform?

thanks for your reply ;)

View 3 Replies View Related

Modules & VBA :: Pass Value To Form That Opened A Popupform?

May 9, 2015

I have two subforms in a tab formation sitting on a main form. They can both open up a single popup form (via a button) and that popup form is opened via openargs with the autoID field.

What I need to do is pass back a value on the popup forms [On Unload] event to the subform which opened it.

As the popup form is Modal, the subform which opened it can't be changed.

Am I right in thinking I can pass back the value to the form which had previous focus?

Previously, to pass a value from a popup form to a single form I've been using

Code:

If CurrentProject.AllForms("MyForm").IsLoaded Then
do this
else do this
end if

But in this instance, how do I code the On Unload event in which to tell Access which form opened up the popup form, and pass a value back to it?

I'm guessing
Screen.PreviousControl.SetFocus
has something to do with it?

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved