Skip to Content
avatar image
Former Member

Values are varying while printing in smartforms.

In back side printing of quality parameter the value of properties : SPGR is not coming as per maintained in quality inspection pan.

Actual data in table is 0.96 but while printing that data in smartforms , it changes to 0.95999 .

I want exact data.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 15, 2015 at 04:06 PM

    Hi,

    If this is a quantity you need to associate it with a field containing the unit of measure in the smartform.  Check the tab 'Currency/Quant. Fields' in the form Global definitions.

    Regards,

    Nick

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2015 at 02:12 PM

    Hi,

    Smartforms just print what you ask it to.

    The problem is with the variable data type which is used to print it on the smartform. Probably, you need a 2 decimal variable but you are using a 5 decimal variable to store the value.

    Use a variable with 2 decimal length and the issue will be resolved.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2015 at 03:58 PM

    Hi,

    If  you want to display 2 decimal places in smartforms then use

    &fieldname(.2)&

    thanks!!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2015 at 04:44 AM

    Hi

    Declare a variable as

    Data val1 type p decimals 2.

    and then move your data to val1 variable and display in Smartforms.

    Regards

    Suganya

    Add comment
    10|10000 characters needed characters exceeded