On Feb 13, 2007, at 3:30 PM, Uwe Grauer wrote:

> How can i use multiple connections in dabo?
> Do i have to use different connection names in the cnxml-file?

        You can either store multiple connections in one cnxml file, or one  
each in several cnxml files. If they are in the path at startup, the  
Application object will load the definitions (but not connect). You  
can manually add cnxmls by calling self.Application.addConnectFile 
("path/to/cnxml/file").

        To get any of the defined connections, you ask for them by name:

self.Application.getConnectionByName("connName")

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to