Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert any datatype to a string?
Message
From
11/09/2008 21:41:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01346923
Message ID:
01346931
Views:
5
>Is there a VFP function that will convert any data-type (Numeric, Interger, datetime, etc) to a string? - or anyone gotta routine to do it? There was something in the downloads section here (stringz??) but the FTP link to it is dead....
>
>Thanks!

Well, as Yelena stated, you can use transform() (VFP 6 or later), but I prefer to write my own UDF, for certain customizations. For example, use something different than ".T." or ".F." for logical values.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform