Drill-Down Query on one page

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Drill-Down Query on one page

    I want to build a drill-down query on one page and then submit the form to
    another page once the drill-down is complete. Here are the specifics.

    I have a form that askes users how many vehicles they have in their household.
    Based on this answer, they would then select the Year, Make, Model and Option
    for those vehicles. Currently, When they select the year, the form submits to
    a second page that queries the database for makes made in that year. Theyn
    they select the make and the form submits to a third page that queries the
    database again for models made in that selected year and make.....and so on.

    I would like to be able to have the user select the year, make, model and
    option on one page and then have the form submit to its processing page once
    that is all done.

    Can anyone explain how this might be done without using any complex
    Javascripting?

    slamb0513 Guest

  2. Similar Questions and Discussions

    1. Question on drill-in navigation
      Hi, I have a ViewStack in my main mxml. One of its child containers (a Search 'page') has a DataGrid. When I click a record in the DataGrid, I want...
    2. Drill down data
      I am new in Coldfusion and I am totally stuck with this problem, if anyone has any advice or can point me in the right direction it will be greately...
    3. drill down via js
      Hey, I am using a dg with a nested dg. It acts like a hierargrid. But the nested datagrid currently expands on the server side. I want to move...
    4. query a DB - pass the query to next page
      I am running a querry on an access database and have set the number of records/page displayed at 20. if there are more than 20 records returned,...
    5. Need ASP/SQL data drill down help
      OK, I have a database which has three main tables: 1. funding_source_info (unique ID# per source which has all the contact info, etc.) 2....
  3. #2

    Default Re: Drill-Down Query on one page

    I guess it depends on what you mean by "complex javascript." I have used this
    method in the past.


    [url]http://depressedpress.com/DepressedPress/Content/Development/JavaScript/Articles[/url]
    /GIFAsPipe/Index.cfm

    Iceborer Guest

  4. #3

    Default Re: Drill-Down Query on one page

    The primary way to make a page interactive without going back to the server is
    through JavaScript. The server can pass information into JavaScript arrays, and
    then your page can update form elements such as select boxes using event
    handlers such as onchange.

    Before you pursue this, you might want to ask if the functionality of your
    form would be greatly improved by this strategy. JavaScript programming can be
    complex and you may get bogged down with making it work. A clear, well-designed
    multi-part form might be the best way to go unless you have server performance
    problems. Perhaps you can combine some of the information so that year and
    make, for example, are on the same page as are model and option.

    Just a thought.

    -Paul

    dempster Guest

  5. #4

    Default Re: Drill-Down Query on one page

    Slamb,

    Search the coldfusion developers exchange for 'Parent Child Select'.

    roblaw
    roblaw Guest

  6. #5

    Default Re: Drill-Down Query on one page

    Use cfbind and CFC's

    I have done the numerous times and it works great
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139