Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little tip
Message
De
07/09/2003 14:37:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
07/09/2003 11:30:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00826775
Message ID:
00826880
Vues:
25
>It is false, also if first record is NULL,empty or another string or memo field.
>
>
>CREATE CURSOR mcur ( a c(1) null)
>INSERT INTO mcur VALUES (null)
>SELECT LEFT(a,212) f1 FROM mcur INTO CURSOR pippo
>? FSIZE('f1','pippo')
>
>
>If you analize VFP indexing, you found this:
>
>VFP not support variable lenght index keys.
>
>
>INDEX ON cField        TAG tag1
>INDEX ON RTRIM(cField) TAG tag1
>
>have equal key set.
>
>Fabio

I assume VFP will index with a minimum length of 1 in this case.

In the past, problems have been reported when selecting or indexing variable-length fields. A command like:
select alltrim(FullName)...
will apparently take the length of the first record it finds to determine the total length. This is not necessarily the maximum length.
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