Results 1 to 2 of 2
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Me.Label10.Caption = Format(TOT_PR, "#,##0")
    Me.Label17.Caption = Format(TOT_PR, "#,##0")
    Me.Label11.Caption = Format(TOT2_PR, "#,##0.00")
    Me.Label26.Caption = Format((Me.Label10.Caption / Me.Label17.Caption), "#,##0") * 100 & " %"


    in effect all labels have value "0"

    how to menage this error?
    note: var TOT_PR is dimnsioned As Double

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    According to your code, Label10 and Label17 always have the same caption, so why do you want to calculate Me.Label10.Caption / Me.Label17.Caption ?

Posting Permissions

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