Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
danilocelic *TMM* #1
Re: Xtension Dev - Multiple Recordset Field Names
Anthony Brown wrote:
Which extension is that? URL?> How do I accomplish this?
> I tried using the "Multiple RS SBB extension" but DMX didn't like it.
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
-
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. ... -
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... -
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... -
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... -
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... -
Anthony Brown #2
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
-
Anthony Brown #3
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



Reply With Quote

