Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform Oddities
Message
From
04/07/2001 10:48:22
 
 
To
04/07/2001 10:27:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00526657
Message ID:
00526680
Views:
17
Thanks Hilmar,

I think Daniel has suggested a pretty good workaround

>I'm afraid you will have to write a function that uses str(-8.81, 20, 12) (assuming a maximum of 12 decimals), and then removes trailing zeroes.
>
>Hilmar.
>
>>That's the problem I don't know how many decimals it will be
>>
>>It's actually in a select statement built on the fly
>>
>>Select Max(_screen.Textwidth(Transform(Mytable.field1))) as column1, ;
>>Max(_screen.Textwidth(Transform(Mytable.field2))) as column2 ;
>>from tableX into ...etc
>>
Will Jones
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform