General information
Category:
Forms & Form designer
>>>>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only