Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prompt based on selection made in prior Prompt

Status
Not open for further replies.

MAZHUVPP

Programmer
Jan 26, 2007
1
US
I have an attribute 'Country' and an attribute 'State' in a parent-child relationship. I want to first prompt the user to select a country from a list of distinct countries. After the user selects a country, the next prompt should display a list of states for the country selected in the first prompt. Can anyone give a suggestion as to how to implement this ?

thanks in advance,
prakash
 
There is a way to do a prompt within a prompt that should accomplish what you are trying to do. Another choice which might work out better is to create a hierarchy with those two attributes and then select the hierarchy in an element prompt using the tree layout. It will let you open the Country attribute and see all the countries and then select the states from within each Country.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top