Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why is my cursor disappearing?
Message
 
 
À
07/09/2006 17:09:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01151595
Message ID:
01152135
Vues:
28
>>
>>If you're using cursor for combobox, you need to do
>>
>>thisform.myCombobox.rowsource = ""
>>select ... into cursor myCursor
>>thisform.myCombobox.rowsource = 'myCursor'
>
>It didn't work either. Fortunately, I found a solution: I plit the method in two. I run the creation of the cursor in the init and the filling where I used to run the new method. No errors so far. Except for the fact that the combo resets itself. But that is not a big deal, at least for now. I wish I knew what is the relation between the new cursor and the combo.
>
>Thanks for the tips.

May be you also needed requery() after resetting rowsource. I know it works because I use this tecnique a lot. May be you can post some relevant code, when we can find our what's wrong...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform