CursorType & Command
Hvordan bestemmer jeg hvilken cursortype Command objektet returnere. Jeg har brug for en cursortype 3?\'Record\' får IKKE cursortype 3 i nedenstående:
SQL= \"SELECT * from test where (id > ?)\"
Set con = Server.CreateObject(\"ADODB.Command\")
con.ActiveConnection = RS
con.CommandText = SQL
con.CommandType = 1
con.parameters.append con.createParameter(\"@id\", 4, 1, , \"2\")
Set record = Server.CreateObject(\"ADODB.Recordset\")
record.CursorType = 3
record = con.execute
