Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another Find Dialog Question
Message
From
28/03/2003 15:41:56
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00771330
Message ID:
00771532
Views:
13
>Still no match. I have a name I type in of MILLER BILL and it still does not find it. Do I need to do something special to tell the Find Dialog I am searching on two fields?
>
>Actually upon closer checking, the above will not even find it if I only type in the last name of MILLER.

Have you reindexed in the way I have stated, ie., padding all keys to the same length? Then try again. I checked into the CM help and it states that the find class will support simple field concatenation although I have never used the find dialog in this way so on this occasion, no experience. However, if you haven't padded the index to the same length, I am fairly sure that VFP stores each key at different lengths therefore making the index inefficient. So, it *might* be that you are comparing two string of unequal length when you type in the value in the search box compared against variable length keys. Understand what I mean?
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform