Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seek on composite key will not find record
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Seek on composite key will not find record
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01527452
Message ID:
01527452
Vues:
87
Hi All,

I have a table witb a regular index (composite) made up of two fields namely ut_name+ut_code. The index name is UT_UNAMCOD. The fields are both of type character

I use the seek as follows to find the record:

use mytable shared in 0 order UNAMCOD

select mytable
seek val1 + val2

When I put valid values in val1 and val2 it does not find the record. If I seek on a index made up of single value the record is found but not on a composite one.

I have tried to set exact and set near in both on and off state and it makes no difference. This has worked in the past but not now.

Any suggestions on the problem.

Thanks in advance.
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform