Microsoft KB Archive/192876

= BUG: DataFormat Doesn't Behave as Expected Using Datacombo/List =

Article ID: 192876

Article Last Modified on 1/8/2003

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q192876



SYMPTOMS
After setting the DataFormat property of the DataCombo control, only the top item in the list is formatted. Setting the DataFormat property of the DataList Control does not format any of the other data in the list.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.



MORE INFORMATION
Taking into consideration the above mentioned symptoms, it is not advisable to use the DataFormat property for the DataCombo or DataList controls at this time.

Steps to Reproduce Behavior
 Create a Standard EXE project in Visual Basic. Form1 is created default. On the components menu, select "Microsoft ADO Data Control 6.0" and "Microsoft DataList Controls 6.0." Add a DataCombo and ADODC to the form.  Set the ADODC Properties as follows: ConnectionString = DSN set to "Nwind.mdb" RecordSource = Orders

  Set the DataCombo Properties as follows: RowSource = adodc1 ListField = OrderDate BoundColumn = OrderDate DataSource = adodc1 DataField = OrderDate DataFormat = Date (10-Oct-98)

 Run the form and note that only the first item in the DataCombo is formatted.</li></ol>

Additional query words: kbDSupport kbdse kbCtrl kbVBp600bug kbVBp kbComboBox

Keywords: kbbug KB192876

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.