Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 8th, 2005, 07:31 AM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hiding Queries in a list box

Hello All,

I am populating a list box with all the queries in a database. I want to remove the hidden ones from this list as they have no use to be displayed in here.

Could someone help me out with the syntax to find out the hidden properties of a query.

any help would be mush appreciated

 
Old March 9th, 2005, 01:49 AM
Friend of Wrox
 
Join Date: Nov 2004
Location: Seattle, WA, .
Posts: 248
Thanks: 0
Thanked 1 Time in 1 Post
Default

Do you want the fish? Or do you want to learn to fish?

Here's the fish:

Application.GetHiddenAttribute(objecttype,objectna me)

How to fish... (since I didn't know the answer until I went fishing)

Go to VBA.
Press F2 (this opens the Object Browser).
Type hidden (or whatever you're looking for), in the search box.
Check the results for something that looks useful and try it. (Maybe backup your database first... just in case you find something that will really trash it.)

Randall J Weers
Membership Vice President
Pacific NorthWest Access Developers Group
http://www.pnwadg.org




Similar Threads
Thread Thread Starter Forum Replies Last Post
Grab Values From List Box into Text Box phungleon VB How-To 2 June 19th, 2008 10:33 PM
multi-column list box values moved to 2nd list box sbmvr Access VBA 1 May 14th, 2007 01:58 PM
select box/List box alphabetic sort sasidhar79 Javascript How-To 3 November 10th, 2004 03:04 AM
Populate List Box by Combo Box Selection mmcdonal Access 2 June 15th, 2004 12:08 PM
Search using drop down list box and a text box tcasp Classic ASP Basics 1 July 31st, 2003 02:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.