Change
_field-rpos for all fields in each table where the issue exist such that they have the same order as
_field-physpos:
Use the following code to display the current
_field-physpos _field-rpos values.
FOR EACH _file where _file-name = "<tablename>":
FOR EACH _field of _file by _field-physpos:
DISPLAY _field-name _field-physpos _field-rpos.
END.
END.
Use the following code to make both values match.
FOR EACH _file WHERE _hidden = no:
FOR EACH _field OF _file:
_field-rpos = _field-rpos + 100.
END.
END.
FOR EACH _file WHERE _hidden = no:
FOR EACH _field OF _file:
_field-rpos = _field-physpos.
END.
END.
Alternatively dump and load the database.