Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Sep 2006
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    percentage (Access 2000)

    How can i find the percentage rebate between the unit price and the end price? I tried to calculate that with the control Rebate with the followijg code :
    Me!Rebate = Me!UnitPrice * 100 / Me!EndPrice
    However i got the message that the division by zero is not allowed

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

    Re: percentage (Access 2000)

    Me!Rebate = (Me!UnitPrice - Me!EndPrice)/Me!UnitPrice
    and you format it as percentage

  3. #3
    2 Star Lounger
    Join Date
    Sep 2006
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: percentage (Access 2000)

    Thank you Groveli !

Posting Permissions

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