Paul said >You can use a table as many times as you want. You can instantiate as >many instances of the same bizobj as you like. You can even add these >redundant bizobjs to the form using addBizobj() if you want, but you >have to give each one a unique DataSource so the form can differentiate >between them.
>first = biz.Customers(conn, DataSource="Customers") >second = biz.Customers(conn, DataSource="Customers1") I have attempted to follow your instructions for adding a second bizobj that uses the same table. It appears it does not work - or I don't understand how I'm suppose to assign the correct DataSource. In both dbMySQL.py and dbPostgres.py the method getFields(self, tableName) exist. In both cases the tableName comes directly from the setting of the DataSource in the bizobj. So if I change the DataSource to anything other than the correct table name it will fail. Your example show two DataSources. Assuming a table name of "Customer" the "first" - will work the "second" - will NOT work. How can I fix this? -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
