L
Larry F
When a user right-clicks in a subform (particularly if it
is in continuous or datasheet view) and chooses a Sort or
Filter option from the popup menu, Access reports an
incorrect and confusing error message: "You must use the
same number of fields when you set the LinkChildFields
and LinkMasterFields properties." After the bewildered
user clicks the OK button, the subform is appropriately
sorted or filtered. Afterwards, just displaying the main
form brings the same message.
This bug has been around for many years, since Access 95,
and it's surprising that Microsoft has not yet solved it.
It has improved, though, since in Access 97 this action
caused the application to crash and usually corrupted the
data.
My only solution has been to programmatically rewrite the
recordsource of the subform to sort or filter, but this
means all data must be fetched again, a performance hit.
Does anyone have any other ideas?
is in continuous or datasheet view) and chooses a Sort or
Filter option from the popup menu, Access reports an
incorrect and confusing error message: "You must use the
same number of fields when you set the LinkChildFields
and LinkMasterFields properties." After the bewildered
user clicks the OK button, the subform is appropriately
sorted or filtered. Afterwards, just displaying the main
form brings the same message.
This bug has been around for many years, since Access 95,
and it's surprising that Microsoft has not yet solved it.
It has improved, though, since in Access 97 this action
caused the application to crash and usually corrupted the
data.
My only solution has been to programmatically rewrite the
recordsource of the subform to sort or filter, but this
means all data must be fetched again, a performance hit.
Does anyone have any other ideas?