Passing Tables on a Template (Possible or a Myth)

Hi,

Is it possible to create a template for several tables where in the contents of the window depends on what table is passed on the template. This Window might contain fill-ins and a browse.

This window should have several functionalities such as Add-Edit-Delete-Save..

Any idea will be a big help.. Thanx