Ed Leafe wrote:
> On Feb 18, 2009, at 12:29 PM, Uwe Grauer wrote:
>
>> In order to supress the automatic searching for cnxml-files i ask you
>> if it would be possible to add a additional parameter
>> "searchConnFiles"
>> which by default would be set to True.
>>
>> This would allow Dabo users to prevent the searching of cnxml files so
>> that only files added with dApp.addConnectFile() would be used.
>>
>> If there is a better way to do what i want, let me know how.
>
>
> If you want to do something like this, anytime after app.setup() is
> run, just issue the command:
>
> app.dbConnectionDefs = {}
>
> and that will delete all the existing definitions. Then calling
> addConnectFile() or addConnectInfo() will add just the connections you
> want.
Tested this, and it worked.
Finally i have a solution. :-)
Many Thanks,
Uwe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]