David, I didn't think that would happen if the fields were
involved in a relation. Wouldn't a query just use the
hidden indexes (i.e. a query can't tell how an index was
created)??
While we're on this topic, you wouldn't happen to know of a
way to change the name of these hidden indexes, would you?
--
Marsh
MVP [MS Access]
What problems, if any, could potentially arise from removal of indexes
from fields (i.e. table design view -> field properties -> change Indexed to
"No") that have previously-established cascade-update relationships with
other tables?
queries/views will still be updatable, but may run slower.
(david)
Brian wrote:
I have a principal table in this particular DB that requires referential
integrity on about 20 fields. At 16, I run into the problem of "too many
indexes" when attempting to create the next relationship.
What problems, if any, could potentially arise from removal of indexes
from fields (i.e. table design view -> field properties -> change Indexed to
"No") that have previously-established cascade-update relationships with
other tables?
"Marshall Barton" wrote
Generally, when you create a relationship Access
automatically creates the indexes it needs (whether you
already created them or not). This frequently results in
two sets of indexes and you hit the limit of 32 indexes, but
you can see 16 of them in you table design view. Note that
referential integrity is specified in the relationships
window, not in table design.
If you create a procedure to loop through the table def's
Indexes collection and use Debug.Print to display them in
the immediate window, you can see this happening and verify
that you don't need to specify the indexes in the table's
design.