J
James Rasmussen
I am trying to do this...
myCn.ConnectionString = "Provider=sqloledb;data source=server;initial
catalog=table;user id=user;password=password"
myCn.Open
sqlstr = "Select number from departments"
rs.Open sqlstr, myCn, adOpenDynamic
Me.Location_2.RowSource = rs
myCn.Close
All I get is a type mismatch from 'Me.Location_2.RowSource = rs'. What am I
missing here?
TIA
Jim
myCn.ConnectionString = "Provider=sqloledb;data source=server;initial
catalog=table;user id=user;password=password"
myCn.Open
sqlstr = "Select number from departments"
rs.Open sqlstr, myCn, adOpenDynamic
Me.Location_2.RowSource = rs
myCn.Close
All I get is a type mismatch from 'Me.Location_2.RowSource = rs'. What am I
missing here?
TIA
Jim