If you want in_buyPrice * (1-in_discount ) to be divided by 100:

( ( in_buyPrice * (1-in_discount) ) /100 )

If you want in_byPrice to multiply (1-in_discount)/100

( in_buyPrice * ( (1-in_discount)/100) )

Bruce

------ Original Message ------
From "'Tony IJntema' via RBASE-L" <[email protected]>
To [email protected]
Date 1/23/2025 12:50:31 PM
Subject Re: [RBASE-L] - Stumped

is the closing bracket at the right place or should it be (1-In_discount)/100

Tony

Op 23-01-2025 om 20:26 schreef Tom Hart:
I have the following variables in a new database and cannot get In_SellingPrice to populate a field in the form. I have the same code but with other names in an older database. I am using the current RB11. THe cost and discount returns correct values. Any clues:

Tom Hart


image.png

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/rbase-l/CABX9BNdTn_AfO7TAYKoez_2csmKz3%3D0Ad-F%2BFoyyCaXXRRb1Hg%40mail.gmail.com <https://groups.google.com/d/msgid/rbase-l/CABX9BNdTn_AfO7TAYKoez_2csmKz3%3D0Ad-F%2BFoyyCaXXRRb1Hg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/rbase-l/d7acfd21-cfec-419c-be5d-fb8f8f255fd5%40cio-bv.nl <https://groups.google.com/d/msgid/rbase-l/d7acfd21-cfec-419c-be5d-fb8f8f255fd5%40cio-bv.nl?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/rbase-l/emaa857a47-9571-4e3c-bcd0-1bf8d9ed0d5a%40fbb158ec.com.

Reply via email to