index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: Creating a new report on the fly ::    show all messagesPost a New Message | Post a Reply
Oct 21 2005, 3:45 PM
 Re: Creating a new report on the flyPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

I'm not sure I've completely understood your question but I think you can use the AddHiddenSqlFilter method of the report wizard to filter the results for your reports.
i.e. You can create one report for every school/teacher and when the user logs in, the AddHiddenSqlFilter method can be used to filter their report as follows:

Dim strSchoolName
strSchoolName = Session("SchoolName") ' or Request("SchoolName")

objWiz.AddHiddenSqlFilter("Students", "SchoolName='" & strSchoolName & "'")
objWiz.Init(Connection String)

For more information on methods and properties, please check our online manual at the link below:

http://aspwebsolution.com/products/report_wizard/api_wiz.htm

Let me know if this is the solution the problem.

thanx!


-------------------------
Ghost
Pages: (1)   [1]

search this forum: