Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: How can I use multiple database?
How can I use multiple database?
Posted: 2000/06/13 21:00
 
Hello.
I am very impressed about your component.
but I found one problem.
I use MDI window for opening database, and It uses always very first opened database component.
Can't I use multiple database component at the same time?
Thanks.
RE: How can I use multiple database?
Posted: 2000/06/13 23:07
 
Hi !

Because TOCIDataSet descendants are linked to TOCIDatabase through DatabaseName, you must change this property value for new TOCIDatabase and TOCIDataSet's. After that they will be linked as you want.

Also, i plan to extend NCOCI8 behavior in a part of deal with DatabaseName. After that it will be possible to do what you want wihtout changes to DatabaseName property.

By the way, why you opening more than one TOCIDatabase in your MDI application ? (it seems, what it is not required ...)