Microsoft KB Archive/135701

= FIX: TTOC Returns More Than 14 Characters =

Article ID: 135701

Article Last Modified on 3/24/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q135701



SYMPTOMS
TTOC({},1) returns more than 14 characters.



WORKAROUND
Use the following expression to provide a proper 14-character string:

IIF( =={}, replicate("0",14), TTOC(, 1))



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.



Steps to Reproduce Problem
?TTOC({},1) &&"000000000478376201" ?TTOC(CTOD(' /  /  '),1)   &&"000000000478376201"

Additional query words: 3.00 VFoxWin fixlist3.00b buglist3.00

Keywords: kbbug kbfix KB135701

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.