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

make database

Hopefully this is the right group to ask. I am new to databases and I want
to build a database to record maintenance for my car to learn with. I would
appreciate any suggestions for fields to use for information I should
capture and should I make multiple tables or just one? Information pointing
me in a direction of ideas would be appreciated.

Thanks.
May 19 '06 #1
3 1622
On Fri, 19 May 2006 22:45:03 GMT, "Jerry" <no*******@houston.rr.com>
wrote:

File > New
Check out the various template databases available. With Access 2003
there also are templates online. One of them may suit your needs or
could be used as a starting point.

-Tom.
Hopefully this is the right group to ask. I am new to databases and I want
to build a database to record maintenance for my car to learn with. I would
appreciate any suggestions for fields to use for information I should
capture and should I make multiple tables or just one? Information pointing
me in a direction of ideas would be appreciated.

Thanks.


May 20 '06 #2
Hi Jerry,

The database may be fairly simple. For a start, one table would be enough.

Table: CarMaintenance
FIELDS:
MaintenanceDate (primary key)
Mileage
Garage
Cost
PeriodicMaintenanceType
Trouble description (memo field)
Work description (memo field)

But you could make it a lot more complex.

For example, you could create tables describing the various periodic
maintenance types:

TABLE:
PeriodicMaintenanceTypes (alias Pmt)
For example:
Pmt1 is base periodic maintenance and includes oil change + 5 checks,
Pmt2 is intermediate periodic maintenance and includes oil chage + 25 checks
FIELDS:
PmtCode (primary key)
PmtDescription (text field)

TABLE:
Checks
lists checks that can be included in one or mare periodic maintenance type
FIELDS:
CheckCode (primary key)
CheckDescription (text field)

TABLE: PmtChecks
relates tables Pmt to Checks
FIELDS: (all in primary key)
PmtCode
CheckCode

Now include in CarMaintenance reference to Pmt table by replacing field
PeriodicMaintenanceType by PmtCode.
Then, using Tools menu, establish relations between the tables to ensure
integrity:

CarMaintenance (PmtCode) --> PeriodicMaintenanceType (PmtCode)
PeriodicMaintenanceType (PmtCode --> PmtChecks (PmtCode)
Checks (CheckCode) --> PmtChecks (CheckCode)

Have fun!

"Jerry" <no*******@houston.rr.com> a écrit dans le message de news:
PT******************@tornado.texas.rr.com...
Hopefully this is the right group to ask. I am new to databases and I want
to build a database to record maintenance for my car to learn with. I would appreciate any suggestions for fields to use for information I should
capture and should I make multiple tables or just one? Information pointing me in a direction of ideas would be appreciated.

Thanks.

May 21 '06 #3

"Michel" <mi***********@yahoo.ca> wrote in message
news:pq*********************@wagner.videotron.net. ..
Hi Jerry,

The database may be fairly simple. For a start, one table would be enough.

Table: CarMaintenance
FIELDS:
MaintenanceDate (primary key)
Mileage
Garage
Cost
PeriodicMaintenanceType
Trouble description (memo field)
Work description (memo field)

But you could make it a lot more complex.

For example, you could create tables describing the various periodic
maintenance types:

TABLE:
PeriodicMaintenanceTypes (alias Pmt)
For example:
Pmt1 is base periodic maintenance and includes oil change + 5 checks,
Pmt2 is intermediate periodic maintenance and includes oil chage + 25
checks
FIELDS:
PmtCode (primary key)
PmtDescription (text field)

TABLE:
Checks
lists checks that can be included in one or mare periodic maintenance type
FIELDS:
CheckCode (primary key)
CheckDescription (text field)

TABLE: PmtChecks
relates tables Pmt to Checks
FIELDS: (all in primary key)
PmtCode
CheckCode

Now include in CarMaintenance reference to Pmt table by replacing field
PeriodicMaintenanceType by PmtCode.
Then, using Tools menu, establish relations between the tables to ensure
integrity:

CarMaintenance (PmtCode) --> PeriodicMaintenanceType (PmtCode)
PeriodicMaintenanceType (PmtCode --> PmtChecks (PmtCode)
Checks (CheckCode) --> PmtChecks (CheckCode)

Have fun!

"Jerry" <no*******@houston.rr.com> a écrit dans le message de news:
PT******************@tornado.texas.rr.com...
Hopefully this is the right group to ask. I am new to databases and I
want
to build a database to record maintenance for my car to learn with. I

would
appreciate any suggestions for fields to use for information I should
capture and should I make multiple tables or just one? Information

pointing
me in a direction of ideas would be appreciated.

Thanks.



Ok, I am having fun. But not a lot of success. I could not find a template
that looked useful so I am starting from scratch. What I have so far is
something like this:

Table: Maintenance
ServicedBy
ServiceDate
WorkPerformed
Odometer
PartsUsed
Parts Cost

What I am thinking is I would like to list the parts individually and the
cost of each part used if more than one at time of service instead of a lump
of them in the same field. Make sense?

Thanks
May 21 '06 #4

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

Similar topics

2
by: Frans Schmidt | last post by:
I want to make a new database with several tables, so I did the following: <?php CREATE DATABASE bedrijf; CREATE TABLE werknemers (voornaam varchar(15), achternaam varchar(20), leeftijd...
7
by: WindAndWaves | last post by:
Hi Gurus I am keen to make a search page on a website, but I have absolutely zero experience with PHP. I am going to hire an expert, but I thought that it may pay to try it a bit first myself...
2
by: zahid | last post by:
Hello, Dear Friends, I have to make such type of interface,you can say it a html form. in which a admin can write arabic data and can insert that data or recordsin database in ASP. and i have to...
0
by: Federico Moschini [328594] | last post by:
I have to make difference between2 data from a table in SQL. The page is made with Frontpage, and it extracts QtaGiaCons and Quantita from table "oclrighe". I have to make Quantita -...
0
by: anuradha.k.r | last post by:
HI, I have created a database in MS access97.Also i have a program which would access the database and get me the required record and data.Later I upgraded to MS access 2000.Now I have two...
6
by: ronwer | last post by:
Hello, The title doesn't completely cover the question I have, but it's a bit more complicated problem we have. We are using a database, based on Acces, but developed by a third party...
4
by: Digital Fart | last post by:
howto make a connection to database available in my classes. What is the best practice when i want to write classes that need a connection to the database? Do i make a conn variable in my...
7
by: djc | last post by:
I have several subroutines (all inline code) that wind up using the same database connection object variable. I have been declaring a new variable in every sub. I just now came to a point where I...
3
by: LurfysMa | last post by:
I would like to hear opinions on the tradeoffs of putting the tables, forms, and queries for several related datasets in separate databases vs one combined database. I am working on an...
10
by: AA Arens | last post by:
I do have a database with customer info in it. To avoid it will be taken out of our office, is it possible to make it not-readable after a certain period? then every let say seven days, I needs to...
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: 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...
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
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
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.