Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Transform(phone,
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01019262
Message ID:
01019266
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform