hi everyone,
i have 3 quick questions. they all relate to unbound calculated controls (text boxes) on a form. i have a form with a section that looks similar to a spreadsheet. there are 3 columns (controls) and the first two are bound text boxes. the third column is a calculated control (text box) which returns the product of the first two columns and scales the value. my questions are as follows:
1. the calculated control is returning values with 6 decimal places and i want to limit it to two. i went to the text boxes' properties and under "format" i selected 2 for decimal places, but it still is returning 6 decimal places.
2. on that same calculated control i want the default value to be zero because the corresponding bound controls (text boxes) that the calculated control is references can be Null. so if this happens i want the calculated control to return zero. i went to the calculated controls properties and under "data" i set the default value to "=0" but the calculated control is empty.
3. lastly i have a calculate control that sums the values of the all the calculated controlsl previously mentioned. i input the formula but the text box doesn't return anything. i check my references with the code build expression builder and it seems to be correct.
if anyone could help me with these problems, i would be extremely grateful. thanks everyone and have a nice day.
i have 3 quick questions. they all relate to unbound calculated controls (text boxes) on a form. i have a form with a section that looks similar to a spreadsheet. there are 3 columns (controls) and the first two are bound text boxes. the third column is a calculated control (text box) which returns the product of the first two columns and scales the value. my questions are as follows:
1. the calculated control is returning values with 6 decimal places and i want to limit it to two. i went to the text boxes' properties and under "format" i selected 2 for decimal places, but it still is returning 6 decimal places.
2. on that same calculated control i want the default value to be zero because the corresponding bound controls (text boxes) that the calculated control is references can be Null. so if this happens i want the calculated control to return zero. i went to the calculated controls properties and under "data" i set the default value to "=0" but the calculated control is empty.
3. lastly i have a calculate control that sums the values of the all the calculated controlsl previously mentioned. i input the formula but the text box doesn't return anything. i check my references with the code build expression builder and it seems to be correct.
if anyone could help me with these problems, i would be extremely grateful. thanks everyone and have a nice day.