This topic is locked

Charts Security

3/1/2009 1:21:23 AM
ASPRunnerPro General questions
lefty author

I have a project that I added a Chart view. In the security settings I have setup users can see and edit thier own data. The problem I have is the chart shows data for all records. The table data works fine but the chart shows all data. Build 766 6.0
Also , Evaluation Version still shows on the charts after downloading and extracting charts file to correct directory in 6.0 .

Sergey Kornilov admin 3/2/2009

John,
to fix the charts edit C:\Program files\ASPRunnerPro6.0\source\dchartdata.asp file.
Add line in bold and rebuild your project.

strWhereClause = CalcSearchParameters()

strWhereClause = whereAdd(strWhereClause,SecuritySQL("Search"))



strSQL = gSQLWhereAdd(strWhereClause)


In order to remove Evaluation version from charts you need to download and install the registered version of charts package. See your registration email fro more info.

If you need more help in this regard open a ticket at http://support.xlinesoft.com