Retrieving value using initial sql rendering/bind
Last Post 04-26-2010 06:41 AM by David To. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
ipsita mishraUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
04-26-2010 03:14 AM

    How can i retrieve values from database in to a dynamic form using " initial sql rendering/bind" option.

     

    It means ,assume my form has two text boxes first name,last name.

    Firt Name : ipsita

    Last Name:Mishra

     

    Thn how can i get these values from database using this property if the user is logged in.

    Please help m on this.

     

    Regards

    Ipsita

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    04-26-2010 06:41 AM
    HI, if the user is logged in, then you can use their token ID and not need to use SQL binding at all. SQL binding is when you need to retrieve a record in a database table and fill / populate your entire form with some querystring parameter DSParam1 and/or DSParam2 and/or DSParam3 variables.

    In your case, you don't need this. Just use the following SQL default option on the field:

    select firstname from {objectQualifier}users where userid = '$(UserID)'

    -- David


    ---
  • 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