Cascading parameters

  • The hierarchy is like this

    Country

    State

    City

    Now there is one query with a where clause like

    SELECT .... FROM CitiPlaces WHERE CityID=@City

    Notice there is no Country and State filter.

    What I want is that the user selects the country, State(based on the Country just selected) and finally the City.

    Please provide a detailed explaination.

    Assume the name of tables as

    Countries(Country,CountryID),States(State,StateID,CountryID),Cities(City,CityID,StateID)

    Edit:

    Sorry, this is for making a report in Sql Server Reporting Services.

  • akshaycjoshi (2/16/2010)


    Please provide a detailed explaination.

    First you provide a detailed question.



    Clear Sky SQL
    My Blog[/url]

  • Heres one option

    http://tinyurl.com/ygosjzr



    Clear Sky SQL
    My Blog[/url]

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply