Ich habe Probleme mit negativ BigInt Werten.
Meine Konfiguration:
Windows 2000 Professional SP2
MS Sql Server 2000
MDAC 2.6 SP1
Delphi 6 Professional Update Pack 1
Mit dem Beispeil von Andreas Kosch (21-Aug-01, ADO und BigInt) sehe ich:
ein negativ Wert ist gezeigt als positiv
wenn ich versuche ein negativ Wert einzugeben, bekomme ich die Fehlermeldung:
Get EOleException - 'Multiple-step operation generated errors. Check each status value.'
Aber ein einfach VbScript laeuft problemlos:
<PRE>
Dim cnPg1
Dim rsBanks
Set cnPg1 = CreateObject("ADODB.Connection")
cnPg1.ConnectionString = "Provider=SQLOLEDB.1;" & _
"User ID=xxx;Password=xxx;Initial Catalog=xxx;"
cnPg1.Open
Set rsBigInt = CreateObject("ADODB.Recordset")
rsBigInt.Open "SELECT * FROM BigIntTest", cnPg1
while (not rsBigInt.EOF)
MsgBox(rsBigInt.Fields("wert").Value)
rsBigInt.MoveNext
wend
</PRE>
I'm sure it's no surprise that my German is awful.
Meine Konfiguration:
Windows 2000 Professional SP2
MS Sql Server 2000
MDAC 2.6 SP1
Delphi 6 Professional Update Pack 1
Mit dem Beispeil von Andreas Kosch (21-Aug-01, ADO und BigInt) sehe ich:
ein negativ Wert ist gezeigt als positiv
wenn ich versuche ein negativ Wert einzugeben, bekomme ich die Fehlermeldung:
Get EOleException - 'Multiple-step operation generated errors. Check each status value.'
Aber ein einfach VbScript laeuft problemlos:
<PRE>
Dim cnPg1
Dim rsBanks
Set cnPg1 = CreateObject("ADODB.Connection")
cnPg1.ConnectionString = "Provider=SQLOLEDB.1;" & _
"User ID=xxx;Password=xxx;Initial Catalog=xxx;"
cnPg1.Open
Set rsBigInt = CreateObject("ADODB.Recordset")
rsBigInt.Open "SELECT * FROM BigIntTest", cnPg1
while (not rsBigInt.EOF)
MsgBox(rsBigInt.Fields("wert").Value)
rsBigInt.MoveNext
wend
</PRE>
I'm sure it's no surprise that my German is awful.
Comment