Dates as Foreign Keys

reliza123

New Member
Joined
Jul 13, 2015
Messages
4
I have a bunch of projects with different future predicted status phases. The dates of these phases are stored as foreign keys, that link to a 'date table'. I am trying to create a report that shows the name of each project in each row, a few bits of information like funding and then where the predicted phases land in a table of dates as the column headers (see sample). How do I create this Query so that it runs and pops in the report ?
Thank You.
 
Last edited:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I would think the tProjects table would NOT be keyed on date, but rather the PROJECT name.
tProjects
========
[Project], [ProjDate],[ProjDescr]
then

tTasks
=========
[TaskID], [Project],[TaskDate],[TaskDescr]

you can join the 2 on Project and print the report sorted by Date
 
Upvote 0
Using Dates as keys is just plain nasty. However what's the problem that you're actually having? Having a date as a foreign key is odd, but it shouldn't make a difference to the query
 
Upvote 0

Forum statistics

Threads
1,221,848
Messages
6,162,406
Members
451,762
Latest member
Brainsanquine

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top