[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Opening two databases?



PureBytes Links

Trading Reference Links



Would this let me access two databases at the same time?

Set oAB = CreateObject("Broker.Application")
Set oAB1 = CreateObject("Broker.Application")

oAB.LoadDatabase("c:\program files\amibroker\data") 
oAB1.LoadDatabase("c:\program files\amibroker\data1") 

S1=oAB.stocks
S2=oAB1.stocks

Thanks!





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/