Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Formatting Report Text Boxes (2000)

    I'm trying to format the Potenza_media text box in the DatiRend report in the attached mdb so that it doesn't show decimals but for the life of me I just can't. What's wrong with such text box?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Formatting Report Text Boxes (2000)

    There is nothing wrong with the text box. Since your PotMedia function (in Module1) can return a string value in certain circumstances, the Potenza_media field in Query8 is seen as a text field. You can force it to be seen as a number field by using Val:

    Potenza_media: Val(Potmedia([Energia],[Ore_marc]))

    The field will then display the way you want in the report.

  3. #3
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Formatting Report Text Boxes (2000)

    I didn't know all that. Thank you Hans.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •