Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Problem
Message
From
11/05/2005 11:46:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01006236
Message ID:
01012924
Views:
56
A late Thank you!

>VFP cannot create filtered cursor when query involves more than one table. Basic requirements for filtered cursor:
>- Only one table is referenced by query
>- WHERE condition is optimisable and can be represented by SET FILTER TO
>- Either all fileds from the table are selected or subset of fields can be limited by SET FIELDS command
>
>
>
>>Thanks. In fact the VFP help says:
>>
>>
>>NOFILTER creates a cursor that can be used in subsequent queries.
>>
>>
>>So why does this work:
>>
>>
>>SELECT Lotmast.lm_flcode FROM ;
>>    it!lotmast ;
>>    INNER JOIN it!flckmast ;
>>   ON  Lotmast.lm_flcode = Flckmast.fm_flcode ;
>>   WHERE SUBSTR(lm_flcode,5,4) >= '2026' ;
>>   INTO CURSOR curs1
>>
>>  SELECT * ;
>>  fROM curs1 ;
>>  INTO CURSOR curs1a
>>
>>
>>Thanx-
>>Yossi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform