跳到主内容

搜索

搜索

Vbscript To Format Weight From Scale

评论

1 条评论

  • Avatar
    Ian Cummings
    版主

    It will need to be of a text data type for the particular data source.  I suggest you use the application identifier wizard to create the data sources for your GS1 barcode as it will handle and preconfigure these validation options for you.

     

    When you do this the VB script will be as below.  Note however that the value will be expected to be a valid numeric value with a character filter of: 0123456789.,eE-+

     

    Value = ConvertToEANUCCSevenDigitMeasurement(Value, 3)

     

    If coming from a database field, be sure to set the sample data to be a numeric value in order to avoid a design time error.

    0

请先登录再写评论。