Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find the space
Message
 
 
À
01/11/2004 07:20:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Divers
Thread ID:
00956490
Message ID:
00956491
Vues:
8
>I have a field that is defined as a caracter, and I want to detect a space in the used part of the field (not the space at the end of the text). is there a difrence in the definithion of the two kinds of spaces? if not how can I request the space in the first 10 letters only?
>example: 06 7129361. I want to get (by select * from) only lines that there is a space in the first ten characters.
IF ( SPACE(1) $ ALLTRIM(myfield))
  ? "There's space bettwen characters"
  ...
ELSE
  ...
ENDIF
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform