>Am I dreaming or is there a way to encapsulate
>data from tables in a custom object?
You can add tables to a DataEnvironment on the fly, but what you really want to do here is use a Form object instead of a Custom object. That will allow you to create a Private Datasession.