Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with where and scan for
Message
De
24/08/2000 08:27:28
 
 
À
24/08/2000 01:58:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00408629
Message ID:
00408675
Vues:
10
>I have a field that has max of 7 chacaters, but I am only using 5 right now so I just alltrim my data as I save it to the field. I added an index to use rushmore on this field now it keeps adding in 2 extra spaces into each record of the entire table. Now when my user types in this number and my where statment and a scan for trys to compaire it doens't match. The strange thing is it is kind of intermitten. I tried to put a alltrim into the where statement, but that doesn't seem to work.
>
>
> Thanks Kelly

VFP always uses fixed length fields (except for memos and generals). If you defined the field as seven characters, it will always be seven characters.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform