Support Knowledge Base, Article 232 |
| Product |
| ExcelWriter |
| Version |
| 3 and above |
| Title |
| Error: "Token doesn't bind to anything, or invalid: RS" when using ExcelTemplate in Classic ASP |
| Problem |
When using the ExcelTemplate object to populate an existing workbook with data markers, you may see this error which points to the .Process line in your script:
Error Type:
SoftArtisans.ExcelTemplate.1 (0x80020009)
Token doesn't bind to anything, or invalid:RS
Note: "RS" may vary depending on your script or template. |
| Solution |
| If you are using the Generic data source format like this:
%%=DataSourceName.FieldName
Then your data source assignment in your code must refer to the "DataSourceName" of your data marker like this:
oExcelTemplate.DataSource("DataSourceName") = myADORecordSet
If the "DataSourceName"'s in your data marker do not match that of your .DataSource statement in your script, you will see this error.
Refer to the ExcelTemplate Documentation for further information. |
| Related Links |
OfficeWriter Home Page
|
OfficeWriter Enterprise Edition
|
OfficeWriter Reporting Services Integration
|
Latest OfficeWriter News
|
OfficeWriter: Programmatic Runtime Control
|
| Created : 12/1/2002 12:00:00 AM (last modified : 2/13/2007 11:05:55 AM) |