It used to be that if I selected fields into a cursor and there were no records returned, I still had a cursor with a reccount() of 0. I re-did my machine and re-installed foxpro (version 7 in both cases). now when I SELECT INTO CURSOR, and there are no records returned, used("mycursor") returns .f. . also a listbox that is using a cursor throws a 'cannot access the selected table' error and disappears from the form if there are no more records in the cursor when the screen refreshes:
I have a form with 2 listboxes populated by 2 different cursors. A button is used to put everything from one cursor into the other one. If I empty out the first one, then call another form, when I come back I get the above-mentioned error for the first listbox that's now empty and the cursor that populated that listbox no longer exists. I never had this problem before I re-installed so I'm wondering is there something in my settings that's different, and if so, what can I do to fix it?
Thanks in advance for any help!
BlackDice
I have a form with 2 listboxes populated by 2 different cursors. A button is used to put everything from one cursor into the other one. If I empty out the first one, then call another form, when I come back I get the above-mentioned error for the first listbox that's now empty and the cursor that populated that listbox no longer exists. I never had this problem before I re-installed so I'm wondering is there something in my settings that's different, and if so, what can I do to fix it?
Thanks in advance for any help!
BlackDice