Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP3 Index Problem
Message
From
20/11/2006 12:13:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01171211
Message ID:
01171217
Views:
8
>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?

Check the collate sequence for that tag. If it's not MACHINE, then you should distribute foxpro.int file with the executable (for all versions of Fox between 2.6 and 7 - not sure about 8, probably not, and definitely not needed for 9).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform