PC Review


Reply
Thread Tools Rate Thread

HIDE/UNHIDE SUBFORM

 
 
FRANK
Guest
Posts: n/a
 
      1st Aug 2003
Is it possible to hide/unhide a subform on an active form?
I would like to click a check box to make it visible or
uncheck the box to make it visible.
Thanks.
Frank
 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      1st Aug 2003
yes, i think

in check box afterupdate proc:

me.subformcontrol.visible=me.checkboxwithswitchvisibilityofsubform

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com



"FRANK" <(E-Mail Removed)> wrote in message
news:092201c3581d$0e200060$(E-Mail Removed)...
> Is it possible to hide/unhide a subform on an active form?
> I would like to click a check box to make it visible or
> uncheck the box to make it visible.
> Thanks.
> Frank



 
Reply With Quote
 
John Spencer (MVP)
Guest
Posts: n/a
 
      1st Aug 2003
Sure the subform control has a visible property so in the form's code module you
would need

Me.NameOfSubformControl.Visible = Not(Me.CheckboxName)

I would put that code in the after update event of the checkbox and, perhaps, in
the on load event of the form.

FRANK wrote:
>
> Is it possible to hide/unhide a subform on an active form?
> I would like to click a check box to make it visible or
> uncheck the box to make it visible.
> Thanks.
> Frank

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can this be done with HIDE - UNHIDE ? ytayta555 Microsoft Excel Programming 4 12th Jun 2009 04:37 PM
Usng a macro to hide/unhide subform shannaj via AccessMonster.com Microsoft Access Macros 1 16th Oct 2007 09:13 PM
Hide/Unhide subform based on continuous subform =?Utf-8?B?TmluaWVs?= Microsoft Access VBA Modules 5 26th Oct 2006 11:19 PM
Hide/Unhide subform field Question =?Utf-8?B?bml1Z2luaWtpd2k=?= Microsoft Access Form Coding 1 26th May 2006 05:40 AM
Hide/unhide =?Utf-8?B?Sm9jayBX?= Microsoft Excel Worksheet Functions 4 4th Oct 2005 06:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:02 AM.