Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why is my cursor disappearing?
Message
 
 
À
07/09/2006 03:11:53
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:
01151707
Vues:
28
>> put select 0 before create cursor command.
>
>Thanks for your answer. But it didn't work. Actually, it was my fault, I didn't explain myself well on my first post. After some checking with the debugger, I found out the problem was something else. The thing is that after running this new method I have to recreate the source of my combo, and it's then when the error pops up. The selec that I use with my combo creates the new cursor well, but for some reason the combo won't read it. The funny thing about this case is that before having created this new method, I'd already recreated the combo's source in other methods and events previously and everything worked fine. I'll try using an array instead of a cursor with my combos. Perhaps that way this problem will go away.
>
>Thanks again.

If you're using cursor for combobox, you need to do

thisform.myCombobox.rowsource = ""
select ... into cursor myCursor
thisform.myCombobox.rowsource = 'myCursor'
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform