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

Listbox and Pop-up form

P: n/a
MS Access 2003, Windows XP
---------------------------------------------
Hello,

I have a main form with a listbox that displays selected items. I also
have a form that's opened from the main form and allows a user to edit
the selected items displayed in the first list. The second form also
uses a list to display all the items and allows a user to edit the
selections. The list in the second form highlights the selected items
and displays all the items (so that the selection can be edited).

When I specify the second form as a pop-up and modal, the selections
in the list are not highlighted, though it displays all the items.

When I specify the second form as only modal, everything works fine as
it should.

Just wondering if there's an issue with pop-up form and listbox.

Ideally, I'd like to specify the form as pop-up and make its size
smaller so that it floats above the first form. Right now, to make the
form work correctly, the second form has to be opened as maximized.

I tried a search but didn't find any mention of this issue. Please let
me know if you have a solution to this.

Thanks.
-Amit

Feb 8 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Actually, I figured it out. I had code in the OnActivate event of the
second form to highlight the selected items. I moved the code to
OnLoad event, and it is now working fine. The pop-up form is being
opened using acDialog.

Thanks.
-Amit

Feb 8 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.