Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How i know if my table have records
Message
De
28/05/1997 15:26:40
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
28/05/1997 14:24:15
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00033885
Message ID:
00033902
Vues:
65
>Hello!
>
>I would like to know if there´s any command or function to vfp says me if my table have records
>if it´s empty
>
>thanks
>Anderson Girardi

Try using the RECCOUNT() function.

Example:
IF RECCOUNT('mytable') = 0
WAIT WINDOW "My table has no records.' NOWAIT
ELSE
WAIT WINDOW "My table has records.' NOWAIT
ENDIF

Jerryt
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform