Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for PROPERTY instead of Field ???
Message
From
22/03/1999 18:42:24
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00200717
Message ID:
00200739
Views:
12
>>>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...
>>>
>>>Any help is greatly appreciated
>>>
>>
>>Larry, I don't see anything obvious in what you've given us, but I'd go through the code in detail and see if somewhere there's a line where .cJobNo is being found rather than just cJobNo; that's bitten me before. if you use macro expansion, check to see if maybe there's an extra '.' in a macro expression.
>>
>>>TIA
>
>That's exactly what I'm doing... but it's been about three hours now, so I thought I'd ask if there's any known issues that I'm not aware of...
>

One more off the wall thing to look at - if SRCFILES isn't a table, but is a view, it's possible that something is screwed up in the ivew. If it is a view, it may be time to go snipe hunting in the .DBC!

>Thanks
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform