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!

Another dynamic form problem
Last Post 01-28-2007 08:27 PM by Paul Jenrow. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Paul JenrowUser is Offline
skipping stones
skipping stones
Posts:17
Avatar

--
01-28-2007 08:27 PM

    Continuing on with my project to implement a questionnaire using Dynamic forms to be calculated via Tailored Text...

     

    I have attempted 2 approaches to convert a yes/no answer to a number value.  My first approach was to use a SQL generated question source for my radio button Yes/No questions.  Using a t-SQL statement as follows:

    --

    SELECT txtAnswer as QuestionOption, intAnswer as QuestionOptionValue
    FROM SWEEPNConvert

    --

    allowed me to send a 1 or 0 to the Tailored Text module while showing a yes/no on the form.  This worked fine and I was very happy! My questionnaire has 30 questions, so I entered the first 20 and tested the form.  It now takes slightly over a minute just to load.  This seems to be painfully long, and it makes the application almost unusable. 

     

    My second approach was to create SQL tokens on the Tailored Text module in order to convert the Yes/No query string to a 1/0.  I created a Stored Procedure, tested it in Query Analyzer, and it worked.  I ran the calling code in Host SQL, and got no error, so I added the following SQL code to the first three questions in the Tailored Text module. 

     

    ---

    DECLARE @QValue int
    EXECUTE prSWEEPCalc '$(Q1)', @intTotal1 = @QValue OUTPUT
    PRINT @QValue

    ---

     

    Now, the Tailored text module takes about a minute to load, and something fails on the parsing here, since the resulting text in the Tailored text module is 'Yes' or 'No' rather then 1 or 0. 

     

    My questions are, is there any way to make the Dynamic form run in some reasonable manner with SQL derived answer options, and is there any obvious reason why my tailored text tokens are just passing through the query string and not running the Stored Procedure.  Also, is there any way to speed execution times on the Tailored text module?

    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