Microsoft KB Archive/183572

From BetaArchive Wiki
Knowledge Base


ADO Definedsize Values Are Incorrect for Certain Data Types

Article ID: 183572

Article Last Modified on 3/10/2004



APPLIES TO

  • Microsoft OLE DB Provider for AS/400 and VSAM 1.0, when used with:
    • Microsoft SNA Server 4.0



This article was previously published under Q183572

SYMPTOMS

ADO's Field.Definedsize returns incorrect values for certain data types:

   data type        field.definedsize
   adDBDate         -1
   adDBTime         -1
   adDBTimeStamp    -1
   adSmallInt        5
   adInteger        10
   Float--single     7
   float--double    16
   Decimal         (variable--precision + 3)
   Numeric         (variable--precision + 3)
                

STATUS

Microsoft has confirmed this to be a problem in Microsoft OLE DB Provider for AS/400 and VSAM version 1.00, included with SNA Server version 4.0.

This problem was corrected in the latest SNA Server version 4.0 U.S. Service Pack. For information on obtaining this Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K


Keywords: kbbug kbfix KB183572