Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box still not Combo'ing
Message
From
27/03/2019 16:39:52
 
 
To
27/03/2019 16:34:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01667365
Message ID:
01667613
Views:
52
>>>>>>
>>>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform