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!

Initial SQL Binding with Session Value
Last Post 10-22-2012 04:32 AM by Ryan Bakerink. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
DanielUser is Offline
going with the flow
going with the flow
Posts:40
Avatar

--
12-01-2010 12:11 PM
    Hi -  I am trying to do some initial binding by using a session variable passed from another form and it doesnt seem to be working. Is there a trick to it that I am missing.

    I have the field 'PatientID' being saved to session sucessfully. I know this because if I set the next page to retrieve that value it does just fine.

    my query is 
    where patientid = $(PatientID)  
    I have tried with and without 'quotes' and nothing returned. If put a real id in place of the token it comes back fine.

    I know I am missing something silly. From what I understand you need to do some stuff with DSParam1 if pulling from querystring but that doesnt have to be done with session I thought?
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    12-02-2010 07:16 AM
    Hello Daniel,

    In order to use Initial SQL Binding you will need to use the Token $(DSParam1), $(DSParam2) or $(DSParam3). 

    That is the reason this isn't working correctly for you. So you will need to add a hidden field with the short field name DSParam1. Now go to Module Configuration -> Custom JavaScript File and in the Initial JavaScript text area box place this:

    $(DSParam1) = $(PatientID)

    Then go to your Initial SQL Binding section and use the same query but with the exception of:

    where PatientID = '$(DSParam1)'

    Please try this approach and let me know how this works for you.

    Thanks,

    Ryan
    Joe ClohessyUser is Offline
    skipping stones
    skipping stones
    Posts:8
    Avatar

    --
    10-20-2012 04:09 PM
    This post was very helpful, thank you. Didn't realize the variable names HAD to be what was used in the examples - lost several hours on this one...
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    10-22-2012 04:32 AM
    Hello Joe,

    I'm sorry to hear this posed as an issue for you.

    I would always recommend looking at our Dynamic Forms User Guide when it comes to features that may take specific configuration:
    http://www.datasprings.com/userguid...rGuide.pdf

    Please let me know if you have any questions.

    Thanks,

    Ryan
    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