Skip to Content

Smartform QUAN type field decimal places

Hi all, i have a smartform with a type QUAN field. It has 3 decimals and i don't want to write them. I try (.0) option but it give me an error. In debug i found that that option is not allowed for type QUAN field. Is it wright?

Regards

Roberto

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 02:56 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 02:58 PM

    You can declare a variable in the Global definitions of type P Decimals 2. Move the quantity to this variable and then write it.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 03:01 PM

    Hi,

    Declare a Global variable of length 13 and move that QUAN value to this field and print this value

    &Field(.0)& will not work but &Field(.1)& will work

    Regards

    Sudheer

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.