ReportLanguage Error

This public forum is for user-to-user discussions of ASP Report Maker. Note that this is not support forum.

ReportLanguage Error

Postby JAW » Mon Dec 12, 2016 12:25 am

Hello,
I have upgraded a project to ASP Report Maker V9 from V8. When I generate the files I get the following error.

<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01b6'</font>
<p>
<font face="Arial" size=2>Object doesn't support this property or method</font>
<p>
<font face="Arial" size=2>rptinc/ewrfn9.asp</font><font face="Arial" size=2>, line 21</font>

I open the ewrfn9.asp file and on line 21 is the following code.

Function CurrentLanguageID()
CurrentLanguageID = ReportLanguage <<<<< LINE 21
End Function

I comment line 21 out so it is like this.

Function CurrentLanguageID()
'CurrentLanguageID = ReportLanguage
End Function

and the error disappears and the page loads fine. The problem is I need to do this every time I generate the files. I do not want to edit the Template file, I would rather know why this is happening and how to resolve it in the program.

Can anyone shed light on this issue?

Thanks
JW
JAW
 
Posts: 65
Joined: Tue Nov 20, 2012 8:26 pm

Re: ReportLanguage Error

Postby motfs » Tue Dec 13, 2016 12:46 pm

Modify the function "CurrentLanguageID" to use gsLanguage e.g.:

Function CurrentLanguageID()
CurrentLanguageID = gsLanguage
End Function
motfs
 
Posts: 710
Joined: Tue Sep 08, 2015 4:55 pm


Return to General Discussion (ASP Report Maker)