ms-access


How to structure a database to take input and assign applicable questions appropriately


I am creating a database that will feature the following information and need to accomplish the following goals.
Information:
Customer Name
e.g. "Otter's Wash Co"
Customer's Project Name. One customer could have many projects.
e.g. "Fur Shur Wash"
Project Elements with checkboxes to add them to the report. Elements may or may not apply to all projects, but the answers will be specific to each separate project.
e.g. "Bus Wash"
---Some project elements would need to have follow-up questions.
e.g. For "Bus Wash", further determine "Dropdown options: School bus, Party bus, Church bus"
Goal:
Generate a report that shows the Customer Name, Customer Project (I can do this part so far), and [a list of information based upon the Project Elements] <-- this is the part that I am struggling with how to do. Especially with how to structure the follow-up questions.
For example:
If a Project Element is "Bus: School bus", it would display a specific set of information on the report about school busses.
Your concept of "checkboxes to add them to the report" is likely not practical for 2 reasons:
if this is a multi-user database, users will conflict with each other editing the check field
since the checks will change for each project, there will not be history
Each project can have multiple elements and each element can belong to multiple projects. This is a many-to-many relationship. This requires a third 'junction' table that associates projects with elements. This junction table can possibly have fields for the additional attributes describing the elements but more likely will need another table.
Possibly another 'junction' table to associate selected element with selected attributes. So the ID of the ProjectElement junction table will be referenced as a foreign key in SelectedAttributes table. Each record will be an attribute associated with the ProjectElement record. This means you will need a lookup table of all possible combinations of element/attribute. Then a cascading (dependent) combobox can be used to limit dropdown list to only attributes applicable to selected element. Requires VBA.
Might want to use form/subform/subsubform arrangement - forms can go 7 deep.

Related Links

Export MS Access Memo field and convert Unicode
Using function from form in Access SQL statement?
How to update an access field w/the date everytime a change is made to its row?
Is Access's AutoNumber (Increment) guaranteed to increment?
VBA Code to Count all Columns that are numeric in ListBox containing SQL Query Results
How to requery a subform from another form?
Is it possible to create a recursive query in Access?
MS Access 2000 Report needs to be PDF format with URL hyperlinks
Deploying Access as a client-server application
Resize form based on if subform visible
MS Access search for record by textbox instead of dropdown
Uniqueness Constraints in MS Access
Application Icon path in MS Access
Microsoft access is a mere file or data-base server
Is ACE/Jet's IN operator or CHECK constraint 'broken'?
Form.CurrentRecord=1 and Form.RecordSet.Absoluteposition=-1

Categories

HOME
twitter
testing
winforms
push-notification
plot
include
react-router
getelementsbytagname
sqlite-net-extensions
c#-2.0
installshield
opengl-es-2.0
podio
kibana-4
spring-kafka
windows-phone-7
fallback
ibm-odm
evopdf
text-rendering
excel-vba-mac
lldb
immutable.js
swiftlint
blazemeter
opennlp
fish
status
fifo
jaxb2
quote
junit5
create-table
column-family
caret
http-referer
nssegmentedcontrol
wpf-controls
android-ble
web-mining
c11
mesos-chronos
email-templates
eigenvalue
slick-3.0
brightcove
jxcore
slickedit
pillow
redundancy
quartz-composer
xcb
nxt
azure-sdk
url-masking
connect-by
rvest
pagerank
eclipse-clp
splash
oberon
inmobi
javax.mail
dia
network-interface
ceil
yorick
hyprlinkr
concurrent-collections
ember-charts
viadeo
prettify
cdc
blending
coverflow
ruby-datamapper
dataadapter
chronoforms
comaddin
orchardcms-1.7
pygit2
free-variable
enter
amazon-appstore
xdomainrequest
yetanotherforum
android-sdk-2.1
subviews
infrastructure
asp.net-profiles
thunderbird-lightning
firefox-5
kdbg
avatar
noscript
geneva-server
data-acquisition
signal-handling

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App