Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box row source blues
Message
 
To
27/06/2002 12:30:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00672942
Message ID:
00672950
Views:
9
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform