Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access the selected table.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00187612
Message ID:
00187805
Vues:
26
>>>>Hi all,
>>>>
>>>>I have been using programmatic data environments for 3 years and half without any problem, well nearly... In development mode (NT4, SP3, VFP5 SP3), never a problem.
>>>>
>>>>In Runtime mode one customer started to have problems when leaving a complicated form and started to receive a "cannot access the selected table" message every time he wanted to close the form. Oddly enough, by checking the "Include debug information" in the project manager and rebuilding the EXE, the problem disappeared... This customer runs NT4 SP3 or Windows 98 (on different machines). WIN98 seemed more "touchy" in this respect.
>>>>
>>>>A fellow developer handed me another project this week-end that exhibits the same runtime behaviour with 4 forms. The "include debug information" cured the 2 lighter ones. But the problem remains with the 2 others. Worse, it ends up with a GPF in VFP500.DLL...
>>>>
>>>
>>>Hi, Jose,
>>>
>>>Do you know what command is triggering the error message?
>>>
>>>regards,
>>
>>It's a control source error, from controls that do not find their countrol source. In other words, the view gets closed before the control is destroyed.
>>
>Jose,
>
>How about setting autoclosetables to .F. and closing the tables in the release() or unload() event of the form?
>
>regards,

Jim,

A clever idea! Seems a pretty easy workaround. Thanks.

Jose
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform