Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any value = blank value
Message
From
14/01/1999 11:36:06
 
 
To
14/01/1999 11:32:41
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00175973
Message ID:
00176000
Views:
25
>>>Is this still true?
>>>
>>>oldvalue = ""
>>>value = "anystring"
>>>
>>>oldvalue = value (returns .T.)
>>>
>>>I thought this problem was fixed long ago, but I just ran across a situation where it appears the problem was not fixed.
>>>
>>>I SET EXACT ON still the cure?
>>>
>>>regards,
>>
>>It's always considered as a feature (not bug) and SET EXACT (SET ANSI for Select-SQL) should still care about it.
>
>Hi Edward,
>
>There, now you see how far behind the times I am. Since I could never figure out any conceivable use for this "feature", I alway thought it was a "bug". Foolish me!
>
>A couple of weeks ago I was reading in the MS KB about how to test if a combobox value had been keyed-in rather than selected, and the code specified comparing ".displayvalue != .value". I tried that and it does not work where either .displayvalue or .value is blank. Someone at MS needs to learn about this "feature".
>
>So ("feature" # "bug") = .T. I get it now.
>
>Glad to see the old tried and true workarounds still work.
>
>regards,

I used to SET EXACT ON at start of any application. Anytime I reread 'String Comparison' article from Help, it drives me crazy for years :).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform