Microsoft KB Archive/307450

= Variants Not Displayed When Locale Settings Not English =

Article ID: 307450

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q307450



SYMPTOMS
If the locale setting on a BizDesk client uses a comma instead of a period (.) as the decimal separator, the variant editor may fail to load and only a gray area may be shown.



CAUSE
A numeric overflow occurs because the comma is not recognized as the decimal separator.



RESOLUTION
To resolve this problem, change the sGetVariantIDs function in the Business Desk code in the Catalogs\Editor\Edit_product.asp file to the following: Function sGetVariantIDs

Dim iSize

Dim sItem Dim sItemID Dim sColumnName

iSize = CInt(100 / (UBound(g_aPvChar) + 2)) For Each sItem In g_aPvChar sItemID = sReplaceSpaces(sItem)

If (sItem = &quot;variant_id2&quot;) Then sColumnName = g_sVariantID Else sColumnName = sItem End If

sGetVariantIDs = sGetVariantIDs & &quot;&quot; & sColumnName & &quot; &quot; Next

sGetVariantIDs = sGetVariantIDs & &quot;&quot; & L_VariantPrice_Text & &quot; &quot; End Function



STATUS
Microsoft has confirmed that this is a bug in Commerce Server 2000.

Additional query words: plutonium

Keywords: kbbug kbpending KB307450

-

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

© Microsoft Corporation. All rights reserved.