Microsoft KB Archive/165889

= PRB: ItemTips = .T. Causes Error When in Private DataSession =

Article ID: 165889

Article Last Modified on 8/21/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a

-



This article was previously published under Q165889



SYMPTOMS
In Visual FoxPro 5.x, the Listbox control with the ItemTips property set to ".T. - True" causes a "Cannot access the selected table" error when the DataSession property of the Form is set to "2 - Private Data Session."



RESOLUTION
Set the form DataSession property to "1 - Default Data Session."



STATUS
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior

 * 1) Create a form.
 * 2) Add the \Samples\Data\Customer.dbf to the Data Environment.
 * 3) Set the DataSession property of the form to "2 - Private Data Session."
 * 4) Add a Listbox control to the form.
 * 5) Set the Width property of the Listbox control to 108.
 * 6) Set the RowSourceType property of the Listbox control to "Alias."
 * 7) Set the RowSource property of the Listbox control to "Customer.company" (without the quotes).
 * 8) Set the ItemTips property of the Listbox control to .T.
 * 9) Save and run the form.
 * 10) Position the mouse pointer over the list, and the error message, "Cannot access the selected table" appears.

Keywords: kbprb KB165889

-

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

© Microsoft Corporation. All rights reserved.