Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set exact on does not work .
Message
From
30/07/2003 06:52:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/07/2003 06:41:39
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00814844
Message ID:
00814846
Views:
7
>Hello all,
>i have set "exact on" in a program file which has all the environmental settings but after running this file at the beginning of my application
>i do not seem to benefit from the "set exact on" effect so my seaches bring close matches like AZ200, AZ2002.
>Help please.
>TIA
>.

Sammy,
I think you mean SQL searches ? In SQL you need set ansi on instead.
However you might leave set exact and set ansi at their default settings (off) and use == instead.

ie:
lcSearch = 'AZ200'
select * from myTable where myField == lcSearch

doesn't bring AZ2002.

Cetin
Ç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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform