Students and Questions - InfoPath Dev
in

InfoPath Dev

Students and Questions

Last post 06-29-2006 05:39 AM by Sir Boffalot. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-28-2006 01:23 PM

    Students and Questions

    Hello,
    I have a form in InfoPath which is designed to record the behaviour of students contained with in a base at a school. Each student has 10 questions to their name, each of which is different. In my form, there is a dropdown list containing each of the students names read from the StudentName field in the Student table of the db. When an item is selected from the list, text boxes below must fill with the questions. I believe that it will require some code, but am not familiar with the language used in InfoPath (I believe this to be XML???).

    Anyway, this is beginning to do my head in now so any help would be much appreciated!
  • 06-28-2006 06:58 PM In reply to

    Hello
    Welcome to Infopathdev Forums

    You can do this by using Rules and actions
    Double click on the drop down to open properties
    Click on the Rules and then Add-> Set Condition
    In Condition select your drop down field in 1st DD and is equalto in 2nd DD and give student name in 3rd DD
    Then Click OK and select Add action in the Rule Window
    Select Query using a Data Connection in the action Window

    I hope these steps will help you
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 06-29-2006 05:39 AM In reply to

    Hello,
    Thanks for your reply.

    I tried the above, but it just appeared to keep returning the top value in the table. So for instance if I had it set out like this:

    NAME - Q1
    bob - What's the weather like?
    harry - Do you like chocolate?

    It will just return: What's the weather like? Even if I have asked for it to give me Harry's question.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.