Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box still not Combo'ing
Message
De
27/03/2019 17:14:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/03/2019 17:06:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01667365
Message ID:
01667618
Vues:
54
>>I said using == operator:
>>
>>
>>local id
>>Id = "BONAP"
>>Id = "BONAP                                      "
>>
>>Select * from _samples + 'data\Customer' ;
>>where Cust_id == m.Id
>>
>>Id = "BON" && no spaces but no match as well
>>
>>
>>
>>Either field cust_id or m.id might have as many as trailing spaces you wish. During select trailing spaces would be automatically removed for comparison (also check SET ANSI).
>
>Yes, and that's because the string you search for is longer that the field value, and every character match up to the length of the field. Try ID = "B ".
>
>BTW I have Set Ansi Off, which makes a big difference.
>
>NB! Let's leave it, I'm going to bed.

OK :) But you seem to be unaware that == behaves like an implicit SET ANSI ON.
Ç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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform