Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Support for .NET String.Format() string output
Message
From
20/06/2005 11:11:40
 
 
To
19/06/2005 23:14:50
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Miscellaneous
Thread ID:
01024701
Message ID:
01024863
Views:
16
Hi John,

String.Format() supports a rich set of formatting codes. Please see this reference:

http://radio.weblogs.com/0106479/stories/2002/12/10/stringFormattingInC.html

Textmerge() and transform() work great if you just need default output (as demonstrated by your example), but if you need to control specific formatting characteristics (date/time components, number of digits with leading chars, etc) in a CONSISTENT format between VFP and .NET, then you need a VFP Format class that accepts .NET style formatting strings and generates the equivalent output.

Does this make sense?

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform