K
Kevin
Its been a while since I have had to create a new Access
database, and while
I can swear I am not doing anything wrong, Access insists
that I am.
To simplify my situation, I have 2 Tables: Contractors &
Services.
Table 1 - Contractors
ContractorID (Autonumber)
ContractorName (Text)
ContractorAddress (Text)
Table 2 - Services
ServiceID (AutoNumber)
ServiceValue (Text)
ContractorID(Text)
I create a relationship in Access from Contractors
(contractorID) to
Services (contractorID).
I populate both tables with sample data, making sure that
the contractorID
in the Services table corresponds with valid ContractorID
in the Contractor
table.
Now when I open the Contractor table in dataview, I click
the + sign next to
a record to view the contractors related services and I
get the following
error:
"This expression is typed incorrectly, or it is too
complex to be evaluated.
For example, a numeric expression may contain too many
complicated elements.
Try simplifying the expression by assigning parts of the
expression to
variables. (Error 3071)"
Am I committing some sort of database crime without even
realizing it?
I should add that I spoke with Microsoft support last
evening and they told
me that my Services table should have 2 Primary Keys
(serviceID &
contractorID). I never heard of doing that before.
Thanks!
database, and while
I can swear I am not doing anything wrong, Access insists
that I am.
To simplify my situation, I have 2 Tables: Contractors &
Services.
Table 1 - Contractors
ContractorID (Autonumber)
ContractorName (Text)
ContractorAddress (Text)
Table 2 - Services
ServiceID (AutoNumber)
ServiceValue (Text)
ContractorID(Text)
I create a relationship in Access from Contractors
(contractorID) to
Services (contractorID).
I populate both tables with sample data, making sure that
the contractorID
in the Services table corresponds with valid ContractorID
in the Contractor
table.
Now when I open the Contractor table in dataview, I click
the + sign next to
a record to view the contractors related services and I
get the following
error:
"This expression is typed incorrectly, or it is too
complex to be evaluated.
For example, a numeric expression may contain too many
complicated elements.
Try simplifying the expression by assigning parts of the
expression to
variables. (Error 3071)"
Am I committing some sort of database crime without even
realizing it?
I should add that I spoke with Microsoft support last
evening and they told
me that my Services table should have 2 Primary Keys
(serviceID &
contractorID). I never heard of doing that before.
Thanks!