Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Using SQL to extract Dynamic Registration user submittal
Last Post 01-14-2010 12:38 PM by David To. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
David ToUser is Offline
river guide
river guide
Posts:2719
Avatar

--
01-14-2010 12:38 PM

     HI, below is a quick SQL tutorial on extracting a user's registration information without using Dynamic User Directory. Just plain transact SQL statements.

    The two SQL tables you want to look at are: (DynamicRegistration_Question, DynamicRegistration_QuestionResponse).

    The columns you're interested from table DynamicRegistration_Question are: DynamicQuestionID, Question,PortalID,ModuleID,ShortfieldName).

    NOTE:

    DynamicQuestionID: is the primary key (ID) that is the reference key to all the other tables

    Question: that’s the question label on your Dynamic Registration page

    PortalID: the portalID of your DR page

    ModuleID: the moduleID of your DR page (so you can have multiple DR modules on the same page or other pages)

    ShortfieldName: that’s the shortname you’ve specified on each field

    All the answers are stored in the DynamicRegistration_QuestionResponse table. Columns you are interested in are:

    DynamicQuestionID:  this matches up with the “DynamicQuestionID” in the DynamicRegistration_Question column field

    Response: This is the answer to the question

    UserID: This is the UserID of the user who the answer belongs to

    Sow now you have the relationship to retrieve the questions / answers to your Dynamic Registration page on a portalid / moduleid / userid basis.

    For example, if your DR form is on Portal 0, have a moduleID = 20, and you want to obtain all the information that userid = 10 filled out, then use an inner join on the tables like this:

    Select DRQ.question, DRQ.moduleID, DRQ.shortfieldname,DRQR.Response,DRQR.UserID from

    DynamicRegistration_Question DRQ inner join DynamicRegistration_QuestionResponse DRQR on

    DRQ.DynamicQuestionID = DRQR.DynamicQuestionID where DRQ.portalID = 0 and DRQ.moduleID = 20

    And DRQR.UserID = 10

    -- David

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi