Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DB2 Connect connection with IE 11
#2
Not Solved
Code:
Set cmd = Server.CreateObject("ADODB.Command")
cmd.ActiveConnection = ConnVar
cmd.CommandType = adCmdStoredProc
cmd.CommandText = "Test"
cmd.Parameters.Append(cmd.CreateParameter("@my_date", adVarChar, adParamInput,10))
cmd.Parameters("@my_date") = "10/12/2012"

Set rsResults = Server.CreateObject("ADODB.Recordset")
rsResults.CursorLocation = adUseClient
rsResults.Open cmd,,adOpenForwardOnly,adLockBatchOptimistic


Using CursorLocation = adUseClient means you can navigate the rsResults RecordSet using MoveNext, MoveFirst etc.
Reply


Messages In This Thread
DB2 Connect connection with IE 11 - by SRP - 12-17-2015, 10:23 PM
RE: DB2 Connect connection with IE 11 - by vinod123 - 12-18-2015, 12:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Connect to IBM MQ using UFT 12.5 soumen 2 4,363 03-17-2016, 11:16 AM
Last Post: vinod123
  [UFT] Connection String for Oracle robertosalemi 6 11,726 01-15-2016, 04:51 PM
Last Post: robertosalemi
  IBM DB2 connection with VB script bmurali 2 10,465 12-18-2015, 12:38 PM
Last Post: vinod123
  Connection with HP ALM hachem 0 2,414 02-26-2015, 04:36 PM
Last Post: hachem
  “Cannot connect to 8822 (connection timed out)" Ikbal 0 1,997 12-08-2014, 11:38 PM
Last Post: Ikbal

Forum Jump:


Users browsing this thread: 1 Guest(s)