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  

Relationships in tables



 
 
Thread Tools Display Modes
  #1  
Old September 19th, 2007, 10:00 PM posted to microsoft.public.access.tablesdbdesign
Sherry
external usenet poster
 
Posts: 225
Default Relationships in tables

I have a main table that when you open-you can open other info with the +. I
have the main table with one to one relationship to each table such as:
Main table - 2006 info - 2005 info - 2004 info.
I added a new table with 2007 info and linked it in the relationship window
like:
Main table - 2007 info - 2006 info - 2005 info - 2004.
However, when I open my main table and hit the + the 2006 table opens not
the 2007. Help!
  #2  
Old September 20th, 2007, 12:14 AM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Relationships in tables

Sherry

Access is a relational database. The data structure you've described sounds
like ... a spreadsheet!

In Access, you wouldn't create a table for each year's data (this is
embedding data in table names, a no-no). Instead, you'd have ONE table with
your data, and add a single additional field to hold "FiscalYear". In fact,
depending on what kind of data you are talking about, you might have
"TransactionDate" (instead of a whole-year value).

In Access, it all starts with the data. We aren't there, so we don't have
any idea what data you are working with. If you'll provide a bit more
specific description, folks may be able to offer a bit more specific
suggestions.

And by the way, if you are working directly in the tables rather than via
forms, that, too, is very spreadsheetly. Tables store data, but forms
display it, in Access.

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Sherry" wrote in message
...
I have a main table that when you open-you can open other info with the +.
I
have the main table with one to one relationship to each table such as:
Main table - 2006 info - 2005 info - 2004 info.
I added a new table with 2007 info and linked it in the relationship
window
like:
Main table - 2007 info - 2006 info - 2005 info - 2004.
However, when I open my main table and hit the + the 2006 table opens not
the 2007. Help!



 




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:42 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.