>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)
#define CREATE *
CREATE CURSOR BYBY (AA I;
,BB C)
? USED('BYBY')