DOCUMENT:Q165889 21-AUG-1999 [foxpro] TITLE :PRB: ItemTips = .T. Causes Error When in Private DataSession PRODUCT :Microsoft FoxPro PROD/VER:5.00 5.00a OPER/SYS: KEYWORDS:kbvfp ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a ------------------------------------------------------------------------------- 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. MORE INFORMATION ================ 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. Additional query words: ====================================================================== Keywords : kbvfp Technology : kbVFPsearch kbAudDeveloper kbVFP500 kbVFP500a Version : 5.00 5.00a Issue type : kbprb ============================================================================= 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. Copyright Microsoft Corporation 1999.