[Bug 6638] New: ADODB.Recordset.Fields.Append method fails when last parameter omitted

Wine Bugs wine-bugs at winehq.org
Thu Nov 9 16:15:54 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=6638

           Summary: ADODB.Recordset.Fields.Append method fails when last
                    parameter omitted
           Product: Wine
           Version: 0.9.24.
          Platform: All
        OS/Version: Linux
            Status: NEW
          Keywords: source, conformance
          Severity: minor
          Priority: P2
         Component: wine-ole
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: a_villacis at palosanto.com


Visual Basic application instantiates an ADODB.Recordset with late binding (say,
with the CreateObject function). The ADODB.Recordset object has a Fields member,
which is a collection of Field objects. The Fields Member has (according to the
docs) an Append member to add a new Field object. The documented signature is:

ADODB.Recordset.Fields.Append Name As String, Type As DataTypeEnum, DefinedSize
As ADO_LONGPTR, Attrib As ADODB.FieldAttributeEnum, FieldValue As Variant

The last three parameters are supposed to be optional.

With builtin oleaut32, the bug is as follows:

Works correctly: Append "fieldName", adVarChar, 128, adFldUnspecified, Empty
Throws exception: Append "numeroRucB", adVarChar, 128, adFldUnspecified

With native oleaut32 (WinXP), both calls work correctly.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list