Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RowsourceTYPE
Message
De
26/08/2003 14:09:42
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00823528
Message ID:
00823533
Vues:
29
Hi timothy,

>Is it good practice to have a combobox's rowsourcetype set to fields when the rowsource is a cursor? I am getting cannot "access selected table" frequently and thought this may be a possible cause.

Well it is a good practice. However when doing a
SELECT ... FROM .... INTO CURSOR MyCursorBoundToCombo
, you might get this specific error as for one moment the cursor is closed and recreated again. To workarround the issue
THISFORM.MyComboBox.Rowsource = ""
SELECT ... FROM .... INTO CURSOR MyCursorBoundToCombo
THISFORM.MyComboBox.RowSource = "MyCursorBoundToCombo.Field1, Field2"
HTH

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform