How to get rid of sql error after changing the field name?

After changing a field name in table, the form which has this datasource shows error. For some reason AX can’t figure out that Ichanged the name, so it’s trying to select using the old name.

Cannot select a record in myTable(myTable).

The SQL database has issued an error.

SQL error description: [Microsoft][SQL Native Client][SQL Server]Invalid column name ‘MyField’.

I tried compiling, synchronizing, restarting AX, deleting formDatasource and adding it, restoring… But I still see this error.

AX 2009.