If the function works properly in the other data set (other company), on the same workstation, assume that the problem is with datafiles.
Please make a backup of the data and then run Check Data Integrity. At the end of checking, if it found errors, it will give you the option to Rebuild.
At the end of the Rebuild, run Check Data Integrity again.
_________________________
Kate Spontak
Stief Group
New Jersey, the Garden State