473,414 Members | 1,757 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,414 software developers and data experts.

How to find out how an Access table was made?

Hello,

Is it possible to find out how a table in Access was made? Especially
if it was made by a make-table query?

I have inherited a large database with close to a hundred queries and
tables. I am trying to make sense of it all

Thanks in advance.

Jun 9 '06 #1
4 2506
Can't think of any audit trail that would reveal that, but I'll bite: How
would knowing how a table was created help you make sense of things?
Anything related to "these are permanent application tables, while these
other ones are recreated on the fly"?
Jun 9 '06 #2
There are a couple tables that have strange data in them. I'm not sure
whether this data was taken from an already existing table (via a make
table query) or if it was manually created. It would save me lots of
time if I could find out.

Rick Wannall wrote:
Can't think of any audit trail that would reveal that, but I'll bite: How
would knowing how a table was created help you make sense of things?
Anything related to "these are permanent application tables, while these
other ones are recreated on the fly"?


Jun 9 '06 #3
Two things come to mind:

Search through modules using CTRL-F to find either table name.

Or use

SELECT o.Name, q.Expression, q.Name1, q.Name2
FROM msysobjects AS o INNER JOIN msysqueries AS q ON o.Id = q.ObjectId
WHERE (((o.Name) Not Like "~*") AND ((q.Expression) Like "*mytablename*"))
OR (((o.Name) Not Like "~*") AND ((q.Name1) Like "*mytablename*")) OR
(((o.Name) Not Like "~*") AND ((q.Name2) Like "*mytablename*"));

IF the table name pops up in any of the query text you could examine that
query to see what it's doing.
Jun 9 '06 #4
Brilliant! The SQL gave me some valuable clues. Thanks so much!
Rick Wannall wrote:
Two things come to mind:

Search through modules using CTRL-F to find either table name.

Or use

SELECT o.Name, q.Expression, q.Name1, q.Name2
FROM msysobjects AS o INNER JOIN msysqueries AS q ON o.Id = q.ObjectId
WHERE (((o.Name) Not Like "~*") AND ((q.Expression) Like "*mytablename*"))
OR (((o.Name) Not Like "~*") AND ((q.Name1) Like "*mytablename*")) OR
(((o.Name) Not Like "~*") AND ((q.Name2) Like "*mytablename*"));

IF the table name pops up in any of the query text you could examine that
query to see what it's doing.


Jun 9 '06 #5

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

Similar topics

16
by: Justin Hoffman | last post by:
This is a question concerning query optimisation. Sorry if it's a bit long, but thanks to anyone who has the patience to help - This is my first post here... If I have two tables:...
2
by: Daniel | last post by:
I use an Access database to basically take data exports, import them, manipulate the data, and then turn them into exportable reports. I do this using numerous macros, and queries to get the data...
8
by: jquest | last post by:
Hi Again; I have had help from this group before and want to thank everyone, especially PCDatasheet. My database includes a field called HomePhone, it uses the (xxx)xxx-xxx format to include...
2
by: dskillingstad | last post by:
I'm building a tracking system and I'm having some problems. I thought this was relatively easy, but.... I have the following tables and fields (abbreviated): tblPermitMain PermitID - pk...
2
by: ghadley_00 | last post by:
Hi, Is there a way to have the labels in a MS access database switchboard dynamically generated based on values in a table? I have a table of items (let's call it table Main) , each of which is...
7
by: john | last post by:
In my form I have a master table and a details table linked 1xM. I can search through the whole parent table but I also like to be able to search through the child table fields to find parent...
0
by: ramyareddy | last post by:
Hi All, i am using mssql 2005 and i am facing a strange problem. i have two databases A , B.When i try to insert one row in A from my application it is inserting the row but after that it is...
10
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes Thank you for that. It was very...
1
by: mikerudy | last post by:
I have an 3rd-party application that uses a SQL back-end, but uses Access 2000 (linked tables all using the same DSN) as an intermediary. We recently upgraded from SQL 7 to SQL 2005, which went...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...
0
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...

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.