Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filtering all records
Message
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 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01414865
Message ID:
01414990
Vues:
56
This message has been marked as a message which has helped to the initial question of the thread.
Hi Naomi,

>I have an ability to filter the content of cNotes (using SET KEY approach).

SET KEY and LOCATE are competing commands. LOCATE doesn't optimize when a table has SET KEY enabled. GO TOP is better in this case.

>My problem is - if all records were filtered out, what and how should I show at the top portion? I would assume I would need to show blank information, but how exactly?

Sure the controls would take care of this themselves? Just move the record pointer to EOF (happens automatically with the first LOCATE) and let the controls deal with it. VFP's controls handle EOF() just fine by displaying read-only blank content.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform