Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box still not Combo'ing
Message
De
27/03/2019 16:44:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/03/2019 16:39:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01667365
Message ID:
01667614
Vues:
54
>>>>>>>
>>>>>>>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
So what? I said using == operator.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform