Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox in a grid
Message
De
18/01/2005 15:49:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Combobox in a grid
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00978309
Message ID:
00978309
Vues:
60
Hello everyone,

I've had to get back into visual foxpro and it's all slowly coming back to me. But I'm still having issues.

Here's my problem:
I have a grid that is bound to one table. In the fourth column, I have a combobox. I want to populate the combobox with another table. Depending on what is in column one, I want to filter the values in the combobox for that row.

Now I figured that I would set the rowSourceType to be an SQL Statement, so I set the rowSource to:
select module from modules where modtype = timein.cType into cursor temp

But when i do this, I get the error message, cursor already in use. Can someone tell me if I'm doing this complete wrong or there is just something small I'm missing.

Thanks
Josh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform