S
sbauerle
hello,
i set up a MS data link (*.udl), connected to the db succesfully, then tried
to use the corresponding connection string to connect a custom outlook form
to an oracle db.
so far, no luck.
here is the code
ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;User
ID=FMS_USER;Data Source=eben"
cnn.Open ConnectionString
strSQL = "SELECT tournumber FROM FMS_TOUR"
rs.Open strSQL, cnn, 3, 3
Do While Not rs.EOF
objItem.GetInspector.ModifiedFormPages("Message").ComboBox1.AddItem
(rs.Fields("tournumber"))
rs.MoveNext
Loop
rs.Close
can anybody help me. what am i doing wrong?
thanks
Stefan
i set up a MS data link (*.udl), connected to the db succesfully, then tried
to use the corresponding connection string to connect a custom outlook form
to an oracle db.
so far, no luck.
here is the code
ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;User
ID=FMS_USER;Data Source=eben"
cnn.Open ConnectionString
strSQL = "SELECT tournumber FROM FMS_TOUR"
rs.Open strSQL, cnn, 3, 3
Do While Not rs.EOF
objItem.GetInspector.ModifiedFormPages("Message").ComboBox1.AddItem
(rs.Fields("tournumber"))
rs.MoveNext
Loop
rs.Close
can anybody help me. what am i doing wrong?
thanks
Stefan