M
Miss Teacher
Hi,
I know this is probably a rather tiresome query, but I've surfed the net
endlessly and not found a solution.
I'm creating a classroom planning/assessment database application (the new
Learning Essentials for those involved in Australian Education). The system
I'm creating, database-wise, is a little complicated (I am an absolute
self-taught beginner, so please be kind and precise with your terminology,
explaining where I should find the tools you mention). We have 7 "KLAs",
which are each chosen with an "Assessable Element" (depending on the KLA) for
each grade, which each act as an umbrella for a number of "Knowledge and
Understandings" (each K & U has a descriptor of more than 255 characters.
Under each "Knolwedge and Understanding" is a dozen or so "Detailed Elements"
(that the kids get assessed on).
So I have the following heirachy of tables:
KLAs
Assessable Elements
Year (or Grade in America-speak)
Ways of Working (differing and dependent on previous choices)
Knowledge and Understandings (includes the descriptor)
Detailed Elements
Each table is linked in heirachy to the one above via foreign keys (and
sometimes to more than one table above (my description is the simplified
version - it's more complicated than that). So you can imaging that the KLAs
table is quite small (only 7 records), but the tables get larger as each one
lower in the chain is increased to account for grades, categories and more
detailed categories towards the bottom.
My fields down to "Knowledge and Understandings" are fine. The problem
occurs with the "descriptor" field being truncated on my form. The "Knowledge
and Understandings" combobox provides the user with options based on the
previous 4 choices, but it is only really a 'title' field (because I
certainly couldn't include the descriptor for it within a combo box). Next to
this combo box is a text box that displays the contents on a memo field (from
the same table) depending on this choice. It is this descriptor field that is
being truncated.
All the fields are 'unbound' as they all depend on choice of the previous
field (and there are 'duplicate' records as some grades have identical
choices), then a search is carried out on the next table using the Primary
and Foreign Keys to retrieve 'after_update':
Private Sub cboKnowledgeAndUnderstanding_AfterUpdate()
Me.txtKnowledgeDescriptor = Null
Me.txtKnowledgeDescriptor = Me.cboKnowledgeAndUnderstanding.Column(4)
Me.cboDetailedElement.Requery
End Sub
My Row Source Type is Table/Query
My Row Source says:
SELECT [Knowledge And Understandings].KnowledgeAndUnderstandingsID,
[Knowledge And Understandings].KnowledgeAndUnderstandingsName, [Knowledge And
Understandings].KLAIDF, [Knowledge And Understandings].ByEndOfYear,
[Knowledge And Understandings].KnowledgeDescriptor
FROM [Knowledge And Understandings]
WHERE ((([Knowledge And Understandings].KLAIDF)=[Forms]![Planning
Development]![cboKLA]) AND (([Knowledge And
Understandings].ByEndOfYear)=[Forms]![Planning
Development]![cboByEndofYear]));
My format fields (both on the form and table) are empty. I can't find where
there is any property called "Unique Value" either on my form or table (I
read that this could be a problem). As you can see I have not the word
DISTINCT anywhere within my query. And I don't have GROUP BY in my SQL
statement, nor am I sorting the results.
These tables will not require editing in the finished product - they are
simply to be stored as ID numbers in a new database as the pillars upon which
to create planning. The descriptor, in fact is disabled, and for desplay
purposes only. In fact these tables need only ever be read only.
What is the problem with my descriptor field? Why is it truncated?
I know this is probably a rather tiresome query, but I've surfed the net
endlessly and not found a solution.
I'm creating a classroom planning/assessment database application (the new
Learning Essentials for those involved in Australian Education). The system
I'm creating, database-wise, is a little complicated (I am an absolute
self-taught beginner, so please be kind and precise with your terminology,
explaining where I should find the tools you mention). We have 7 "KLAs",
which are each chosen with an "Assessable Element" (depending on the KLA) for
each grade, which each act as an umbrella for a number of "Knowledge and
Understandings" (each K & U has a descriptor of more than 255 characters.
Under each "Knolwedge and Understanding" is a dozen or so "Detailed Elements"
(that the kids get assessed on).
So I have the following heirachy of tables:
KLAs
Assessable Elements
Year (or Grade in America-speak)
Ways of Working (differing and dependent on previous choices)
Knowledge and Understandings (includes the descriptor)
Detailed Elements
Each table is linked in heirachy to the one above via foreign keys (and
sometimes to more than one table above (my description is the simplified
version - it's more complicated than that). So you can imaging that the KLAs
table is quite small (only 7 records), but the tables get larger as each one
lower in the chain is increased to account for grades, categories and more
detailed categories towards the bottom.
My fields down to "Knowledge and Understandings" are fine. The problem
occurs with the "descriptor" field being truncated on my form. The "Knowledge
and Understandings" combobox provides the user with options based on the
previous 4 choices, but it is only really a 'title' field (because I
certainly couldn't include the descriptor for it within a combo box). Next to
this combo box is a text box that displays the contents on a memo field (from
the same table) depending on this choice. It is this descriptor field that is
being truncated.
All the fields are 'unbound' as they all depend on choice of the previous
field (and there are 'duplicate' records as some grades have identical
choices), then a search is carried out on the next table using the Primary
and Foreign Keys to retrieve 'after_update':
Private Sub cboKnowledgeAndUnderstanding_AfterUpdate()
Me.txtKnowledgeDescriptor = Null
Me.txtKnowledgeDescriptor = Me.cboKnowledgeAndUnderstanding.Column(4)
Me.cboDetailedElement.Requery
End Sub
My Row Source Type is Table/Query
My Row Source says:
SELECT [Knowledge And Understandings].KnowledgeAndUnderstandingsID,
[Knowledge And Understandings].KnowledgeAndUnderstandingsName, [Knowledge And
Understandings].KLAIDF, [Knowledge And Understandings].ByEndOfYear,
[Knowledge And Understandings].KnowledgeDescriptor
FROM [Knowledge And Understandings]
WHERE ((([Knowledge And Understandings].KLAIDF)=[Forms]![Planning
Development]![cboKLA]) AND (([Knowledge And
Understandings].ByEndOfYear)=[Forms]![Planning
Development]![cboByEndofYear]));
My format fields (both on the form and table) are empty. I can't find where
there is any property called "Unique Value" either on my form or table (I
read that this could be a problem). As you can see I have not the word
DISTINCT anywhere within my query. And I don't have GROUP BY in my SQL
statement, nor am I sorting the results.
These tables will not require editing in the finished product - they are
simply to be stored as ID numbers in a new database as the pillars upon which
to create planning. The descriptor, in fact is disabled, and for desplay
purposes only. In fact these tables need only ever be read only.
What is the problem with my descriptor field? Why is it truncated?