close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple Parents Select List

Thread began 12/02/2013 2:25 pm by steven348539 | Last modified 12/10/2013 3:33 pm by Jason Byrnes | 764 views | 3 replies |

steven348539

Multiple Parents Select List

I have 3 tables in my Database.

HWType
ID
Type Desc (mouse, keyboard, etc)

HWBrand
ID
Manufacturer Name

HWModel
ID
TypeID
BrandID
ModelNum
ETC

What I am wanting to do is have a select field for both the type of hardware and brand of hardware that when selected changes the select field for the model to list only the model numbers that match both type and brand. I have both the Design Extender and Data Assist products (and eCart5 for that matter). I know I can create a variable with CONCAT to join Type and Brand ID into a single string in the RecordSet but I can't see how to add the selected values from the Type and Brand select to compare to this returned variable.

I can think of a way to do this if I had multiple lines for a single brand, one for each type, or possibly another table that just has the ID combinations, but I am hoping there is a way to simply do this with the current structure. I don't shy away from coding as I have done quite a bit of it on this site, but my experience is in pretty much dead languages from the 80s (and did a bit of PERL in the 90s) so I have to research on how to do a lot of it.

Thanks

Sign in to reply to this post

CraigRBeta Tester

have you looked at http://www.webassist.com/dreamweaver-extensions/dynamic-dropdowns ?

Sign in to reply to this post

steven348539

I don't know where my reply to this went to. I have looked at that page and used them on several sites, but it doesn't explain how to have Parent 1 + Parent 2 decide what options in the child list are available. Since I didn't get a help response I went ahead and created a 4th table that allows a type of hardware to be chosen and it shows a list of type/manufacturer combinations that are available, but this means maintaining another table and as those combinations expand I need to add them to that table. I was hoping to avoid maintaining another table as that will be an easy one to miss so people can't enter the correct data until it's added there first.

Sign in to reply to this post

Jason ByrnesWebAssist

see this thread for details:
http://www.webassist.com/forums/posts.php?id=29541

it should get you on the right path.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...