Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String is too long - revisited
Message
 
 
À
29/12/2005 15:26:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01081786
Message ID:
01081821
Vues:
15
>We don't go to vfp9 for a while, so can't use that, I thought about though.
>
>I need the action_not memo field to show up in the resulting cursor or table as a memo, in this case. If I run the select without the distinct keyword and now function around the field, no problem.
>but if I put the distinct and function around the field, I get the error, sting too long.
>
>the function can be either my UDF fixmemo, or the alltrim function.
>
The answer is simple then - don't use DISTINCT and don't use a function <g>

You may need to break it into two selects if you need distinct. Or you have to use some complex syntax to get around the problem. So, consider if two selects is an option.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform