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  

Suggestion on table design



 
 
Thread Tools Display Modes
  #1  
Old August 8th, 2009, 05:02 AM posted to microsoft.public.access.tablesdbdesign
SF[_4_]
external usenet poster
 
Posts: 18
Default Suggestion on table design

Hi,

I have a small database for storing workplan of aroung 40 partners..

The speadsheet look like the following

No Main Activities June W1 June W2 June W3 June W4
July W1 July W2 July W3 Juky W4


Among the main activites, I have Activity category that work as a header of
a group of activity.


My problem is how do I design table to accomodate the scheduling week (eg
June W1 June W2 June W3 June W4 July W1 July W2 July W3
....)

Would the table structure below good enough for the said condition above?

tblActivity
ActivityID PK Auto Number
Activity_Name Text

tblActivityDetail
ActivityDetailID PK Auto Number
ActivyID FK
ActivityDetailName Text
ActivityComment Text

tblActivitySchedule
SchedukleID PK Auto Number
ActivityDeatailID FK Number
ActivytyScheduleID Number

lookupScheduleTable

ScheduleID PK Auto Number
Schedule Name text = June W1 June W2 June W3 ....=
need to find a quick way to fill table with week of the month for each given
year


SF


  #2  
Old August 10th, 2009, 06:15 PM posted to microsoft.public.access.tablesdbdesign
Dale Fye
external usenet poster
 
Posts: 2,651
Default Suggestion on table design

How are you determining what the column headers should be? As an example, if
the month begins on a Wed, is that week June W5 or is it July W1?

----
Dale



"SF" wrote:

Hi,

I have a small database for storing workplan of aroung 40 partners..

The speadsheet look like the following

No Main Activities June W1 June W2 June W3 June W4
July W1 July W2 July W3 Juky W4


Among the main activites, I have Activity category that work as a header of
a group of activity.


My problem is how do I design table to accomodate the scheduling week (eg
June W1 June W2 June W3 June W4 July W1 July W2 July W3
....)

Would the table structure below good enough for the said condition above?

tblActivity
ActivityID PK Auto Number
Activity_Name Text

tblActivityDetail
ActivityDetailID PK Auto Number
ActivyID FK
ActivityDetailName Text
ActivityComment Text

tblActivitySchedule
SchedukleID PK Auto Number
ActivityDeatailID FK Number
ActivytyScheduleID Number

lookupScheduleTable

ScheduleID PK Auto Number
Schedule Name text = June W1 June W2 June W3 ....=
need to find a quick way to fill table with week of the month for each given
year


SF



  #3  
Old August 10th, 2009, 06:19 PM posted to microsoft.public.access.tablesdbdesign
Fred
external usenet poster
 
Posts: 1,451
Default Suggestion on table design


Hello SF,

I noticed that nobody answered.

In essence, you just posted an attempted answer instead of the needed facts
of the question.

You are going to have to describe the real-world situation and entities that
you want to database.

Hope that helps a little.

Fred

  #4  
Old August 18th, 2009, 02:01 AM posted to microsoft.public.access.tablesdbdesign
SF[_4_]
external usenet poster
 
Posts: 18
Default Suggestion on table design

Dale thank you for your input. I want the header to display July W1.

I am also concern that report from crosstab may not have the exact column
name for each schedule.

SF

"Dale Fye" wrote in message
...
How are you determining what the column headers should be? As an example,
if
the month begins on a Wed, is that week June W5 or is it July W1?

----
Dale



"SF" wrote:

Hi,

I have a small database for storing workplan of aroung 40 partners..

The speadsheet look like the following

No Main Activities June W1 June W2 June W3 June W4
July W1 July W2 July W3 Juky W4


Among the main activites, I have Activity category that work as a header
of
a group of activity.


My problem is how do I design table to accomodate the scheduling week (eg
June W1 June W2 June W3 June W4 July W1 July W2 July W3
....)

Would the table structure below good enough for the said condition above?

tblActivity
ActivityID PK Auto Number
Activity_Name Text

tblActivityDetail
ActivityDetailID PK Auto Number
ActivyID FK
ActivityDetailName Text
ActivityComment Text

tblActivitySchedule
SchedukleID PK Auto Number
ActivityDeatailID FK Number
ActivytyScheduleID Number

lookupScheduleTable

ScheduleID PK Auto Number
Schedule Name text = June W1 June W2 June W3 ....=
need to find a quick way to fill table with week of the month for each
given
year


SF





 




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 02:58 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.