Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for PROPERTY instead of Field ???
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00200717
Message ID:
00200722
Views:
10
>Ok... I'm stumped ( and more than a little frustrated !! )
>
>This code:
>
>
>    SELECT * FROM SRCFILES WHERE JOBNO = cJobNo INTO CURSOR MySrcFiles
>    nTotSrcFiles = _TALLY
>
>    SELECT SRCFILES
>    SCAN
>      .
>      .
>      .
>    ENDSCAN
>

>
>dies at the SCAN command with error #1734: Property CJOBNO is not found...
>
>Two questions:
>
>Why does it think that cJobNo is a property since this variable is used in the previous command successfully?
>Why is it looking for cJobNo at all in the beginning of a SCAN loop?
>
>The form in question uses the default data environment and the file SRCFILES has no filter set or anything. The form has no property named cJobNo either...

Don't know exactly what's going on, but you might try adding NOFILTER after the cursor in your SQL. Sometimes strange things occur on filtered tables...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform