Fix Subscript Out of Range error

The fix for the "subscript out of range error (9) depends on exactly what function was trying to run when the error occurred. Always close CTI Navigator after any error occurs. 

To go to the appropriate corrective instructions, click in the following list on the function you were using when the error occurred (or go directly to the relevant section):

Data Table

Normally a "subscript out of range error" can be fixed by opening a Search Results Data Table > select Menu > File > Reset Default Table Layout. If the error always happens before you can open a data table, go to Search Listings > open a saved listing or enter a few criteria to get a reasonable number of matches > Un-check the box beside most (but not all) of the Search Criteria > click Show Results > on the Data Table select Menu > File > Reset Default Table Layout

If resetting the default table layout does not fix the error, you may need to replace the default search listing table layout file. To replace this file, close CTI Navigator > open you Internet browser > go to  www.ctimls.com/DownloadS/{YourMLScode}/SLTableLayout.tbl > Save > Save in C:\Program Files\CTI Navigator\{YourMLScode}\System\Defaults\SLTableLayout.tbl > replace the existing file of the same name (see note below for {YourMLScode}).

If the error occurs when printing or previewing tables or when using Report Display from a table, you may need to replace the data table function. To replace this function, close CTI Navigator > open you Internet browser > go to www.ctimls.com/Downloads/CTIDataTable.dll > Save > Save in C:\Program Files\CTI Navigator > replace the existing file of the same name. 

If replacing the data table does not fix the error, close CTI Navigator > right-click on Start > select Explore > browse to C:\Program Files\CTI Navigator\{YourMLScode} > double-click on the version.ini file > reduce the version number by at least 2 (such as change 167 to 165) > Close and Save changes > login and update CTI Navigator. (Note: do not change the ComponentVersion number.)

If the "subscript out of range error" occurs while you are reformatting multiple columns in a data table using the Windows right-click shortcut command, close the error. Then select the Add Column icon (add column icon image) at the top of the table and make all column changes in the "Select Table Items" screen. 

Return to the top of the page È

Taxes

The fix for "Subscript out of range" when using an installed tax database (where available) is to install the latest tax data. A temporary fix for this error (until you can download the latest tax data from the Internet or from CD) is to set the CTI Navigator to access taxes over the Internet rather than using a locally installed tax database. To change to using taxes over the Internet, open the CTI Navigator login screen > click the Setup button > click the "Tax Files" Tab > select Internet > click OK.

Return to the top of the page È

Web-Links

To fix "Subscript out of range" when using Web-links in Windows 7 or Vista (with User Account Control enabled), ensure that CTI Navigator has been assigned administrative privileges in Windows. To give CTI Navigator administrative privileges: open Windows Explorer and browse to C:\Program Files\CTI Navigator\CTI Navigator.exe (or in a 64-bit version of Windows, browse to C:\Program Files (x86)\CTI Navigator\CTI Navigator.exe) > right-click on the CTI Navigator.exe file > left-click on "Run as Administrator" > click Allow. (For more information on User Account Control and administrative privileges, click on the link to "Use Windows Vista and Windows 7" in the Related Articles at the end of this web page.) 

In other versions of Windows (or if the preceding does not resolve the problem in Vista or Windows 7) encountering a "Subscript out of range" error when using Web-links, either set the version back several numbers (such as change Version=200 to Version=190) in CTI Navigator's version.ini file (see next paragraph for how-to) and then update normally; or, if decrementing the version does not fix the error, manually correct the URL address for the link in CTI Navigator's CityInfo.ini file. You may need to contact CTI (or look in the Cityinfo.ini file on a computer where web-links work properly) for the correct Internet URL address to the website that is not working. 

To modify information in either the version.ini or CityInfo.ini file, close CTI Navigator, open Windows Explorer, browse to Program Files\CTI Navigator\{YourMLScode}, double-click on the filename to open it, make changes, and save the changes. (In a 64-bit version of Windows, browse to C:\Program Files (x86)\CTI Navigator\{YourMLScode}). Be very careful to change only the appropriate information. 

Note: Where instructions refer to {YourMLScode}, substitute CTI's 3-letter code for your local MLS. This code can be determined by opening the CTI Navigator login screen > click the Setup button > the MLS code is the first 3 letters in the Internet Server Address box.

Return to the top of the page È


Related articles and Internet links:

To return to CTI's menu of Error Fixes, click here or use the back arrow at the top of your Internet browser. To go directly to CTI's menu of Help & Tutorials, click here.

 

 

{rev. 02.19.10}