Is it possible to have a dddw where multiple items can be picked?

Posted on 2008-11-11
Last Modified: 2013-12-26
Here's what I'm trying to do:

I have a datawindow with two fields: SITE and DESTINATION_ID .  SITE is not tied to any values in a table, but DESTINATION_ID is tied to a DESTINATIONS table.  It is possible for one site to be assigned to multiple destination ID's.  Example:

WABC   1
WABC   2
WABC   3

Originally, I made a datawindow with each inserted row having a text box for the SITE and a dddw for the DESTINATION_ID.  However, the customer says he would rather enter the site one time (i.e.  WABC) and pick multiple destinations.

Is there a way to have a dddw where multiple items can be picked?

Is this clear what I'm asking?
Question by:jleffing
    LVL 3

    Expert Comment

    The easier way is to have a master-detail datawindow. The master datawindow will contain the site
    and the detail will contain the destinations for the selected row in the master datawindow. The detail datawindow could be a pick datawindow where it is possible ti highlight more than one row.

    Otherwise, the only option is to fake a ddropdowndatawindow by creating a response or popup window which opens when you click an picturebutton beside the site textbox. But this is too tedious, I would rather go for the master-detail datawindows.

    Hope that helps.

    LVL 14

    Accepted Solution

    Other solution is instead of dropdowndatawindow, give normal datawindow with the value combination like you stated and allow user to select multiple rows, which would me more easier than creating two dropdowndatawindow (master/detail). Again this depends on what GUI user likes.


    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
    Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now