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 ForumsReportsReportsFilter query results based on user input?Filter query results based on user input?
Previous
 
Next
New Post
4/25/2007 5:47 PM
 

I have a basic DNN 4.4.1 website & database using the 04.04.02 Reports module, and I want to be able to filter the results of a query based on a selection by the user viewing the report.

I'm using a simple Calendar module which allows user to register for events, and I want to be able for admins to view a list of the attendees of a selectable event.  Right now, I can pull the data from the Calendar db just fine, but it returns a list of people attending *every* event in the Calendar db.  I want to populate a listbox with upcoming events and have the report return a list of attendees for that specific event only.  How do I get ASP listbox and button user controls to appear and in the Reports module so I can use them?

I have basic knowledge of ASP.Net, VB.Net, and SQL; and I have Visual Web Developer Express available to play around with stuff on my machine.  Here's the basic SQL code I used to return all attendees of all events (in case it helps):

SELECT c.EventName as 'Event', c.EventTimeBegin as 'Date & Time', u.LastName as 'Last Name', u.FirstName as 'First Name', u.UserName as 'Username'

FROM ISFT_EVT_Calendar c, ISFT_EVT_CalendarSignups e, Users u

WHERE c.EventID = e.EventID AND u.UserId = e.UserID

 
New Post
4/25/2007 10:55 PM
 

Found a free module that does all of this and more.  This is what I found in case it helps anybody else out:

 

SQLGridSelectedView V4.0

http://www.tressleworks.ca/Modules/SQLGridSelectedView/tabid/82/Default.aspx

 

and it works great!

 
New Post
4/27/2007 7:05 PM
 

Many thanks for the plug...   Paul.

 
New Post
4/27/2007 7:39 PM
 

The functionality you require is planned as an enhancement for the next major release (5.0) of the Reports module. That version will introduce a generic parameter system that can pull data from User Input, Profile Data, Query String, and custom sources.


Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
New Post
7/9/2007 10:31 PM
 

brystmar wrote

Found a free module that does all of this and more.  This is what I found in case it helps anybody else out:

 

SQLGridSelectedView V4.0

http://www.tressleworks.ca/Modules/SQLGridSelectedView/tabid/82/Default.aspx

 

and it works great!

Very helpful, thanks; and thanks to you, too, Paul!  I'll check it out once I figure out what I am doing with these forms and actually get some data in the DB.  ;)

I was about to post asking whether or not there is a manual or any documentation on the reports module, as I couldn't find anything.  I was also going to ask for some examples of sites using it in advanced ways to get a visual of whether or not it will serve my needs...you have both on your site and your module looks to be just what the doctor ordered.

I am looking at using 'Dynamic Forms' for my form creation and data fields, but just learned that it lacks reporting, which is why I am now getting active reading the reports forum...think this might be my answer.

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsFilter query results based on user input?Filter query results based on user input?


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