473,597 Members | 2,459 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Read MSysACEs

There are various hidden tables in Acees 2000 including MSysACEs

The owner in Engine (I presume the Microsoft Jet Engine); I can't read the
data or change the permissions. Any ideas

Thanks

Phil
Dec 5 '06 #1
10 10236
"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in
news:45******** **************@ ptn-nntp-reader02.plus.n et:
There are various hidden tables in Acees 2000 including MSysACEs

The owner in Engine (I presume the Microsoft Jet Engine); I can't
read the data or change the permissions. Any ideas
Um, why do you care what's in it?

The fact that you're prohibited from seeing the data is probably a
good indication that you have no business seeing it.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 5 '06 #2
I have created a database that analyses other databases - for example it
will tell you where all the queries are used (eg forms, reports, and as
subqueries, combo boxes etc)

It will tell you where all the forms are used (possibly as subforms) and
what queries or SQLs are used in them (eg as a source of a combo box).

It will tell you all the source of all the components of say a form
(queries, tables, subforms etc)

Most of the information is extracted from the hidden tables, but I am trying
to find out where the information on form, query report and table properties
are hidden

Phil

"David W. Fenton" <XX*******@dfen ton.com.invalid wrote in message
news:Xn******** *************** ***********@127 .0.0.1...
"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in
news:45******** **************@ ptn-nntp-reader02.plus.n et:
>There are various hidden tables in Acees 2000 including MSysACEs

The owner in Engine (I presume the Microsoft Jet Engine); I can't
read the data or change the permissions. Any ideas

Um, why do you care what's in it?

The fact that you're prohibited from seeing the data is probably a
good indication that you have no business seeing it.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Dec 5 '06 #3
"Phil Stanton" wrote
>I have created a database that analyses other databases - for example it
will tell you where all the queries are used (eg forms, reports, and as
subqueries, combo boxes etc)

It will tell you where all the forms are used (possibly as subforms) and
what queries or SQLs are used in them (eg as a source of a combo box).

It will tell you all the source of all the components of say a form
(queries, tables, subforms etc)

Most of the information is extracted from the hidden tables, but I am
trying to find out where the information on form, query report and table
properties are hidden

Phil
Most, probably all, of the information you need to accomplish your purpose
is maintained in the database in a form so that you can get to it through
the object model, which is documented. The system tables are undocumented,
and they are undocumented for a reason -- they may change. It is possible
that there was no change to system tables between Access 2002 and 2003,
because there were very few Access-specific changes. But there has been some
change to System Tables between every other pair of Access releases. Thus,
I'd suggest you study the Object Model, Collections, Containers, and
Properties.

Given the many and dramatic changes between Access 2003 and 2007, I would
expect equally many and dramatic changes in the System Tables.

But, if you want to know what is in MSysACES, here's some code that's a
start. Note that I accessed the TableDef, its Fields collection, and the
Properties of the Fields using Data Access Objects code, using the Object
Model, NOT by reading the MSysACES table directly. (No, I can't view
MSysACES in the UI, either... I get the same message box about permissions
that you do.) For what you want to do, it's not important that you be able
to view that table in the user interface, only that you be able to obtain
the data from it. You can, instead of using Debug.Print to print to the
Immediate Window, define tables and save the data in tables that will be
simpler to use for reporting, etc. You are on your own to determine what
the Fields are used for, and what those Properties mean. I haven't included
the step where I determined what the Properties of the Properties of a Field
were, and you can copy/modify some of the code to get the Properties of the
Properties of the Properties (I note there are 4, in all cases here).

Sub ShowTable()

Dim db As DAO.Database
Dim td As DAO.TableDef
Dim fld As DAO.Field
Dim prop As DAO.Property
Set db = CurrentDb
For Each td In db.TableDefs
If td.Name = "MSysACES" Then
Debug.Print "Table " & td.Name
For Each fld In td.Fields
Debug.Print " Field " & fld.Name, "Props " &
fld.Properties. Count
For Each prop In fld.Properties
Debug.Print " " & prop.Name; ": type " &
prop.Type; "; inherited " & prop.Inherited; "; with ";
prop.Properties .Count; " properties "
Next
Next
End If
Next
Set db = Nothing
End Sub

Do you intend to go into competition with FMS? What you are trying to
accomplish sounds much like some of their Access tools, or some from
mztools, or some freeware that MVP Jeff Conrad has available on his website
at http://home.bendbroadband.com/conrad...essjunkie.html. If you
aren't planning on selling this application, perhaps you can save yourself a
lot of trouble by looking into what's already available.

Larry Linson
Microsoft Access MVP

Dec 6 '06 #4
Thanks, Larry.

Looks as if I am trying to re-invent the wheel.

Code works a treat though

Phil

Will have a good loo
"Larry Linson" <bo*****@localh ost.notwrote in message
news:8wqdh.2147 $5D1.497@trnddc 06...
"Phil Stanton" wrote
>>I have created a database that analyses other databases - for example it
will tell you where all the queries are used (eg forms, reports, and as
subqueries, combo boxes etc)

It will tell you where all the forms are used (possibly as subforms) and
what queries or SQLs are used in them (eg as a source of a combo box).

It will tell you all the source of all the components of say a form
(queries, tables, subforms etc)

Most of the information is extracted from the hidden tables, but I am
trying to find out where the information on form, query report and table
properties are hidden

Phil

Most, probably all, of the information you need to accomplish your purpose
is maintained in the database in a form so that you can get to it through
the object model, which is documented. The system tables are undocumented,
and they are undocumented for a reason -- they may change. It is possible
that there was no change to system tables between Access 2002 and 2003,
because there were very few Access-specific changes. But there has been
some change to System Tables between every other pair of Access releases.
Thus, I'd suggest you study the Object Model, Collections, Containers, and
Properties.

Given the many and dramatic changes between Access 2003 and 2007, I would
expect equally many and dramatic changes in the System Tables.

But, if you want to know what is in MSysACES, here's some code that's a
start. Note that I accessed the TableDef, its Fields collection, and the
Properties of the Fields using Data Access Objects code, using the Object
Model, NOT by reading the MSysACES table directly. (No, I can't view
MSysACES in the UI, either... I get the same message box about permissions
that you do.) For what you want to do, it's not important that you be able
to view that table in the user interface, only that you be able to obtain
the data from it. You can, instead of using Debug.Print to print to the
Immediate Window, define tables and save the data in tables that will be
simpler to use for reporting, etc. You are on your own to determine what
the Fields are used for, and what those Properties mean. I haven't
included the step where I determined what the Properties of the Properties
of a Field were, and you can copy/modify some of the code to get the
Properties of the Properties of the Properties (I note there are 4, in all
cases here).

Sub ShowTable()

Dim db As DAO.Database
Dim td As DAO.TableDef
Dim fld As DAO.Field
Dim prop As DAO.Property
Set db = CurrentDb
For Each td In db.TableDefs
If td.Name = "MSysACES" Then
Debug.Print "Table " & td.Name
For Each fld In td.Fields
Debug.Print " Field " & fld.Name, "Props " &
fld.Properties. Count
For Each prop In fld.Properties
Debug.Print " " & prop.Name; ": type " &
prop.Type; "; inherited " & prop.Inherited; "; with ";
prop.Properties .Count; " properties "
Next
Next
End If
Next
Set db = Nothing
End Sub

Do you intend to go into competition with FMS? What you are trying to
accomplish sounds much like some of their Access tools, or some from
mztools, or some freeware that MVP Jeff Conrad has available on his
website at http://home.bendbroadband.com/conrad...essjunkie.html.
If you aren't planning on selling this application, perhaps you can save
yourself a lot of trouble by looking into what's already available.

Larry Linson
Microsoft Access MVP

Dec 6 '06 #5

"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:45******** **************@ ptn-nntp-reader02.plus.n et...
Thanks, Larry.

Looks as if I am trying to re-invent the wheel.

Code works a treat though

Phil
You're welcome.

Sometimes it's fun (at least, interesting) to get down to the "brass tacks."

The first "running of the collections and containers" that I did was back in
early Access days before any of these tools were available or, at least,
before I was aware of any of them. If nothing else, it's interesting to do
enough to understand "How did they do that?"

Larry Linson
Microsoft Access MVP

Dec 8 '06 #6
Have had a quick look at FMS Demo OK, but the thing I have written shows the
relationship between objects, eg where subforms are used.

For example FMS say on their Northwind Db that the Customer Order form
contains Customer Orders Subform1 and Customer Orders Subform2. My effort
shows that Customer Orders Subform1 is used in Customer Order form.
Particularly useful in detecting queries that are not used.

Phil
"Larry Linson" <bo*****@localh ost.notwrote in message
news:fg2eh.3518 $hh.2392@trnddc 01...
>
"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:45******** **************@ ptn-nntp-reader02.plus.n et...
>Thanks, Larry.

Looks as if I am trying to re-invent the wheel.

Code works a treat though

Phil

You're welcome.

Sometimes it's fun (at least, interesting) to get down to the "brass
tacks."

The first "running of the collections and containers" that I did was back
in early Access days before any of these tools were available or, at
least, before I was aware of any of them. If nothing else, it's
interesting to do enough to understand "How did they do that?"

Larry Linson
Microsoft Access MVP

Dec 8 '06 #7
My recollection, from the last time I looked at TAA, was that there are more
options than I cared to try to remember. Thus, there _may_ be a report, or
option, to do what you want, even if it is not the "default."

But, they may not have a report, or option, to show all objects in the way
that you want to see them -- did you look at the code at Jeff Conrad's site?

Larry Linson
Microsoft Access MVP

"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:45******** **************@ ptn-nntp-reader02.plus.n et...
Have had a quick look at FMS Demo OK, but the thing I have written shows
the relationship between objects, eg where subforms are used.

For example FMS say on their Northwind Db that the Customer Order form
contains Customer Orders Subform1 and Customer Orders Subform2. My effort
shows that Customer Orders Subform1 is used in Customer Order form.
Particularly useful in detecting queries that are not used.

Phil
"Larry Linson" <bo*****@localh ost.notwrote in message
news:fg2eh.3518 $hh.2392@trnddc 01...
>>
"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:45******* *************** @ptn-nntp-reader02.plus.n et...
>>Thanks, Larry.

Looks as if I am trying to re-invent the wheel.

Code works a treat though

Phil

You're welcome.

Sometimes it's fun (at least, interesting) to get down to the "brass
tacks."

The first "running of the collections and containers" that I did was back
in early Access days before any of these tools were available or, at
least, before I was aware of any of them. If nothing else, it's
interesting to do enough to understand "How did they do that?"

Larry Linson
Microsoft Access MVP


Dec 8 '06 #8
The information on Jeff Conrad's site indicates that as with FMS the
principal is "here is an object and this is what is in it" as opposed to
"here is an object and this is where it's used"

Can't be sure of my facts as the demo program has a number of restrictions
and I cant afford £150 ( even with the good $ to £ rate)

Phil

"Larry Linson" <bo*****@localh ost.notwrote in message
news:%P4eh.242$ 7h.117@trnddc02 ...
My recollection, from the last time I looked at TAA, was that there are
more options than I cared to try to remember. Thus, there _may_ be a
report, or option, to do what you want, even if it is not the "default."

But, they may not have a report, or option, to show all objects in the way
that you want to see them -- did you look at the code at Jeff Conrad's
site?

Larry Linson
Microsoft Access MVP

"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:45******** **************@ ptn-nntp-reader02.plus.n et...
>Have had a quick look at FMS Demo OK, but the thing I have written shows
the relationship between objects, eg where subforms are used.

For example FMS say on their Northwind Db that the Customer Order form
contains Customer Orders Subform1 and Customer Orders Subform2. My effort
shows that Customer Orders Subform1 is used in Customer Order form.
Particularly useful in detecting queries that are not used.

Phil
"Larry Linson" <bo*****@localh ost.notwrote in message
news:fg2eh.351 8$hh.2392@trndd c01...
>>>
"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in message
news:45****** *************** *@ptn-nntp-reader02.plus.n et...
Thanks, Larry.

Looks as if I am trying to re-invent the wheel.

Code works a treat though

Phil

You're welcome.

Sometimes it's fun (at least, interesting) to get down to the "brass
tacks."

The first "running of the collections and containers" that I did was
back in early Access days before any of these tools were available or,
at least, before I was aware of any of them. If nothing else, it's
interesting to do enough to understand "How did they do that?"

Larry Linson
Microsoft Access MVP



Dec 8 '06 #9
"Phil Stanton" <ph**@stantonfa mily.co.ukwrote in
news:45******** **************@ ptn-nntp-reader02.plus.n et:
The information on Jeff Conrad's site indicates that as with FMS
the principal is "here is an object and this is what is in it" as
opposed to "here is an object and this is where it's used"
Have you considered that for about $100 you could get SpeedFerret to
do all of this for you?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 8 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8986
by: Gunnar | last post by:
Hello, I've just written a CPP program that reads integers from a binary file, and used this code while (my_ifstram.read( (char* ) &number, sizeof(int)) { // do something with number } My question is now, where can I find a manual that describes what the read method does with the ifstream object? I'm sitting here with my Linux/Debian machine, but I have not found any
11
12690
by: Markus Breuer | last post by:
I have a question about oracle commit and transactions. Following scenario: Process A performs a single sql-INSERT into a table and commits the transaction. Then he informs process B (ipc) to read the new date. So process B starts "select ..." but does not get the previously inserted row. The timespan between commit and select is very short. (NOTE: two different sessions are used) Questions: 1.) Does commit when returning from call...
12
11641
by: Steven T. Hatton | last post by:
I know of a least one person who believes std::ifstream::read() and std::ofstream::write() are "mistakes". They seem to do the job I want done. What's wrong with them. This is the code I currently have as a test for using std::ifstream::read(). Is there anything wrong with the way I'm getting the file? #include <vector> #include <iomanip> #include <fstream> #include <iostream>
2
3072
by: Sandman | last post by:
Just looking for suggestion on how to do this in my Web application. The goal is to keep track of what a user has and hasn't read and present him or her with new material I am currently doing this by aggregating new content from all databases into a single indexed database and then saving a timestamp in the account database (for the current user) that tells me when the user last read items in the aggregated database.
1
6163
by: Poplar Reader | last post by:
Following a crash while using one of out Microsoft Access databases, the following message appears everytime we try to open it. "The Microsoft Jet Database engine could not find the object 'MSysACEs'. Make sure the object exists and that you spell its name and path name correctly." Any idea how I can reinstall, repair locate this file again? Other Access databases run fine from the same PC, and the error message appears on other...
6
2661
by: BBM | last post by:
I have an object that has a fairly complex construction sequence, so I have written a dedicated "factory" class that invokes the constructor of my object class (which does nothing but instantiate the object and set default blank/null values), and then does all the Db access and number crunching to populate the new object. The factory returns the fully populated object to the caller. All the fields in the object are private, but have...
1
3989
by: Jose Reckoner | last post by:
I'm running python 2.3 on Windows XP. Anyone have a quick small script to convert .DT1 and .DEM data to ASCII or some other format? I don't need a viewer. Thanks!
0
4714
by: phplasma | last post by:
Hey, I am currently attempting to implement a multi-threaded C# socket, using SSL (.pem file/certification/private key combo) server using Visual Studio C# Express. I have successfully made the client application establish a connection, and send data, which appears in plain, de-crypted text on the server - this works.
1
9379
by: Paul H | last post by:
Each time I run the user-level security wizard to create an mdw for my database I have noticed the following issue... Once I have run the wizard, I close the database and open the .mdw file I have created. As soon as I open the .mdw file I get the following two messages: Record(s) cannot be read; no read permission on 'MSysObjects' I click OK and then I see the second message...
0
7971
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7893
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8259
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6698
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5436
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3932
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2408
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1243
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.