Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Somehow I'm not creating a cursor??
Message
From
02/11/2005 13:09:44
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01064491
Message ID:
01064608
Views:
39
>I have a class, in this class is this bit of code
>
>
>Create cursor mainlookup(PSPATH C(50),;
>			TOTPACKETS C(10),;
>			TOTRECORDS C(10),;
>			TOTIMAGES C(10),;
>			TOTPULLS C(10),;
>			FAILED C(100))
>
>messagebox(alias())
>
>
>when it is called the alias() shown is blank, I appear not to have created a cursor, or if I have it's not available,
select mainlookup
fails.
>
>the code in the command window works fine, and it has been working fine with almost this code, something has happened, and I'm now a bit stuck
>
>any idea what could be causing this? an environment setting or something?
>
>
>Ken.

This is another situation to remember (VFP doesn't have reserved words)
* remove VFP CREATE command
#define CREATE *

CREATE CURSOR BYBY (AA I;
		   ,BB C)
					
? USED('BYBY')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform