Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Transform(phone,
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01019262
Message ID:
01019266
Vues:
23
This message has been marked as the solution to the initial question of the thread.
Try this:

Select Padr(Transform(Mytable.Phone,"@R 99 99 99 99"), 11, " ") As Phone from Mytable


>
>? Transform(38109945,"@R 99 99 99 99")
>
>
>Returns 38 10 99 45, as expected.
>
>But:
>
>
>Select Transform(Mytable.Phone,"@R 99 99 99 99") As Phone from Mytable
>
>
>Returns 38 10, which is certainly not what I expected.
>
>I assume it's a valid expression, since VFP does not complain, but I'm clearly stretching it's capabilities.
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform