I have the following problem. I have an SQL statement something like this:
SELECT table1.field1,table1.field2 INTO CURSOR crsTest
when I use SET STEP ON and step through it in the code window, it returns no cursor at all. But if I go to the command window at that same point in the code and copy and paste the same code, it works and I can browse the cursor and everything. Is this a setting in FoxPro that I'm missing or something? I can't understand why it returns nothing in the code window, but works just fine in the command window. Any help is appreciated. Thanks in advance!
BlackDice
SELECT table1.field1,table1.field2 INTO CURSOR crsTest
when I use SET STEP ON and step through it in the code window, it returns no cursor at all. But if I go to the command window at that same point in the code and copy and paste the same code, it works and I can browse the cursor and everything. Is this a setting in FoxPro that I'm missing or something? I can't understand why it returns nothing in the code window, but works just fine in the command window. Any help is appreciated. Thanks in advance!
BlackDice