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.
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.