How can know source table of a form though a code

You can’t.

Or you have to create a new table in which you manually keep up-to-date the form + its sourcetable.

Thank you very much.