Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is my cursor disappearing?
Message
 
 
To
07/09/2006 03:11:53
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01151595
Message ID:
01151707
Views:
27
>> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform