Hi,

>I was just wondering how I can access 2 or even more databases within
>TG. The concrete case is a TG app that should make a bridge between a
>legacy business app (based on a MS Access Jet database) and a new app
>  
>
Others have pointed out the general solution, but yours is quite a 
specific case. To my knowledge, neither SQLObject nor SQLAlchemy support 
Access, and I see you are connecting by hand. The problem that you 
aren't taking a step you need to for multithreaded apps. Add the 
following, before you make the connection:

import pythoncom
pythoncom.CoInitialize()

Good luck!

Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to