FYI - I tested it in VFP8 and it worked fine.
>I didn't test and don't know. Guessed it was 7:)
>Cetin
>
>>Ok, thanks
>>
>>This is a VFP7 project. DO you know if this issue persists in 8/9 also?
>>
>>>Kevin,
>>>Known issue. You found the correct way. Or alternatively assign to a memvar first and use memvar.
>>>PS: Don't forget to prefix memvar with m.
>>>Cetin
>>>
>>>>I have the following segment of code:
>>>>
>>>>
>>>>
>>>>WITH This
>>>>
>>>> SELECT FSPrefs
>>>> SET ORDER TO RowId
>>>>
>>>> LOCATE FOR ProductId = .nProductId AND;
>>>> RowId = cRowId AND;
>>>> OptionNo = nOption
>>>>
>>>> IF FOUND()
>>>> *** Some code here
>>>> ENDIF
>>>>
>>>>ENDWITH
>>>>
>>>>
>>>>
>>>>This errors out saying 'nProductId not found'
>>>>
>>>>If I include the 'This' statement in front if the 'nProductId' property, it
>>>>works fine:
>>>>
>>>>
>>>>
>>>>WITH This
>>>>
>>>> SELECT FSPrefs
>>>> SET ORDER TO RowId
>>>>
>>>> LOCATE FOR ProductId = This.nProductId AND;
>>>> RowId = cRowId AND;
>>>> OptionNo = nOption
>>>>
>>>> IF FOUND()
>>>> *** Some code here
>>>> ENDIF
>>>>
>>>>ENDWITH
>>>>
>>>>
>>>>Anyone know whats going on here?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people