473,566 Members | 3,273 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using access as a historical tracker

I am a graduate student writing a thesis on a space in Indianapolis
called the Circle.

I'm trying to figure something out that would really help me out as I
write this thing.

I would like to be able to enter in a structure, the range of dates it
existed, and the lot number (there are 19 lots around the Circle, but
I'm planning on technically counting the center Circle itself as a lot
- so 20). I would enter something like:
English Opera House; September 1880 - December 1916; Lots 17, 18, 19

Then, later one be able to type in a date and have Access show me the
entire composition of the Circle.

I've also done some elementary Access database work before, for both
business and education purposes, so I know this is possible. The trick
is working with that range of dates.

Can anyone point me in the right direction?

I should state that I know that I could easily hire an access dev to do
this, but unless I can pay in ramon noodles (or historical knowledge!)
I can't contract one. =)

Thanks for any assistance,
John Beeler

Nov 13 '05 #1
8 1619
Okay, break it down into simple sentences to describe the
relationships. then figure out how the pieces (nouns) are related.

can One structure occupy one or more lots during it's lifetime?
Each lot can contain one or more structures over time?

Sounds a bit like
CREATE TABLE Structure(
StructID LONG PRIMARY KEY,
StructName TEXT(50) NOT NULL);
CREATE TABLE LOT(
LotID LONG PRIMARY KEY,
.....);

CREATE TABLE OccupiesLot(
StructureID LONG,
LotID LONG,
BuildDate DATE,
DemolishDate DATE,
PRIMARY KEY(StructureID , LotID, BuildDate),
FOREIGN KEY (StructureID) REFERENCES Structure(Struc tureID),
(LotID) REFERENCES Lot(LotID));

This is a start - it may be different based on your rules - can two
structures share the same lot at the same time? (the alternative being
one is demolished and another built in its place?)

Nov 13 '05 #2
John Beeler,
These days I wash dishes for a meal, so working for Ramen isn't far off the
mark. My personal favorite variation is red miso, home-made chicken stock,
diced chicken breast, and diced green onions. But enough about my new
career.
The entities you mention are STRUCTURE, LOT, and DATE. With DATE there are
quite a few built in functions to manipulate dates, do calculation on them,
parse them, format them, etc. I happen to like Ralph Kimball's suggestion
that if dates & times are a major player in a database design it makes sense
to build a table with all the dates and all the elements of dates that might
be used to summarize the data--days, weeks, months, quarters, years, and
whatever all stored in a table as an end result. For STRUCTURE & LOT you
have to ask, "What is it about structures and lots I want to report on or
analyze?" This will help you work out a list of attributes (fields or
columns in the entity (table)) that you need. The last question is whether
there are numeric measures you want to analyze. Typically there is at least
a column in the fact table with the number 1 stored in it so that counting
is a matter of summing this column. I couldn't tell you why but it seems
that sums are faster than counts. Fact table? Yup. This is a table with a
single column each containing a value that matches a value in the STRUCTURE,
LOT & DATE tables which uniquely identify each structure, lot & date. This
way you can look at structures by lot & date, lot by structure & date, date
by structure & lot, etc.
Someone else posted sample SQL to build the database. I haven't done so
because that's too much like consulting and I get paid for that. Also, this
group is educational and part of being a good teacher is to give enough
material to get a student started but not enough that the job is done. It's
up to the student to finish what a teacher starts in an assignment. I've
given you enough that you could work out on paper what your tables will be
and what fields each table will have. Now it's up to you to do the rest.
I'll follow this thread and answer any more questions you have.
"John Beeler" <jo********@gma il.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
I would like to be able to enter in a structure, the range of dates it
existed, and the lot number (there are 19 lots around the Circle, but
I'm planning on technically counting the center Circle itself as a lot
- so 20). I would enter something like:
English Opera House; September 1880 - December 1916; Lots 17, 18, 19

Then, later one be able to type in a date and have Access show me the
entire composition of the Circle.

Nov 13 '05 #3
Great. Thanks for the help guys. I managed to piece one together that
does the trick. Feel free to comment:

http://portfolio.iu.edu/jwbeeler/thecircle.mdb

Now I'm working on trying to generate a report that places each lot in
the appropriate quadrant (NW, NE, SE, SW, Center). I'm going along the
line of thinking that I'll need a subreport for each quadrant. I think
I'll figure it out, but if there's a more elegant way of doing it I
won't stop you from telling me.

Again, many thanks for the help.

John

Nov 13 '05 #4
John,
It will probably be easier to choose the smallest geographic unit you want
to report on. If it's not lot, but quadrant, then build your schema around
quadrant instead of lot. Buildings will occupy a number of quadrants, then.
For reporting purposes your geographic dimension--LOT was what I suggested
will need columns that include the hierarchy in them. So, we could do
something like:
QUADRANT, LOT, BLOCK, DISTRICT, CITY, COUNTY, STATE, COUNTRY, CONTINENT in
one table as seperate columns. This way you can pretty easily examine your
data in terms of any level in the hierarchy by adding or removing columns
from this table.

"John Beeler" <jo********@gma il.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Great. Thanks for the help guys. I managed to piece one together that
does the trick. Feel free to comment:

http://portfolio.iu.edu/jwbeeler/thecircle.mdb

Now I'm working on trying to generate a report that places each lot in
the appropriate quadrant (NW, NE, SE, SW, Center). I'm going along the
line of thinking that I'll need a subreport for each quadrant. I think
I'll figure it out, but if there's a more elegant way of doing it I
won't stop you from telling me.

Again, many thanks for the help.

John

Nov 13 '05 #5
Hmm. The smallest unit is in fact lot. There are less than 20 of
them, and I'm just studying this particular place in Indianapolis so I
don't need more information than lot.

What I am trying to do in the report is present it so that I can glance
at it and know that Christ Church was directly beside, say, Marion Fire
House in 1837. Hence the quadrants. It's not exactly what I want -
with the report I'd like to be able to place each structure in the
exact lot - but I can settle for merely putting one subreport in each
of the four quadrants of the Circle.

Nov 13 '05 #6
so, if you have it, automate Visio. Build your circle with all the
lots and then drop the buildings in or rename them?

Nov 13 '05 #7
John,
Sometimes a bit of abstraction is necessary to give a client what they want.
The smallest unit may in fact be lot but if the client (you) wants to report
on a smaller unit then the database has to track whatever smaller unit is
being reported on as well as the client's stated smallest unit of lot. The
data has to be there to be able to analyze it. So this is why I suggested
increasing the grain-of-fact to a greater level of detail. If you were my
client I'd probably go ahead and build the database to support locating a
building by quadrant (It's only an additional column in one table if you
build it similar to what I suggested.) The additional disk space
requirements would be minimal and the cheapest time to do it is at this
stage when things are still being hashed out in a prototype.
So my workaround would be to include quadrants in my schema and make sure I
had a table which mapped the hierarchy of quadrant, lot, neighborhood, etc.
You've piqued my interest with this one. I hope you are able to put
something together that helps.
"John Beeler" <jo********@gma il.com> wrote in message
news:11******** **************@ l41g2000cwc.goo glegroups.com.. .
Hmm. The smallest unit is in fact lot. There are less than 20 of
them, and I'm just studying this particular place in Indianapolis so I
don't need more information than lot.

What I am trying to do in the report is present it so that I can glance
at it and know that Christ Church was directly beside, say, Marion Fire
House in 1837. Hence the quadrants. It's not exactly what I want -
with the report I'd like to be able to place each structure in the
exact lot - but I can settle for merely putting one subreport in each
of the four quadrants of the Circle.

Nov 13 '05 #8
Piet Linden,
Clever. I thought of something similar using Map Point. I'd still want the
database as part of the solution, though.
<pi********@hot mail.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
so, if you have it, automate Visio. Build your circle with all the
lots and then drop the buildings in or rename them?

Nov 13 '05 #9

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

Similar topics

1
3129
by: rottytooth | last post by:
A general data design question: We have data which changes every week. We had considered seperating historical records and current records into two different tables with the same columns, but thought it might be simpler to have them all together in one table and just add a WeekID int column to indicate which week it represents (and perhaps...
6
1675
by: MaRcElO PeReIrA | last post by:
Hi guys, Do you know any web based bug tracker software that use PostgreSQL??? Somebody has told me about Mantis, but it use MySQL... and I resign to use that! :( Which is the best bug tracker you know???(PHP+PostgreSQL)
0
1319
by: Showjumper | last post by:
I set up a download tracker. When i first tested it, all was fine. However as i just found out via an email, the zip file is corrupt. Folks can download the file but it just cant be opened. The download code appears to work fine as far as logging the user and sending the file (as far as i can tell) but my guess is that there is a problem with...
1
3114
by: CS Wong | last post by:
Hi, I have a page form where form elements are created dynamically using Javascript instead of programatically at the code-behind level. I have problems accessing the dynamically-created elements and would like to seek a solution for this. I had looked through several articles for accessing programatically-created dynamic elements such...
11
4937
by: ritenah | last post by:
I am running this command from a .bat file. "C:\pathToAccess\MSACCESS.EXE" "C:\pathToDatabase\db.mdb" /REPAIR Database repairs as expected, then shows the messge: "Successfully repaired the ..." and you have to click "Ok" to get rid of the message so that the database can close. How does one suppress this message, so that the database...
158
6313
by: Giovanni Bajo | last post by:
Hello, I just read this mail by Brett Cannon: http://mail.python.org/pipermail/python-dev/2006-October/069139.html where the "PSF infrastracture committee", after weeks of evaluation, recommends using a non open source tracker (called JIRA - never heard before of course) for Python itself. Does this smell "Bitkeeper fiasco" to anyone...
1
1594
by: bcannon | last post by:
At the beginning of the month the PSF Infrastructure committee announced that we had reached the decision that JIRA was our recommendation for the next issue tracker for Python development. Realizing, though, that it was a tough call between JIRA and Roundup we said that we would be willing to switch our recommendation to Roundup if enough...
1
1705
by: zig158 | last post by:
I am in the early stages of creating a Hamachi like peer-to-peer VPN application that has the ease of use of Hamachi with the flexibility of OpenVPN. Hamachi is nice but is to limited and not open source. OpenVPN is overly complicated to set up for the home user. I hope to fix that. It is pointless to reinvent the weal, so I plan on letting...
0
1068
by: Sells, Fred | last post by:
I've been tasked with either implementing Request-Tracker to upgrade our help desk issue tracking system or finding a Python equivalent (both in terms of functionality and wide spread use). Request-Tracker uses Apache and MySQL, which would also be appropriate to Python. I would prefer to go the Python route, especially since Request-Tracker...
0
7673
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...
0
7584
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...
0
7893
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8109
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7645
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7953
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...
1
5485
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...
0
5213
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...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...

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.