| 
 PureBytes Links 
Trading Reference Links 
 | 
 Thank you Sir, that was fast. 
Olli  
    set oStock = 
oStocks.Item(cstr(ticker))   ' Object value: 
nothing
  d 
  
  Hi I'm trying to write Tomasz Export.js script in 
  VBScript. I get an error message saying something like no object 
  returned. I only get an object when I use oStocks.Item(0). Please take a 
  look at the attached script. Need 
  help Thanks Olli
  -------------------------------------------------------   
  For each ticker in filenames     WScript.Echo "Export of " 
  & ticker & " start"     set oStocks = 
  oAB.Stocks     set oStock = oStocks.Item(ticker)   
  ' Object value: nothing <--------------------     set 
  oStock1 = oStocks(ticker)       ' Object value: 
  nothing <--------------------     set oStock2 = 
  oStocks.Item(0)       ' Object value: {...} 
  Object     Qty = 
  oStock.Quotations.Count       ' 
  <------------------------ error message is here
  
  
Please note that this group is for discussion between users only. 
 
To get support from AmiBroker please send an e-mail directly to  
SUPPORT {at} amibroker.com 
 
For other support material please check also: 
http://www.amibroker.com/support.html 
 
  
    
  
  
  
    SPONSORED LINKS
   
       
  
 
  
    
  YAHOO! GROUPS LINKS
 
 
    
 |