Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Phantom Query Cusor Won't Go Away
Message
From
14/09/1998 10:42:51
 
 
To
14/09/1998 10:32:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00136143
Message ID:
00136175
Views:
27
>>>>>>Using the query wizard,I foolishly created a cursor that I tried to use in a form as the record source of a combobox. At first I got an instantiation error then the dreaded "you have performed an illegal operation" message followed by VFP closing down. When I re-launched VFP I realized I did not need to be doing this to accomplish what I was trying to do so I deleted the Query from my DBC. The problem is now when I run the form the query cursor (it looks like a browse window) appears and has to be closed before the form runs. I don't understand how this can still be appearing after it has been deleted.
>>>>>>I have tried validating, recovering, rebuilding, etc., but I can't stop the cusor from appearing. Please help!
>>>>>>
>>>>>>TIA
>>>>>>--lincoln
>>>>>
>>>>>What do you have in combobox.rowsource now?
>>>>
>>>>Actually I am not using the combobox now I changed the grid column to Text1 and reset the cobombox properties to the defaults.
>>>
>>>It seems to me that Combo.Rowsource still holds SQL-string. Try to double-check this and remove it from there, or even remove the combo, if it's not in use.
>>
>>Ed -- How do I remove the ComboBox?
>
>Is it combo in grid.column, right? So, select it in property sheet, click on grid.column and press Delete.

When I do that it doesn't actually remove the combobox from the Current Control list, it only removes it as the selected control.

However, I did find the culprit, seems I had put the cursor in the init method of the combobox, once removed the phantom disappeared. Thanks for your help.

--lincoln
Previous
Reply
Map
View

Click here to load this message in the networking platform