Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing a memo field to a character field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01044753
Message ID:
01044766
Vues:
11
>What is the problem with indexing the memo field? You could do it like:
>
>index on padr(memofield, 100) tag ....
>
>Otherwise you may add a character field to the table and replace its value with teh value from memofield.
>
>>I need to change an existing memo field to a character field because the client now needs to be able to sort on that value. The size is not a problem because the longest value is about 75 characters. When I change the datatype all values in the memo field get lost. What is the best way to handle this (VFP5)?
>>
>>Thanks.


Thanks Yuri. This is OK but I am having a problem using the index in an SQL SELECT. I am getting an 'ORDER BY clause is invalid.' error.
Ernest
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform