Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsAny way of passing a parameter into a report?Any way of passing a parameter into a report?
Previous
 
Next
New Post
7/25/2008 6:40 PM
 
I have set up a reports modiule instance to display UDT table data representing educational data for a single US state. I have it to the point where I can now successfully display my data for one example state, say Arizona. The state for each data row is represented by one column in my UDT table. Now I want a user to be able to select one state from a combo box list (or a page of individual links, or by clicking a SHED map, whichever choice scheme DNN is capable of) and then have my Reports instance page select and display the data for that state. I'm surprised to find that DNN doesn't seem to have any facility for setting up an HTML form, even with just one control on it, having the user do a SUBMIT, then having even one field of data input to my Reports module page as a querystring, or token, or hidden field, then having it be usable as a parameter in my SELECT statement for the Reports instance. (Actually the parameter is to a stored procedure containing my query because it's a long one, but the idea is the same). Does DNN have a mechanism for doing this? I've been assuming that I have the user select his state on one page, then generate the report from another, but would it help if I could have the selection made on the same page, with bsome sort of reposting? What I'm doing provisionally is set up a second UDT instance, containing only a one-row table containing a state name. I give my user permission to edit the table, and have set up a combo box for selecting the state by changing the one row of data. Not only is this horrendously clumsy, because I have to ask my user to go into a table edit link, select his state, hit Update, then manually link over to the Reports pge, but because this is taking place on the server side I'm totally screwed if more than one user is in my site at a time. If I do have to stay with this mechanism for passing a user choice, does DNN have any sort of session ID that I could pass in my table to eliminate the concurrency problem?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsAny way of passing a parameter into a report?Any way of passing a parameter into a report?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out