A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Modal form



 
 
Thread Tools Display Modes
  #1  
Old July 6th, 2004, 04:36 PM
Praveen Manne
external usenet poster
 
Posts: n/a
Default Modal form

Hi,

I have a basic question. I think u guys can help me out .

I have 2 forms and a pop up form which property is set to 'Modal'

when I opened the 2nd form using a command button on the first form , the
pop up form should pop up. Since it is modal, no other form will work until
you click 'OK' button on that pop up form. when i click ok, the 2nd form
should get focus since it is pop up form for the 2nd form. But, 1st form is
getting focus when I clik OK on the pop up form. How to get focus to the 2nd
form when I click OK on the pop up form

Thanks
Praveen Manne


  #2  
Old July 6th, 2004, 10:49 PM
Damien McBain
external usenet poster
 
Posts: n/a
Default Modal form

Praveen Manne wrote:
Hi,

I have a basic question. I think u guys can help me out .

I have 2 forms and a pop up form which property is set to 'Modal'

when I opened the 2nd form using a command button on the first form ,
the pop up form should pop up. Since it is modal, no other form will
work until you click 'OK' button on that pop up form. when i click
ok, the 2nd form should get focus since it is pop up form for the 2nd
form. But, 1st form is getting focus when I clik OK on the pop up
form. How to get focus to the 2nd form when I click OK on the pop up
form

Thanks
Praveen Manne


U can use

Me!SecondForm.SetFocus

In your on_click sub or in another event like onclose.

Damo


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing value to modal child form in MS Access using VBA? Grahammer Using Forms 6 July 4th, 2004 11:53 PM
form doesn't update!!!!! manish Using Forms 4 June 15th, 2004 11:24 AM
Recordset in subform based on field in parent form Lyn General Discussion 15 June 14th, 2004 03:10 PM
Report Preview with calling form Pop Up & Modal "Yes" fred Setting Up & Running Reports 0 June 10th, 2004 04:45 PM
surely a form with a ListBox can be used in a query? 1.156 Running & Setting Up Queries 14 June 2nd, 2004 04:54 PM


All times are GMT +1. The time now is 11:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.