For some reason it doesn't work for me. I also didn't see any discussion 
about RDBI, does it mean only DBI should be used with watir?

my simple script:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
require 'watir'
require 'rdbi-driver-odbc'
require 'rubygems'


def get1()
    dbh = RDBI.connect  :ODBC, :db => "dbname",  :user => "username", 
:password => "pass"
    rs=dbh.execute ("SELECT station_name FROM active_streams where 
station_name like 'lana%'")
    rs.fetch(:first)
    dbh.disconnect
end  
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

and i get always: >Exit code: 0

Thank You,
Lana


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to