Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtran() in SQL where clause
Message
De
28/08/2002 10:26:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00694135
Message ID:
00694439
Vues:
14
>Thanks, this is a good explanation for the reason why this index did not work. I did not know this!

First time I see it with strtran(), though. Problems usually appear when creating an index alltrim(SomeField).

Of course, any expression of variable length can be a problem.

As Jim pointed out, the index is internally of fixed length - the problem is that VFP uses the value of the first record it encounters (the first record in the table?) to determine the exact length of the index expression.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform