[mso] Re: Database Integrity

Hello Peter,

I am using MS Access 2000
In Design Phase (paper/pencil) and some "playing" with tables/queries with
dummy data
What I am wanting to "see" are different options I may have to protecting
the integrity of the relationships (data) but enable the addition of new
vehicles using same identifying label.

I really think the VIN # may be the solution (and actually a value added
feature).
Another option may be to combine the vehicle # with the DateAdded (to school
fleet of vehicles) as the Primary Key.

Part of what I am pleased with is that I actually recognized that this may
cause future problems before I put a lot of computer time in.



Best regards,

Carol Parent
info@xxxxxxxxxxxxxxx
http://www.carolparent.net

I finally got it all together...
I just wish I could remember where I set it down.

-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx]On
Behalf Of Peter Chiavaro
Sent: Monday, April 29, 2002 12:38 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Database Integrity



Hi Carol,

   I hope we can assume this is an MS Access database?

What Version of Access are you using? And how far along are you in the =
data that has been entered? In other words, is the database still in its =
design mode or do you already have data in the tables?

This is tuffy, but in order to help you better, I've got to know what =
you've done so far.

The only way I know of to get around the problem is to create a table =
that might look something like this:

VehicleID (autonumber)
SchoolVehicleID (indexed - Duplicates ok)
Make
Model
Actual Serial Number
Color
(and everything else the car CAN ONLY HAVE ONE OF)

For example, a car can only be one Make. It CANNOT be a Chevy and a =
Dodge at the same time. It can only have 1 VIN, and it can only be one =
model.


This table will be at the top level. Every time the school buys a new =
car, you would add it to this table.

>From here on, every time you add a vehicle it will have a new VehicleID, =
but you can assign the same SchoolVehicleID.

Cheezz,,, I could lay out these tables for you in 2 minutes, but it =
would take me an hour's worth of typing to explain it.

If you email me at my address below, I'll return a sample layout. Just =
let me know what version of Access you are using, and if you already =
have data in the tables. If you already have data, then the procedure =
might be a little tricky. If you're just starting to build the =
foundation, then it's a piece a cake.

I am by no means an Access wizard, but stuff like this I can handle with =
ease.

Peter C.
Stuart, Florida
Kp@xxxxxxxx
-_-_-_-_-_-_-_-_-
ICQ =3D 412633



-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx]On =
Behalf Of Carol Parent
Sent: Monday, April 29, 2002 12:34 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Database Integrity


Hello,

I have a question concerning Database Integrity.  I hope this is an
applicable topic.  If not please advise.

I am creating a database of Vehicles/Activities/MilesDriven/FuelUsed for =
our
local school system.  I need to be able to track which vehicle goes on =
what
activity and track the amount of miles being racked up on the vehicles.

Now that is not a big deal BUT when the school purchases a NEW vehicle =
they
replace an old vehicle giving it the same number.  How can I protect the
data integrity (i.e., relationship between =
vehicles/milesdriven/activity)
but use the SAME NUMBER to identify a different vehicle?

I am not very proficient with databases so am taking this very slowly as =
to
hopefully not muck it up to much.

Thanks very much for any advice/responses you may offer.

Best regards,

Carol Parent
info@xxxxxxxxxxxxxxx
http://www.carolparent.net

I finally got it all together...
I just wish I could remember where I set it down.

-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx]On
Behalf Of James LaBorde
Sent: Monday, April 29, 2002 11:24 AM
To: 'mso@xxxxxxxxxxxxx'
Subject: [mso] Re: New to the List- Happy to be here. :VSMail MX2



Peter,

Good to see another Access person here.

James

-----Original Message-----
From: Peter Chiavaro [mailto:kp@xxxxxxxx]
Sent: Saturday, April 27, 2002 8:45 AM
To: mso@xxxxxxxxxxxxx
Subject: [mso] New to the List- Happy to be here. :VSMail MX2



Hello Fellow Office Dweebs,

This is my first post. (Hi Linda, Hi Dian).

I am proficient with MS Access. I don't write code, but I can do
just about everything else. Perhaps I can answer some of the basic
MS Access questions / problems.

More Later.

Peter C.
Equine Cooling Technician
Alex Campbell Racing Stables
Payson Park
Indiantown, FL



*************************************************************
PLEASE READ!!!!

This is not S*P*A*M!  You are receiving this mail because you either
subscribed to mso@xxxxxxxxxxxxx or to it's earlier version,
MicrosoftOffice@xxxxxxxxxxxxxxxx

To Unsubscribe from this group, send an email to =
mso-request@xxxxxxxxxxxxx
with a subject line that says "unsubscribe" (without the quotes).  Do =
not
put unsubscribe IN CAPS.  Screaming doesn't get you out any faster and =
the
caps prevent the function from working.

To change your email settings to digest or vacation (no mail), visit the
group's homepage for full instructions.

http://www.freelists.org/webpage/mso
*************************************************************
*************************************************************
PLEASE READ!!!!

This is not S*P*A*M!  You are receiving this mail because you either
subscribed to mso@xxxxxxxxxxxxx or to it's earlier version,
MicrosoftOffice@xxxxxxxxxxxxxxxx

To Unsubscribe from this group, send an email to =
mso-request@xxxxxxxxxxxxx
with a subject line that says "unsubscribe" (without the quotes).  Do =
not
put unsubscribe IN CAPS.  Screaming doesn't get you out any faster and =
the
caps prevent the function from working.

To change your email settings to digest or vacation (no mail), visit the
group's homepage for full instructions.

http://www.freelists.org/webpage/mso
*************************************************************

*************************************************************
PLEASE READ!!!!

This is not S*P*A*M!  You are receiving this mail because you either =
subscribed to mso@xxxxxxxxxxxxx or to it's earlier version, =
MicrosoftOffice@xxxxxxxxxxxxxxxx

To Unsubscribe from this group, send an email to =
mso-request@xxxxxxxxxxxxx with a subject line that says "unsubscribe" =
(without the quotes).  Do not put unsubscribe IN CAPS.  Screaming =
doesn't get you out any faster and the caps prevent the function from =
working.

To change your email settings to digest or vacation (no mail), visit the =
group's homepage for full instructions.

http://www.freelists.org/webpage/mso
*************************************************************=20

*************************************************************
PLEASE READ!!!!

This is not S*P*A*M!  You are receiving this mail because you either
subscribed to mso@xxxxxxxxxxxxx or to it's earlier version,
MicrosoftOffice@xxxxxxxxxxxxxxxx

To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx
with a subject line that says "unsubscribe" (without the quotes).  Do not
put unsubscribe IN CAPS.  Screaming doesn't get you out any faster and the
caps prevent the function from working.

To change your email settings to digest or vacation (no mail), visit the
group's homepage for full instructions.

http://www.freelists.org/webpage/mso
*************************************************************

*************************************************************
PLEASE READ!!!!

This is not S*P*A*M!  You are receiving this mail because you either subscribed 
to mso@xxxxxxxxxxxxx or to it's earlier version, 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with 
a subject line that says "unsubscribe" (without the quotes).  Do not put 
unsubscribe IN CAPS.  Screaming doesn't get you out any faster and the caps 
prevent the function from working.

To change your email settings to digest or vacation (no mail), visit the 
group's homepage for full instructions.

http://www.freelists.org/webpage/mso
*************************************************************

Other related posts: