Datadriven questions and messages

Last post 08-26-2009 12:43 PM by nareshyalagala. 1 replies.

Sort Posts:

  • Datadriven questions and messages

    08-26-2009, 10:50 AM
    • Member
      point Member
    • gal118
    • Member since 07-24-2009, 1:40 AM
    • Posts 7

     Good morning,

    I am implementing a web user control that retrieves questions and messages from the database  based on a few parameters. Then I have to loop through the selected records displaying one question or message at a time. For questions, I have to get user's responce, save it to the database, and check where to go next based on the responce. 

    Could you please give me advice/ guidance how to approach this. Also each message/question has frequency data field and displayDay, so that it should be displayed on a certain week day (which is not a problem) but the frequency field defines how often to display that line (every x weeks) and I am not sure how to implement this.

    Thank you in advance.

  • Re: Datadriven questions and messages

    08-26-2009, 12:43 PM
    Answer
    • Member
      203 point Member
    • nareshyalagala
    • Member since 05-23-2009, 6:34 AM
    • Hderabad
    • Posts 28

     I am not an expert, just want to give my ideas Smile.

    U can have one more field in Table, Like Last rertieved time of a the question, then U jus write a query to retrieve the question which has the least time.... When ever u retrieve the question, Update the Last retrieved time field in the table.

    How aften means.... That last retrieved time field in the table decide automatically, based on questions answered..

    I am jus a begginner, Hope this idea works

     

    Regards

    Naresh  

    Naresh.Y
    nareshyalagala@gmail.com
Page 1 of 1 (2 items)