>>Client's data has SQL columns of Decimal(22,10)
>>
>>I have remote views and controls bound to those views.
>>
>>How can I let the client enter 123456789012.1234567890 and have that saved to the back end.
>>
>>Seems the best I can do in a VFP cursor is 123456789012.1235000000 which is unacceptable. (
>>
>>B(16) float doesn't seem to help.
>>
>>Do I just tell them "sorry, VFP can't handle SQL numbers"
>>
>>Do I have to fiddle something using text fields and building SPT from scratch ( completely destroying the structure of the app for a couple of field values)
>>
>>Having kind of an I hate Foxpro day.
>>
>>Any help ?
>
>As you've found, VFP only natively supports 15/16 digits of precision.
>
>Hilmar Zonneveld has made available Download#
10044 which is supposed to support arbitrary precision (I haven't used it). Maybe you can use it, or get some ideas from it.
>
>The only other approach I can think of is to split the field, into, say, one part for the integer, the other for the decimal portion. But, that's the ugly fiddling you're trying to avoid.
The download is supposed to allow calculations within Visual FoxPro. The number are stored as string. Charles can just as well accept a string and store it as such on the back-end server; I don't think my download will help in this scenario.
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)