dbTalk Databases Forums  

open a subform

comp.database.ms-access comp.database.ms-access


Discuss open a subform in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rich
 
Posts: n/a

Default open a subform - 05-30-2004 , 10:45 PM






In a main form, I want to open a subform at one condition and open a
different subform at another condition, How to it? I'm using MS-access
2000.
Your help is highly appreciated.

Rich

Reply With Quote
  #2  
Old   
Jeremy B. Shapiro
 
Posts: n/a

Default Re: open a subform - 05-30-2004 , 11:32 PM






Rich,

Depending on the complexity and the frequency of the sub-form changing, you
could change the visibility property of the subforms using the On Current
event for the form if you want it to change when you change records and for
the On Change event for the control that determines which subform should be
shown.

--
Jeremy Shapiro
Asandia, Corp.
www.asandia.com
1.866.ASANDIA (272.6342)

"Rich" <lixiaof (AT) yahoo (DOT) com> wrote

Quote:
In a main form, I want to open a subform at one condition and open a
different subform at another condition, How to it? I'm using MS-access
2000.
Your help is highly appreciated.

Rich



Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.