Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP3 Index Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01171211
Message ID:
01171218
Views:
6
Default however, SET EXACT or SET ANSI should not matter. The fields are CHR(3) and the variables in the seek() are len() = 3 and there is only one possible match for any given combination of country+code


>>We have an old app that is going bonkers. We have a lookup table that has an index using two fields. country+code
>>
>>Every country is fine when doing a seek(m.country+m.code,"table","IDX")
>>
>>One country, "115" fails the seek when the m.code = [3EZ] or [36Y] or [1EZ]
>>
>>If the m.code is [LA1] it passes the seek().
>>
>>The table has been reindexed several times. The values being passed to the seek() function are the right type and length. The records exist in the lookup table AND the seek() works every time when stepping through the debugger.
>>
>>Can anyone think of a reason the seek would fail at run time but not at the command window or in the debugger?
>
>SET EXACT is?
>SET ANSI is?
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform