Roger Lovelock wrote: > I tried to do that initially by copying the pattern of code from the > AppWizard to the ClassDesigner, but found that there was no method > immediately available in Bizobj to load the definition from a DataStructure. > Obviously it must be able to be done, but at this stage of my knowledge I > felt it would probably take me a lot of research to find out how so I didn't > pusue it.
I'm not familiar with ClassDesigner, but if you are modifying your bizobj class directly you can put the self.DataStructure assignment in the initProperties() method of the bizobj. If instead you aren't modifying the bizobj class directly but merely instantiating it, you can do it like: biz = MyBiz(...) biz.DataStructure = ... Paul _______________________________________________ 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]
