A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Basic Layout and Design Help



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2010, 05:33 AM posted to microsoft.public.access.tablesdbdesign
.:RoKsTaR:.[_2_]
external usenet poster
 
Posts: 39
Default Basic Layout and Design Help

Hello again I should have bookmarked my last thread so I could add to it :P

Here goes again

Ok this is what I have so far How's it look?

address - addressid, address, city, province, postalcode
phone- phoneid, phonenum, extension, phlocation
email - emailid email, emailLocation
webidentity – webidentityid, imaccount1, imaccount2, twitter, facebook,
linkedin, website

people – peopleid, firstname, lastname
people_address – id, peopleid, addressed
people_phone – id, peopleid, phoneid
people_email – id, peopleid, emailed
people_webidentity – id, peopled, webidentityid
relation – id, peopleid, peopleid
student – id, peopleid, lessonday, gender, age, status
guardian – id, peopleid, relationship, primarycontact (this is a yes or no
field)


Notes on this table:
I'm a music teacher who teaches an average of 50 students at a time. I'm
trying to build a database track contact info, invoice students, and track
attendance. I'm starting off with the contact portion of the database and
once that is done I'll move on to the rest.

Cheers!
  #2  
Old May 6th, 2010, 07:33 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Basic Layout and Design Help

Your [student] table raises some questions, but the rest look pretty good.

When ever I see [age] as a field, I wonder if you're willing to go back
through your table every day or so and update that field to reflect their
ages AS OF TODAY!

Also, I question [lessonday] and [status] as attributes of a person who is a
student. Will you never have more than one of these sets per student? If
you do, how do you distinguish one record from another?

(a bit more info, please...)

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

".:RoKsTaR:." wrote in message
...
Hello again I should have bookmarked my last thread so I could add to
it :P

Here goes again

Ok this is what I have so far How's it look?

address - addressid, address, city, province, postalcode
phone- phoneid, phonenum, extension, phlocation
email - emailid email, emailLocation
webidentity - webidentityid, imaccount1, imaccount2, twitter, facebook,
linkedin, website

people - peopleid, firstname, lastname
people_address - id, peopleid, addressed
people_phone - id, peopleid, phoneid
people_email - id, peopleid, emailed
people_webidentity - id, peopled, webidentityid
relation - id, peopleid, peopleid
student - id, peopleid, lessonday, gender, age, status
guardian - id, peopleid, relationship, primarycontact (this is a yes or no
field)


Notes on this table:
I'm a music teacher who teaches an average of 50 students at a time. I'm
trying to build a database track contact info, invoice students, and track
attendance. I'm starting off with the contact portion of the database and
once that is done I'll move on to the rest.

Cheers!



  #3  
Old May 6th, 2010, 10:20 PM posted to microsoft.public.access.tablesdbdesign
.:RoKsTaR:.[_2_]
external usenet poster
 
Posts: 39
Default Basic Layout and Design Help

I'm gonna change it to DOB but have a function to calculate by the date
entered whether the student is a child, adult, or teen. For adults, I'll
just enter a generic date like 01/01/1992 so they don't need to give me their
info unless they want too

Status distinguishes between current or retired student
Lesson Day just tells me which day their lesson is on. This changes
throughout the year for some students depending on their schedule

"Jeff Boyce" wrote:

Your [student] table raises some questions, but the rest look pretty good.

When ever I see [age] as a field, I wonder if you're willing to go back
through your table every day or so and update that field to reflect their
ages AS OF TODAY!

Also, I question [lessonday] and [status] as attributes of a person who is a
student. Will you never have more than one of these sets per student? If
you do, how do you distinguish one record from another?

(a bit more info, please...)

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

".:RoKsTaR:." wrote in message
...
Hello again I should have bookmarked my last thread so I could add to
it :P

Here goes again

Ok this is what I have so far How's it look?

address - addressid, address, city, province, postalcode
phone- phoneid, phonenum, extension, phlocation
email - emailid email, emailLocation
webidentity - webidentityid, imaccount1, imaccount2, twitter, facebook,
linkedin, website

people - peopleid, firstname, lastname
people_address - id, peopleid, addressed
people_phone - id, peopleid, phoneid
people_email - id, peopleid, emailed
people_webidentity - id, peopled, webidentityid
relation - id, peopleid, peopleid
student - id, peopleid, lessonday, gender, age, status
guardian - id, peopleid, relationship, primarycontact (this is a yes or no
field)


Notes on this table:
I'm a music teacher who teaches an average of 50 students at a time. I'm
trying to build a database track contact info, invoice students, and track
attendance. I'm starting off with the contact portion of the database and
once that is done I'll move on to the rest.

Cheers!



.

  #4  
Old May 6th, 2010, 11:26 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Basic Layout and Design Help

On Thu, 6 May 2010 14:20:05 -0700, .:RoKsTaR:.
wrote:

I'm gonna change it to DOB but have a function to calculate by the date
entered whether the student is a child, adult, or teen.


Agegroup: IIF(DateDiff("yyyy", [DOB], Date()) 13, "Child", DateDiff("yyyy",
[DOB], Date()) 20, "Teen", "Adult")

should do it...
--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.