×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Dynamic dropdown list

Dynamic dropdown list

Dynamic dropdown list

(OP)
Hi,
Environment: Developer Studio 5.2
I created a report which requires  "Country", "Area", "Region", "Branch" parameters to work. These parameters are hierarically related.
I inserted this procedure in the "Resource Layout Painter".
Now, I made the values for those parameters to be displayed in the drop-down list box dynamically for the database.
Everything is fine until now.
All I want to do is the data in the second drop-down list should change depending upon the data on the first drop-down list.
i.e., when I select a country say "USA" from the first drop-down list, the 'Area' drop-down list should populate only those areas in "USA", and when I select a area say "SOUTH WEST" in the 'area' drop-down list, the 'region' drop-down list should populate with the areas in "SOUTH WEST" and so on...
I contacted the IBI people and they said that WF cannot handle it, and it should be implemented coding the HTML file that is generated by the "Resource Layout Painter". I think javascript is good for this. I have no idea how to proceed.
I can send the project file and the HTML file that I am working on if you mail me at webfocusraj@yahoo.com
Please help me.
Regards
WF RAJ

RE: Dynamic dropdown list

I have dynamic picklist working fien for country region area and district , i use java script just giving some light on this ...


simple example


      <select name="COD" size="10" class="formfieldText" id="COD" style="width:70px"
onCHANGE="relatec(document.QueryForm, 'MEA', this,'')">
           <option value="CCIC" >CCIC</option>
            <option value="USA"  >USA</option>
            <option value="UK">UK</option>
            <option value="AUS">Australia</option>     
            </select>
 

              <select name="MEA" size="10" multiple class="formfieldText" id="MEA" style="width:300px">
              </select>


here on selecting a country it will automatrically populate a measure for that country.will give the java script for this.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close