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!

New bug? in passing variables to more than 1 question.
Last Post 11-16-2007 11:35 AM by Chad Nash. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
AndyUser is Offline
going with the flow
going with the flow
Posts:38
Avatar

--
11-14-2007 09:14 AM

    Here's a new one.  Take another Tylenol then see if this makes sense.

    Using a table, with things and categories for example.

    Question 1, combobox populated with an SQL query of table1, Selection sets $variable1.  (select columnA as questionoption from db.dbo.table1). Returns a list of 'things'. Works fine.

    Quesiton 2, questionevent listbox populated with an SQL query of table1, using $variable1 and sets $variable2.  (select columnB as questionoption from db.dbo.table1 where columnA=$variable1) . Returns a single 'category' from columnB for the 'thing' selected. Works fine.

    Question 3, questionevent listbox populated with an SQL query of table1, using $variable2. (select columnA as questionoption from db.dbo.table1 where columnB=$variable2).  Should return a list of other 'things' that are in the selected 'category'.  It returns some selected records but NOT the ones in 'categoryA' for instance, rather it returns a list of 'things' in 'categoryB' for some reason.

    The result should be:
    Thing:           Category:         All things in Category
    WidgetA       Widgets            WidgetA, WidgetB, WidgetC

    What the result actually is:
    Thing:           Category:         All things in Category
    WidgetA       Widgets            GizmoA, GizmoB, GizmoC

    It appears that the second variable is getting corrupted (padded) somehow and simply pulling the wrong 'set' of records.  In the above example, 3 Gizmos appear from the Gizmos category rather than the 3 Widgets.  It's like it wants to pull the 3 records you ask for, but it's requesting the NEXT 3...  as if the query is 'counting' the number of matching records (3), then requesting the records (start at row 4, get next 3).  It's been pretty consistent so far.  If the matching records come from rows 5,6,7 I get returned data from 8,9,10. 

    ????

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    11-16-2007 11:35 AM
    Hmmmm... Yes this is VERY odd. If you (in Question 3) actually select the value itself what does it return as?

    For example,
    Select '$(Variable2)' as QuestionOption, '$(Variable2)' as QuestionOptionValue etc... What appears then? This can help us debug what is actually getting set for the query.
    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