Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
An Empty Table
Message
 
 
À
25/02/2012 12:47:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01536548
Message ID:
01536549
Vues:
75
>how to check that the table is empty not a field a table
>I tried with empty but it works only with field
>Thank you
IF RECCOUNT() = 0
  * Table has no records at all
...


*If table can have deleted records (assuming SETE DELETED ON)
SELECT * FROM mytable TO SCREEEN NOCONSOLE 
IF _TALLY = 0
  * Table has no none-deleted records
...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform