Xtension Dev - Multiple Recordset Field Names

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Re: Xtension Dev - Multiple Recordset Field Names

    Anthony Brown wrote:
    > How do I accomplish this?
    > I tried using the "Multiple RS SBB extension" but DMX didn't like it.
    Which extension is that? URL?

    I think that you have to go into the HTML file created by the SBB and add a third parameter to the initialization of the recordset column name objects, and pass in the name of the recordset menu.

    Near the top of the file you may find something similar to this:
    var _Param1 = new RecordsetMenu("Demo.htm", "Param1", "");
    var _Param2 = new RecordsetMenu("Demo.htm", "Param2", "");
    var _Param3 = new RecordsetFieldMenu("Demo.htm", "Param3", "");
    var _Param4 = new RecordsetFieldMenu("Demo.htm", "Param4", "");

    change it to:
    var _Param1 = new RecordsetMenu("Demo.htm", "Param1", "");
    var _Param2 = new RecordsetMenu("Demo.htm", "Param2", "");
    var _Param3 = new RecordsetFieldMenu("Demo.htm", "Param3", '', "_Param1");
    var _Param4 = new RecordsetFieldMenu("Demo.htm", "Param4", '', "_Param2");




    --
    Enjoy,
    Danilo Celic
    | Extending Knowledge Daily
    | [url]http://www.CommunityMX.com/[/url]
    danilocelic *TMM* Guest

  2. Similar Questions and Discussions

    1. recordset table names problem
      I just upgraded to CF 7 and now my table names show up as a file path instead of just the table name in Dreamweaver when creating new recordsets. ...
    2. Table field names not visible
      This morning I set up check in and check out to work on a site with someone else. Suddenly when looking at bindings details or any of the other...
    3. ASP / ADO Recordset field binding
      We have an externally developed application, that runs on a W2K IIS 5 ( sp4 ) Server, and are very unhappy with the performance, as our users are...
    4. Handling case of field names in multiple db's
      (Bottom line: I think what I'm looking for is an easy way of changing the case of key values in an array.) I've got code that I'm trying to make...
    5. List Hash 'Field' Names
      I am trying to write more automated code - either I am a lazy typist or am just trying to get more with it! I have a hash I define; I have a form...
  3. #2

    Default Re: Xtension Dev - Multiple Recordset Field Names

    Here's the link to the SBB
    [url]http://dmxzone.com/showDetail.asp?TypeId=3&NewsId=1770[/url]

    I know it says it is for UD 4, so I emailed the developer with no response.


    I'll try what you have and see what I can do.

    Presently, my extension is using 3 RS select boxes, but the columns are
    normal text boxes that must be filled in by the user with the column names.
    I am trying to get the extension to when you select RS1 select list it
    populates the next 3 select lists with columns from that specific RS.

    I have 3 RSs that I want to do with this on the same extension that is why I
    am wondering how to "bind" child selects to a parent select.

    Thanks,
    Anthony


    "danilocelic *TMM*" <danilo@shimmerphase.com> wrote in message
    news:cv0iot$hm4$2@forums.macromedia.com...
    > Anthony Brown wrote:
    >
    >> How do I accomplish this?
    >> I tried using the "Multiple RS SBB extension" but DMX didn't like it.
    >
    > Which extension is that? URL?
    >
    > I think that you have to go into the HTML file created by the SBB and add
    > a third parameter to the initialization of the recordset column name
    > objects, and pass in the name of the recordset menu.
    >
    > Near the top of the file you may find something similar to this:
    > var _Param1 = new RecordsetMenu("Demo.htm", "Param1", "");
    > var _Param2 = new RecordsetMenu("Demo.htm", "Param2", "");
    > var _Param3 = new RecordsetFieldMenu("Demo.htm", "Param3", "");
    > var _Param4 = new RecordsetFieldMenu("Demo.htm", "Param4", "");
    >
    > change it to:
    > var _Param1 = new RecordsetMenu("Demo.htm", "Param1", "");
    > var _Param2 = new RecordsetMenu("Demo.htm", "Param2", "");
    > var _Param3 = new RecordsetFieldMenu("Demo.htm", "Param3", '', "_Param1");
    > var _Param4 = new RecordsetFieldMenu("Demo.htm", "Param4", '', "_Param2");
    >
    >
    >
    >
    > --
    > Enjoy,
    > Danilo Celic
    > | Extending Knowledge Daily
    > | [url]http://www.CommunityMX.com/[/url]

    Anthony Brown Guest

  4. #3

    Default Re: Xtension Dev - Multiple Recordset Field Names

    That Worked!!
    Thanks!
    That was easy.


    "danilocelic *TMM*" <danilo@shimmerphase.com> wrote in message
    news:cv0iot$hm4$2@forums.macromedia.com...
    > Anthony Brown wrote:
    >
    >> How do I accomplish this?
    >> I tried using the "Multiple RS SBB extension" but DMX didn't like it.
    >
    > Which extension is that? URL?
    >
    > I think that you have to go into the HTML file created by the SBB and add
    > a third parameter to the initialization of the recordset column name
    > objects, and pass in the name of the recordset menu.
    >
    > Near the top of the file you may find something similar to this:
    > var _Param1 = new RecordsetMenu("Demo.htm", "Param1", "");
    > var _Param2 = new RecordsetMenu("Demo.htm", "Param2", "");
    > var _Param3 = new RecordsetFieldMenu("Demo.htm", "Param3", "");
    > var _Param4 = new RecordsetFieldMenu("Demo.htm", "Param4", "");
    >
    > change it to:
    > var _Param1 = new RecordsetMenu("Demo.htm", "Param1", "");
    > var _Param2 = new RecordsetMenu("Demo.htm", "Param2", "");
    > var _Param3 = new RecordsetFieldMenu("Demo.htm", "Param3", '', "_Param1");
    > var _Param4 = new RecordsetFieldMenu("Demo.htm", "Param4", '', "_Param2");
    >
    >
    >
    >
    > --
    > Enjoy,
    > Danilo Celic
    > | Extending Knowledge Daily
    > | [url]http://www.CommunityMX.com/[/url]

    Anthony Brown 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