473,386 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Some Help on Navigation Categories and Newly Created Queries

Brilstern
208 100+
Ok so after extensive searching I have only found one answer to my question. You can not use VBA to auto assign a new item to a category. Which would be awesome but apparently the only way to do so is to do it the the UI.

So my question is, has anybody came up with or know of a simpler solution than having to navigate to unassigned items and manually adding it every time I create one. Its not that big of a deal but I run a command very often that creates 6 new queries every time, and I would like to avoid "cluddering" up my Navigation pane.

Any help would be appreciated.

Sgt B
Jan 1 '12 #1

✓ answered by NeoPa

I found this somewhat less than hopeful comment in Programatically accessing "object groups" :
Anthony England:
This is what I put into the Google Groups search page:
"database window" objects groups favorites
All answers (some by very experienced Access folk) seem to point to the
answer:

"Abandon all hope of doing anything with these - they are not accessable in
any way apart from the Access UI which is provided
"
My own researches found very little more than this. I found nothing that would help you I'm afraid :-(

14 16397
Rabbit
12,516 Expert Mod 8TB
I have no idea what you mean by category.
Jan 2 '12 #2
Brilstern
208 100+
If you right click on the top of the navigation pane it gives you the option to select a category. Within each category there are groups. Essentially I want to find out if there are any shortcuts for adding new queries to a certain group within a certain category other than the normal UI way of just right clicking on them and adding them or dragging them in the Nav pane to the group desired.
Jan 2 '12 #3
NeoPa
32,556 Expert Mod 16PB
Correct me if I'm wrong, as I'm largely guessing here and trying to read between the lines (which indicates how poorly expressed the question is Stevan), but are you perhaps referring to the assigning of the database objects (Tables; Queries; Forms; Reports; etc) to Groups - normally available from the main database window?

If so, you should explain which version of Access you're using (as I believe these groups are very version dependent) and you should understand that the groups merely contain links (similar to shortcuts) to the said items, rather than these items being moved out of the main Table or Query window per se.
Jan 2 '12 #4
Brilstern
208 100+
I apologize for the vagueness as it is kinda difficult to explain. Here goes though...

Vr. Access 2007
I do understand that none of these objects actually move from Category to Category/Group to Group. They are indeed shortcuts unless the are in the OM created group "Unassigned Objects", which is automatically added to all Categories UI or OM created alike.

I understand that there are UI and OM created categories. For ex. I use a UI created category of "Working" for my normal Navigation Pane view. Within this category it contains various groups particularly "Weekly Build Queries" which contains 6 queries for each week of the year (sometimes more than one in a week)in ex.

Expand|Select|Wrap|Line Numbers
  1. "A001-11" 
  2. "A001-11E"
  3. "T001-11"
  4. "T001-11E"
  5. "X001-11"
  6. "X001-11E"
These 6 queries were created on the first week of the year 2011.

Now when I create these they automatically are shown in the "Unassigned Objects" group within the "Working" Category. I then manually highlight all 6 new queries, right click and add to group "Weekly Build Queries".

My questions is there any way to expedite this. From what I have found online there is no a way to move them except through the UI. Do you know of a better way than my current action?

**Reason being I currently manage this database and make all changes but I will soon return home from this deployment and change over with my replacement. He might not be as access savvy so I need to make this as dummy proof as possible.**

Thx in advance. Hope there is a solution

Sgt B
Jan 2 '12 #5
NeoPa
32,556 Expert Mod 16PB
I will reply promptly by saying I have no experience with this programatically at all. I've used Groups a couple of times in 2003 (My current version) but found the manual overhead required for my circumstances outweighed any benefits, so lost interest. I will have a quick look around for you, but if any other experts have any experience it would certainly be worth their jumping in.

PS. I think your last post made the situation (and the question) much clearer, so experts can at least focus on your question now :-)
Jan 2 '12 #6
NeoPa
32,556 Expert Mod 16PB
I found this somewhat less than hopeful comment in Programatically accessing "object groups" :
Anthony England:
This is what I put into the Google Groups search page:
"database window" objects groups favorites
All answers (some by very experienced Access folk) seem to point to the
answer:

"Abandon all hope of doing anything with these - they are not accessable in
any way apart from the Access UI which is provided
"
My own researches found very little more than this. I found nothing that would help you I'm afraid :-(
Jan 2 '12 #7
ADezii
8,834 Expert 8TB
@Stevan:
I'm afraid that your initial assumption may be correct in that there is no way to programmatically add a New Item to a Category, the only Option being through the User Interface.
Jan 3 '12 #8
Brilstern
208 100+
Thank you both very much for your replies! I was afraid from the get go that I was SOL but I figured I would at least ask. I appreciate the prompt replies.
Jan 3 '12 #9
Brilstern
208 100+
This may be a stretch but if you go to your navigation options in a database and select show system objects, you will see a series of tables in ex.

Expand|Select|Wrap|Line Numbers
  1. MSysAccessStorage
  2. MSysAccessXML
  3. MSysACEs
  4. MSysComplexColumns
  5. MSysIMEXColumns
  6. MSysIMEXSpecs
  7. MSysNavPaneGroupCategories
  8. MSysNavPaneGroups
  9. MSysNavPaneGroupToObjects
  10. MSysNavPaneObjectIDs
  11. MSysObjects
  12. MSysQueries
  13. MSysRelationships
  14.  
These are all the system objects on one of my particular database's.
Is there any connection here do you think that be used like an update query or something. I know this is really dangerous messing with system objects but just curious.

Sgt B

***I can provide my database if that would be easier.***
Jan 3 '12 #10
NeoPa
32,556 Expert Mod 16PB
If it works at all it would only be for 2007 or later as the MSysNavPane... tables don't exist in a 2002/2003 database :-(
Jan 3 '12 #11
Brilstern
208 100+
I think I might make the better decision here and leave it alone. Thx for everything.

Sgt B
Jan 3 '12 #12
ADezii
8,834 Expert 8TB
I would strongly suggest NOT utilizing the System Tables to accomplish your goal, unless you knew in advance the purpose, Data Types, and acceptable Values allowed in each Field.
Jan 3 '12 #13
Brilstern
208 100+
That is exactly my reason in putting it to rest. I know pretty much nothing about the inner workings of the system tables so I am just gonna put this aside indefinitely.

sgt B
Jan 3 '12 #14
NeoPa
32,556 Expert Mod 16PB
Stevan:
I think I might make the better decision here and leave it alone
As ADezii so aptly says, unless you are absolutely sure of your ground in that area, this decision sounds eminently sensible.
Jan 3 '12 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: yootzee | last post by:
Greetings all, I'm having a problem with scrolling vertically in a newly created browser window. The vertical scrolling is to reach some anchor point within the new browser window. I'm...
29
by: pmatos | last post by:
Hi all, Sometimes I have a function which creates an object and returns it. Some are sets, other vectors but that's not very important. In these cases I do something like this: vector<int> *...
1
by: NB | last post by:
Hi This has been tickling my mind for quite some time. Can someone tell me if Access 2003 has a solution for it. After a period of development, your front end will definitely bloat despite...
0
by: Earl Teigrob | last post by:
I am having a problem where the bitmap image that I just created and saved to disk can not be found but the code in another area of the program. When I reattempt to access the same image, it...
4
by: mcwooq | last post by:
Hi, I just installed the VS.Studio 2005 Team Edition for Developper and encountered severe problems with debugging ASP.NET 2.0 projects. Even newly empty created ASP 2.0 projects can't debug...
18
by: Eddie Suey | last post by:
I'm creating a directory and a file in the directory. When I try to write to the file I get the following error: "Can not access the file ... because it is being used by another process". The...
1
by: mcmwhite | last post by:
Hi, Does anyone know how I can open a newly-created HTML page in a new window, using ASP.NET? Eg. I have an ASP.NET page which creates some new HTML, based on what the user has entered into a...
4
by: Edward Lorden | last post by:
I created a new website, using the ASP .NET Website template. Before I did anything, I tried running it in debug mode. This worked, giving a blank page. I then moved the site to become the...
3
by: =?Utf-8?B?RGFuaWVs?= | last post by:
I'm working with the FileSystemWatcher which has a Created event. But this event is raised as soon as the new file begins to be written on disk. What I want is a notification after a file being...
3
by: HerbAsher | last post by:
Hi! I have some questions. I'm evaluating berkeley db as a embeddable storage engine for a project I'm working on. My questions: 1. Now that Berkeley DB is part of Oracle, is it still...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.