I use CREATE CURSOR and explicitly define fields. I've had the exact same thing happen before, but I had only made one change and knew where to look. In that case I tried to take the STRING of a Character variable about 200 lines below the CREATE CURSOR statement. Of course I first spent about an hour trying to figure out what was wrong with my CREATE CURSOR statement! I can get around this by remming out the entire statement, but oddly enough I cannot skip over it in the debugger. Thanks for your help.
Marcus.
>I know you said there's nothing wrong with the CREATE CURSOR command, but how are you creating the cursor with the command, defining the fields explicitly, FROM ARRAY, etc...
>Looking at this may help determine what's going on...
>Mark
>
>>I am not used to the VFP6 debugger, and I never used VFP5's debugger so maybe I'm just missing something. I have a .PRG that I made some changes to and now generates a 'Function argument value,type or count is invalid message'. In VFP3 this was no problem, I would choose suspend and the offending line of code would appear. In VFP6 the debugger takes me to my CREATE CURSOR statement where I know there is no problem. I even tried stepping through line by line. When it hits the CREATE CURSOR statement, it stops advancing on the screen. If I step through another 100 times or so I eventually get the error message, although the debugger is still showing me the CREATE CURSOR statement. Is this normal? Am I just missing something with PRGs? Please help, and thank you for your time.
>>
>>Marcus.
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