Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Cursor Syntax Error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00034297
Message ID:
00034648
Views:
32
>I use the following code to create a cursor in the load method of a form.
>
>CREATE CURSOR curError ;
> (trantype C(15),;
> errormsg C(50),;
> partno C(20),;
> resolution C(20))
>
>It works fine in the command window, but once I try to create the cursor in a form I get a syntax error. Am I missing something? Any suggestions will be greatly appreciated.
>
>
>Thanks
>
>James Naftel
>PICS
>naftel@negia.net

James, Could you have a function somewhere called "errormsg" which is conflicting with the CREATE CURSOR command? You might try removing the fields one at a time and see if a field name is causing problems. I'd suggest leaving PartNo for last, as it's been used in so many programs around the world that it probably has its own fan club.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform