PC Review


Reply
Thread Tools Rate Thread

make an access object unvisible with VBA

 
 
TNL
Guest
Posts: n/a
 
      1st Aug 2003
Hi,
how can I set an access object unvisible with VBA?
I habe access 2000

Thanks
TNL
..


 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      1st Aug 2003
me.objectname.visible = False
or
Forms!myform!objectname.visible = False
--
Alex Dybenko (MVP)
http://Alex.Dybenko.com



"TNL" <(E-Mail Removed)> wrote in message
news:0a9701c3581c$f0aa3140$(E-Mail Removed)...
> Hi,
> how can I set an access object unvisible with VBA?
> I habe access 2000
>
> Thanks
> TNL
> .
>
>



 
Reply With Quote
 
TNL
Guest
Posts: n/a
 
      1st Aug 2003
Hi,
I don't think a control on a Form, but an object such as a
query, a table on the database window.
on the dialog property we can make them unvisible, but
with VBA?

TNL

>-----Original Message-----
>me.objectname.visible = False
>or
>Forms!myform!objectname.visible = False
>--
>Alex Dybenko (MVP)
>http://Alex.Dybenko.com
>
>
>
>"TNL" <(E-Mail Removed)> wrote in message
>news:0a9701c3581c$f0aa3140$(E-Mail Removed)...
>> Hi,
>> how can I set an access object unvisible with VBA?
>> I habe access 2000
>>
>> Thanks
>> TNL
>> .
>>
>>

>
>
>.
>

 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      2nd Aug 2003

"Roger" <(E-Mail Removed)> wrote in message
news:00c001c3583e$7dc0f480$(E-Mail Removed)...

> To hide a table definition in VBA you can use:
> CurrentDB.TableDefs("TableName").Properties("Attributes")
> =dbHiddenObject


All such tables will be *deleted* on the next compact!

This is possibly not what he wants.

dbHiddenObject is an undocumented system property.

It is *not* for what its name implies.

TC



 
Reply With Quote
 
Tim Ferguson
Guest
Posts: n/a
 
      2nd Aug 2003
"TC" <(E-Mail Removed)> wrote in news:1059799801.502673@teuthos:

>
> dbHiddenObject is an undocumented system property.
>
> It is *not* for what its name implies.
>
>


It is documented... but I agree it's really stupid. There was a similar
thread hereabouts a week or two ago, where we decided that

Application.SetHiddenAttribute

was the way to go.

All the best


Tim F

 
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
How to make object in Access Form blink or flash? lisasue Microsoft Access Forms 3 9th May 2008 07:14 PM
Unvisible checkbox Madiya Microsoft Excel Programming 10 22nd Aug 2006 03:40 PM
ViewState of a unvisible control ad Microsoft ASP .NET 1 9th Jun 2005 08:17 AM
Make an object (query, table ...) unvisible programmatically TNL Microsoft Access VBA Modules 1 1st Aug 2003 01:28 PM
How can i make a tabpage unvisible in tabcontrol? Winston Microsoft C# .NET 1 18th Jul 2003 06:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 PM.