Data Access Worldwide Knowledge Base

Article ID 2065
Article Title HOWTO: Change Thousand Separator for Winprint2
Article URL http://www.dataaccess.com/kbasepublic/kbprint.asp?ArticleID=2065
KBase Category VDF10
Date Created 11/25/2004
Last Edit Date 01/03/2006


Article Text
QUESTION:
Using VDFQuery -- the one that uses Winprint 2 -- queries with numeric fields will display the numbers with commas as the Thousand Separator.  In older version, I used to change the registry entry ThousandSeparator under HKEY_LOCAL_MACHINE\SOFTWARE\Data Access Worldwide\VisualDataflex\8\Winprint; leaving the data field blank, the commas would disappear.  

However, with the latest version of VDFQuery I have tried adding the ThousandSeparator to every place in my registry with the word Winprint without success...

How can I change that now?


ANSWER:
WinPrint 2 is designed to work like other Windows applications. It uses the Windows OS's regional numeric formatting to format numbers.

So, in order to change this you would go to Control Panel | Regional Options |Numbers Tab... and change Decimal symbol & Digit Grouping.

Important! This change will affect all Windows applications that use the Windows regional settings.


KEYWORDS:
number; comma; decimal separator


Contributed By:
John van Houten
Company: Data Access Worldwide
Web Site: http://www.dataaccess.com


Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.