DownloadTable
A method which replaces the Tax Table named in the DataFilename property with current version downloaded from the TaxUpdate website. Internet Access is required to use this method.
Syntax
value = object.DownloadTable(username, password, level2)
object is a TaxControl instance.
Returns a float value.
Parameters
- username : A string containing the website username assigned to you by Caliber Technology LLC
- password : A string containing the website password assigned to you by Caliber Technology LLC
- level2 : A boolean which selects download of the Level 2 subscription if true.
Details
An application may automatically download the most current tax table from the Caliber Technology LLC website using this method. To minimize delay and network traffic, the application should first check the IsTableCurrent Property to determine if the local tax table needs to be updated. The file designated by the DataFilename property is replaced by the most current tax table.
Level 2 tax tables include specific tables for all local OH and PA taxes. You must have a Level 2 subscription in order to download a Level 2 tax file.