PRB: MSDataList/MSDataCombo Controls Do Not Work in VFP

Last reviewed: April 24, 1997
Article ID: Q162143
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a

SYMPTOMS

The MSDataList and MSDataCombo are ActiveX controls that ship with Visual FoxPro 5.0. These controls are very similar to the Visual FoxPro Combo Box and List Box. The Help for the MSDataList and MSDataCombo states the following about the RowSource Property:

   RowSource: Name of Data control used as a source of items for the list
   portion of the control.

When you look in the Property Window for the RowSource Property it is not there. You cannot use the control because this property is missing.

CAUSE

The MSDataCombo and MSDataList are complex data-bound controls that are unsupported in Visual FoxPro.

The RowSource looks for a Visual Basic DataControl Object. Because Visual FoxPro is a database development system, it does not need a DataControl to access data and there is no equivalent object in Visual FoxPro.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a new Form.

  2. Place an OLE container control on the Form.

  3. In the Insert Object dialog box, click Insert Control.

  4. From the Control Type List, select MSDataList Control.

  5. With the Olecontrol selected on the form, click the Properties Window.

  6. Look for the RowSource Property for Olecontrol1.

You cannot see a RowSource Property for Olecontrol1.


Additional query words: ActiveX
Keywords : FxinteropOle kbinterop vfoxwin kbbuglist
Technology : kbole
Version : 5.0 5.0a
Platform : WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 24, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.