This topic is locked

Passing session variables to charts

9/13/2011 2:30:50 PM
ASPRunnerPro General questions
S
SFGH author

Hi guys,
We have a dataset that consists of projects and hours invested in those projects. These projects are primarily owned by individual groups inside a department, but all the project data is stored in the same table. In ASPRunner 6.3 tables, we can pass a StrWhereAdd before the SQL query is run using a response or session variable:

if Request("Group") <> "" then

Session("Group") = Request("Group")

end if
if Session("Group") <> "" then

strWhereClause = whereAdd(strWhereClause, "dbo.tblITStaff.[Group] = '" & Session("Group") & "'")

end if


However, if we try and use the same code to generate a chart before the sql query is processed, it fails. Any ideas?

Sergey Kornilov admin 9/13/2011

It should work this way. I would ask you to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.
We'll find what's wrong and be back to you.