Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Please explain NOFILTER
Message
De
17/06/2014 13:38:21
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
17/06/2014 13:29:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01601987
Message ID:
01601991
Vues:
57
SELECT SQL for plain fields from a table results in a filter of the table rather then in a new cursor. subsequent CHANGES will alter the base table.
For your example try ?DBF() for both result sets.

Lutz
>I'm having trouble understanding what the purpose is for NOFILTER. I often do not specify NOFILTER and then I use the cursor in a subsequent SQL statement without any apparent problem.
>
>Also, I've heard the following statement:
>
>"I believe VFP 5 doesn't have the NOFILTER clause; therefore I included an extra field in the following SQL, which should produce the same effect."
>
>
>SELECT CustNo, Sales, .T. as DummyField FROM Table1;
>  UNION ALL SELECT CustNo, Sales, .T. as DummyField FROM Table2;
>  INTO CURSOR Temp
>SELECT CustNo, sum(Sales) as Sales;
>  FROM Temp INTO CURSOR TempSummary
>
>
>How does this take the place of NOFILTER?
>
>Thanks,
>
>Yossi
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform