R
Ray Pixley
I'm using Access 2003. The situation I have occurs when there is a subform
on a form where there are two data columns being matched on the parent and
child forms.
When I request a subform be sorted, Access _sometimes_ takes whatever is in
the first record of the query or table that the subform is using and changes
the entries in that record's columns to what the form is asking the subform
to display.
This "undocumented feature" embarrassed me earlier today when I was asked
to sort a subform by a meeting attendee, and the sort unexpectedly added a
record to the presentation. On investigating further, I noted that a record
in the table/query that would not have shown up on the subform was missing.
But entries in the other columns in the "new" record matched the entries in
the missing columns except for the entries used to match it with the parent
form. Thus, a record was changed. But that effect makes the whole database
unreliable.
My understanding of a sort is that it is only suppose to sort. It is not to
make any changes in the tables being sorted. And, of course, I'm not very
happy that this may end up ruining my career.
Why does this happen? What can be done?
on a form where there are two data columns being matched on the parent and
child forms.
When I request a subform be sorted, Access _sometimes_ takes whatever is in
the first record of the query or table that the subform is using and changes
the entries in that record's columns to what the form is asking the subform
to display.
This "undocumented feature" embarrassed me earlier today when I was asked
to sort a subform by a meeting attendee, and the sort unexpectedly added a
record to the presentation. On investigating further, I noted that a record
in the table/query that would not have shown up on the subform was missing.
But entries in the other columns in the "new" record matched the entries in
the missing columns except for the entries used to match it with the parent
form. Thus, a record was changed. But that effect makes the whole database
unreliable.
My understanding of a sort is that it is only suppose to sort. It is not to
make any changes in the tables being sorted. And, of course, I'm not very
happy that this may end up ruining my career.
Why does this happen? What can be done?