Hi linronamy,
I have no idea how to design a database to provide the information I need...
You should spend some time gaining an understanding of database design and
normalization before attempting to build something in Access (or any RDBMS
software for that matter). Here are some links to get you started. Don't
underestimate the importance of gaining a good understanding of database
design. Brew a good pot of tea or coffee and enjoy reading!
http://www.datatexcg.com/Downloads/DatabaseDesignTips1997.pdf
http://www.datadynamicsnw.com/accesssig/downloads.htm
(See the last download titled "Understanding Normalization")
Also, head on over to Jeff Conrad's site. He has lots of links for database
design
http://home.bendbroadband.com/conradsystems/accessjunkie/resources.html#DatabaseDesign101
For each event there are 11 ACTIONS, each having a descriptor NAME and
ID NUMBER.
Okay, it sounds like you have a one-to-many (1:M) relationship between
Events and Actions, ie. one event may have many actions. This data should be
stored in two tables; one for events and one for actions.
The question that comes up is do you have a many-to-many relationship
between these two entities? In other words, is the following statement true
or false?
An action can apply to many events
If you answered yes, then you have a M:N relationship, which requires the
use of a third join or linking table.
By the way, NAME is a reserved word in Access. You should not use any
reserved words or special characters for things that you assign a name to in
Access. By avoiding reserved words and special characters (for example
spaces), you will automatically avoid many problems routinely encountered by
others. Here are some KB articles that should be helpful to you:
Reserved Words in Microsoft Access
http://support.microsoft.com/?id=286335
List of reserved words in Jet 4.0
http://support.microsoft.com/?id=321266
Special characters that you must avoid when you work with Access databases
http://support.microsoft.com/?id=826763
Process:
• The goal is to pick an event.
• View each action from that unique event reviewing all the name descriptors
that occurred for each action over the previous 6 years.
You should be able to display the event data in a form, with the
corresponding actions in a subform.
• Select one name and its corresponding ID number for each action.
• Print the results in a report.
Here's where it will get a bit trickier, because if you select one or more
records in a subform, and then click on a print button on the main form, the
selected records in the subform will have been lost. Try this KB article out:
How to enumerate selected form records in Access 2002
http://support.microsoft.com/?id=294202
You should be able to use VBA code to create an appropriate WhereCondition
argument for the DoCmd.OpenReport method. Try the above article out first, to
gain some practice with identifying the selected records.
Tom
http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________
:
I have no idea how to design a database to provide the information I need to
provide directions on a monthly interval from data accumulated over 6 years.
• The data includes 165 unique seasonal EVENT descriptions.
o The events occur approximately 12 times a year.
o These 12 events repeat but are different the 2nd and 3rd year and then
repeat for the next 3 years, and so on.
• For each event there are 11 ACTIONS, each having a descriptor NAME and
ID NUMBER.
Process:
• The goal is to pick an event.
• View each action from that unique event reviewing all the name descriptors
that occurred for each action over the previous 6 years.
• Select one name and its corresponding ID number for each action.
• Print the results in a report.
The data input form seems easy enough but viewing each NAME per ACTION and
selecting one of many to print in a report is where I fall apart. Any
suggestions on how to start will be greatly appreciated.