>>Java

SelectedTax Property

Sets/returns the selected tax item.

Syntax

value = object.getSelectedTax()

object.setSelectedTax(value)

Part
Description
objectA TaxControl object
valueA string variable/expression

Remarks

The SelectedTax property is used to select the tax to be used in subsequent calculations. For example,

   TaxControl tc = new TaxControl();
   tc.setDataFilename("us.dat");
   tc.setSelectedTax("fit");

Setting the value to a nonexistent tax will cause a run-time error (see Error Messages).