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:
01442775
Vues:
67
	USE ftab                   &&added by me
*	SELECT ftab 
	
	USE addition              in 0 && otherwise it would close the previously opened table
**	SELECT addition             
	if SEEK(addition.name,  'fTab', 'Name')  &&check for name 1st
	THISFORM.UpdateResultsWindow('error name already entered')
	ELSE
	THISFORM.continue()
	ENDIF
>IT points at the Seek line

SEEK works with the INDEX set. You may want to use SEEK() as a function instead and pass the tag order as the last (3rd) parameter.

See changes I made in the code.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform