Opened 17 years ago

Last modified 17 years ago

#921 closed Bug

AutoIt is retrieving wrong values from Data Base (AS400 Data Base) — at Version 3

Reported by: mmahima Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: DB2 Cc:

Description (last modified by Valik)

When i try to execute the following statements in autoit, it is retrieving wrong values from database, could any one help.

$sqlCon = objCreate("ADODB.Connection")
$objRecordSet = ObjCreate("ADODB.RecordSet")
$sqlCon.Open("Provider='IBMDA400';Data Source = '10.0.1.25';User Id='USERNAME'; password='Password';")
$oRs = $sqlCon.Execute("select * FROM ccdata.rcmast where MSACT# = '8217'")
MSGBOX(0,"",$oRs.Fields("MSACT#").value)

Expected values is 8217, whereas it is retrieving 6213.

I tried using VBseditor for executing the above statement, vbseditor is retrieving correct from database whereas autoit is displaying wrong values.

Change History (3)

comment:1 by TicketCleanup, 17 years ago

Milestone: 3.3.1.0

Automatic ticket cleanup.

comment:2 by J-Paul Mesnage, 17 years ago

Not sure some dev can help you as db2 is not a database use by default in our environment.
Can you reproduce with MSAccess database for instance?

comment:3 by Valik, 17 years ago

Description: modified (diff)

Please read WikiStart on how to create a good ticket. You're making this overly difficult.

Note: See TracTickets for help on using tickets.