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 ForumsReportsReportsSetting Up Reports ModuleSetting Up Reports Module
Previous
 
Next
New Post
7/25/2008 7:12 PM
 

I have a database table that I created and is filled by a forms module from user input. Currently I can display all the rows in the table I created.

For instance, the following SQL statement works correctly and displays all the rows.

Select * from DAWNArtCommTable

I would like to display only the rows of a table that have a certain value in a column.

For instance, the following SQL statement would get only the rows where ArticleID is Hello2 and this statement does work correctly on the reports module

Select * from DAWNArtCommTable where ArticleID='Hello2'

And most importantly can a variable be brought in through the http querystring and then go into the SQL string?

For instance, something like the following

Select * from DAWNArtCommTable where ArticleID=MYVARIABLE

With the following added to the end of the address or the DotNetNuke page that the reports module is on.

?MYVARIABLE=Hello2

And then I would like it to display differently than everything in column and rows.

Is there some way to display cell info where I want on a page. For instance of one cell would be displayed on on the first row and then each roll under that the next cell and in some page rows have more than one piece of information. And then for a each table row have that format like in HTML. Something like a guestbook where all the guestbook records are shown but they aren't in a direct spreadsheet looking page.

And you know where I can find examples of of SQL statements. I've access Microsoft access databases and the statements are very similar to SQL statements. I have written some SQL statements but it has been awhile. 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsSetting Up Reports ModuleSetting Up Reports Module


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