Dynamic Update Table

Hi,

I am trying to have a generic solution to be able to:

1 - Have an input text to select the table

2 - Retrieve the columns that the selected table has

3 - List and update the lines

Has anyone done this before?
Ideias?:confused:

I think that can be possible if the comlums wath you want in the different tables are the same.