Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Funny index order
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00115751
Message ID:
00115784
Vues:
10
>You used to be able to index on a UDF, but I don't know for certain that you still can. If so, have it return the value as the field's actual value, unless it's zero. If zero, then it returns one more than the maximum value the field can hold.
>
>I had a scenario where I was able to build an index on a UDF. However, in the final analysis, I rejected the idea because it hindered performance, and created more code to maintain. Perhaps a filtered index might suffice.

Thanks, George, but as you likely saw by now Edward came up with several good solutions using the IIF(), similar to your idea above...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform