>>.NET

SelectedTax Property

Sets/returns the selected tax item.

Syntax

value = object.SelectedTax

object.SelectedTax = 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,

   CTaxControl tc = new CTaxControl();
   tc.DataFilename = "us.dat";
   tc.SelectedTax = "fit";

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