Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another Find Dialog Question
Message
De
28/03/2003 15:41:56
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00771330
Message ID:
00771532
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform