Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with records
Message
 
 
À
18/07/2006 12:45:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01137295
Message ID:
01137338
Vues:
12
Shlomo,

>I need to write code that checks if records with specific data exist in a table .

Look at the SQL-Select command:
select * ;
   from TheTable ;
   into cusor TheFoundData ;
   where SomeField = 2

if ( _tally > 0 )
   * matching data is in there
else
   * no matching data is in there
endif
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform