Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Order
Message
 
 
À
08/01/2010 10:55:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01442768
Message ID:
01442778
Vues:
58
You have to specify which index to use for seek. The best way is to use SEEK() function
IF SEEK(addition.name, "addition", "IndexTagToUseForSeek") 
>	USE ftab                   &&added by me
>*	SELECT ftab 
>	
>	USE addition              
>	SELECT addition             
>	SEEK addition.name  &&check for name 1st
>SCAN &&added my me
>	IF FOUND()
>	THISFORM.UpdateResultsWindow('error name already entered')
>	ELSE
>	THISFORM.continue
>	ENDIF
>	*SELECT addition
>ENDSCAN
>
>IT points at the Seek line
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform