Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box row source blues
Message
 
À
27/06/2002 12:30:17
Bruce Covey
Home Depot Television
Atlanta, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00672942
Message ID:
00672950
Vues:
8
>have two combo boxes on a form. First one uses an SQL for its row source. Based on this entry, I run an SQL in the LOSTFOCUS event that outputs to a CURSOR ( I created the cursor in the form.dataenvironment so the object can initialize properly ) and ENABLES the second combo box. This box has a rowsource of the cursor name (Query72) and rowsource type ALIAS. However, I get "Cannot access selected table" error when I tab to the now enabled combo box. Am I able to manipulate the contents of a cursor prior to entering a combo box the looks to it?
>
>Haven't been here for awhile, but as always, any help is appreciated.

Bruce,

After you populate the cursor do;

Thisform.Combo2.Requery()

before allowing focus to reach the combo.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform