Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box still not Combo'ing
Message
De
27/03/2019 16:39:52
 
 
À
27/03/2019 16:34:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01667365
Message ID:
01667613
Vues:
53
>>>>>>
>>>>>>Right, I forgot that the length was irrelevant, as long as lname and fname are trimmed.
>>>>>
>>>>>If it is not leading spaces, then no trimming is needed. Trailing spaces are unimportant.
>>>>
>>>>For DBF's they are.
>>>
>>>No they are not. We are talking about SQL, no?
>>
>>Yes, I meant that trailing spaces must be trimmed when you use SQL syntax against DBFs. (You made me unsure, so I just tested it).
>
>I am not sure what you have tested. When using SQL, with == operator, trailing spaces are not important. I have posted demo code here on UT many many years ago and also you can find the demo codes on Stackoverflow VFP guide (posted there too).
Select * from (Home(0)+'foxcode.dbf') where abbrev = 'C ' && No record
Select * from (Home(0)+'foxcode.dbf') where abbrev = 'C' && Many records
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform