Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox in a grid
Message
From
18/01/2005 15:49:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Combobox in a grid
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00978309
Message ID:
00978309
Views:
61
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
Next
Reply
Map
View

Click here to load this message in the networking platform