Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access the selected table
Message
 
À
22/10/2008 08:44:39
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356267
Message ID:
01356321
Vues:
22
>>Is there a way to trap the error "Cannot access the selected table" ?
>>I think I know the pint in code where it occurs, even closed what I thought was the offending open table, but it still persists.
>
>Do you use comboboxes bound to cursors and does the error occur on form closing?
>
>If this is the case you need to set the rowsource empty before the tables are closed.
>
>
>Agnes

I got it to work finally, I added thisform.mylistbox1.RowSource="" in the keypress ection of the form after exhausting all other places, especially textbox where the sql formed the rowsource.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform