On Fri, 29 Feb 2008 21:13:05 +0100, you wrote:
>On Fri, 29 Feb 2008, [EMAIL PROTECTED] wrote:
>> Hi ppl,
>> With ADS, if the double field have large values like 1234567890123,
>> harbour displays ******** instead a value.
>> If I use str(field,20) the value is displayed correct.
>
>Not only double. In ADS* RDDs non of numeric binary field sizes is
>translated to valid size for decimal representation, f.e. the same
>is for short ("I"/"short",2,0) and integer ("I"/"integer",4,0) when
>the decimal representation will be bigger then 2 or 4 digits.
>In each numeric item we keep default size for str() formating and
>ADS RDDs sets this size to binary field size instead of maximum size
>for binary representation. AFAIR this problems exists from the beginning.
>It's only formatting problem when you do not explicitly set the size
>but if you want to fix it then you should set valid size in adsGetValue()
>function. It will be few lines only. You can take maximum sizes for all
>types from dbf1.c or other RDDs I was working on (f.e. s_uiNumLength
>translation table in delim1.c can be used for all integer sizes in
>range 1,8)
>
Thanks Przemek for your answer. I don´t have problems with this issue.
I only report because I think that is a bug.
Best regards,
Toninho.
_______________________________________________________
Yahoo! Mail - Sempre a melhor opção para você!
Experimente já e veja as novidades.
http://br.yahoo.com/mailbeta/tudonovo/
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour