Debra
see comments in-line below...
Debra said:
Hey Jeff,
I've been experimenting....I tried to create a combo box on the data input
form but can't figure how to identify each attribute separately or
indicate
that an individual desires multiple attributes. Anyway..
One form for the programmers, a second form for the RequestedAttributes.
That second form will be embedded into the first as a "subform", linked by
the ProgrammerID fields in each (see below for more explanation). On that
second form, you'll probably only need a single combobox, based on the
"Attributes" table. The combobox will be bound to the AttributeID field in
the RequestedAttributes table (*again, see below*). You may decide that you
also want to keep track of when the attribute was requested. Add a field in
the table and a control on the subform.
Let's see if I understand your suggestion. Remember now I'm a novice....
Seems like you're saying I should create a third table with two columns -
the name of the requester and the name of the attirbute requested.
Close, but consider this scenario ... two programmers named Bill Smith?!
Instead of using the name of the programmer and the name of the attribute,
in each of THOSE tables, use an ID field (ProgrammerID, AttributeID) to hold
a unique identifier. The Access Autonumber datatype will work for this.
Then, in each of those tables, also include ProgrammerFirstName,
ProgrammerLastName (in tblProgrammer) and AttributeTitle (in tblAttribute).
So, this
table would list the name of the requester 10 times if that person
requested
10 different attributes?
Again, close (see above). Actually, it would contain the ID of the
programmer 10 times (in ten rows) and ten different AttributeIDs (one per
row). While this seems redundant, you can query this table to find all
Programmers (by ID) who requested attribute # 17 (by ID).
If not how would the request of each attribute be
sorted and displayed in a report?
When you get ready to display the results to humans, create a query that
joins the tblProgrammer and the tbl Attribute to the trelRequestedAttribute,
by their respective ProgrammerID and AttributeID. Now you can show which
programmer goes with ProgrammerID = 7 and which Attribute goes with
AttributeID = 17.
Then use this query as a source for your report.
You see, each 'request' attributes is
related to an application and has a submission number associated with it -
Would I make 'requester' a key field in the third table and create a
relationship between this and the table that contains the submission
number
and other info related to this request? Someone else mentioned a
sub-report,
would that better serve the purpose?
I'm not clear on the relationship among application, submission number,
programmer, attribute and requestedattribute. More explanation on how these
relate one to another?
Am i making this too complicated? Appreciate any direction.
I don't believe YOU made this complicated. I do believe the relationships
among the entities IS complicated.
Regards
Jeff Boyce
Microsoft Office/Access MVP