Hi, my name is sviggos and i have the following question:
i have two text boxes in a form that calculate the sum of two different values from a table.
ie. textbox 1 =Sum([Totalinvoice])
textbox 2 =Sum([Totalpayments])
in order to check if the invoices are paid or not and what is the amount of them, i created two more textboxes in order to make some mathematical calculations ie.
textbox 3 =[textbox 1]-[textbox 2]
textbox 4 =[textbox 2]-[textbox 1]
So, both text boxes 3,4 are giving the same number with a different sign depending the sum of of textboxes 1, 2(for example textbox3= 1.000,00 and textbox4= - 1.000,00)
Up to this point everyhting is ok, but
i want to show only the positive numbers in textbox 3 and textbox 4 whenever this occurs. How do i achieve this ?
i have two text boxes in a form that calculate the sum of two different values from a table.
ie. textbox 1 =Sum([Totalinvoice])
textbox 2 =Sum([Totalpayments])
in order to check if the invoices are paid or not and what is the amount of them, i created two more textboxes in order to make some mathematical calculations ie.
textbox 3 =[textbox 1]-[textbox 2]
textbox 4 =[textbox 2]-[textbox 1]
So, both text boxes 3,4 are giving the same number with a different sign depending the sum of of textboxes 1, 2(for example textbox3= 1.000,00 and textbox4= - 1.000,00)
Up to this point everyhting is ok, but
i want to show only the positive numbers in textbox 3 and textbox 4 whenever this occurs. How do i achieve this ?