Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Reports Module ...  How To Report ODSForm
Previous Previous
 
Next Next
New Post 7/16/2007 10:54 PM
User is offline Robert
11 posts
dewittjrpanthers.org
10th Ranked


How To Report ODSform 
Hi,

I am trying to generate a report based on data collected by ODSform. Problem I'm running into is that the data from the questions are stored in a way I'm not familiar with and am not sure how to get at.

The table is called:
ODSformSubmission

The Fields in the table are:
formSubmissionID,
ModuleID,
PortalID,
SubmissionDate,
Submission,

The form questions and answers are all stored in the "Submission" Field as below.
*** Name *** MyName *** Address *** 123 MyAddress *** City *** MyCity ***

I have created a simple report in the reports module using:
SELECT ODSformSubmission.*
FROM ODSformSubmission;

What I get back looks like this:
formSubmissionID ModuleID PortalID SubmissionDate Submission,
1 391 0 7/12/2007 4:55:21 AM *** Name *** MyName
*** Address *** 123
MyAddress *** City
*** MyCity ***
2 391 0 7/12/2007 4:57:50 AM *** Name *** MyName
*** Address *** 123
MyAddress *** City
*** MyCity ***



Does anyone know what this is called?
Does anyone know how to seperate the date out of the submission field?

Any help is greatly appreciated!!!
Thanks.
 
New Post 7/19/2007 2:20 PM
User is offline Robert
11 posts
dewittjrpanthers.org
10th Ranked


Re: How To Report ODSform 
Helloooooooooooooo, any one out there?

Did I stump the Guru's?

Still hoping to find some insite on this.

Please!!!
 
New Post 7/19/2007 5:33 PM
User is offline Make Portal
165 posts
9th Ranked


Re: How To Report ODSform 

I suggest you contact the developer of OSDform to obtain the required information.

 
New Post 7/30/2007 9:57 PM
User is offline sagearch
13 posts
www.spoke.net.nz
10th Ranked


Re: How To Report ODSform 

I'm currently trying to do the same on some of my sites. No final solution so far, but the link below demonstrated a possible lead, which I'll be checking out this evening.

http://www.dpawson.co.uk/xsl/sect2/N1755.html - see point number 2, regarding CSV data - something similar should be doable with the three asterixs too... Will let you know tomorrow if it works.

 
New Post 8/1/2007 6:22 PM
User is offline sagearch
13 posts
www.spoke.net.nz
10th Ranked


Re: How To Report ODSform 

Success!

Scrap the xsl, and just use a SQL query.

In our case, we had to pull out bids for an auction, names, and the time/date column from the submissions table:

SELECT top 4 CAST (substring(Submission,charindex('$',Submission),800) AS money) as [Leading bid],SubmissionDate as [Bid Date/Time], substring(Submission,
                       charindex('name ***',Submission)+8,
                       10) as [Bid by]
       from databasename.dbo.ODSformSubmission
        WHERE ModuleID= 5651 AND charindex('$',Submission) > 0
Order by [Leading bid] DESC

 

In your case you can scrap the money conversion, but I'd imagine you'll have to use a pair of nested subtrings for each item - i.e. one to trim off the "Name ***" before the name, and another to trim from "*** Address" on.

Hope that helps.

 

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Reports Module ...  How To Report ODSForm
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP