1. John Sestak
  2. PowerBuilder
  3. Tuesday, 17 January 2023 18:35 PM UTC

What is the best method multi-select in dropdown DWs be accommodated for users.  This is an important issue for our reporting.  It does not appear to be a native PB functionality for DDDWs.

Mickey Hillel Accepted Answer Pending Moderation
  1. Tuesday, 24 January 2023 11:47 AM UTC
  2. PowerBuilder
  3. # 1

Hi Chris.

Could you elaborate on the "drop" event (pbm_dwndropdown ? ), and how you cancel the dddw ? 

TIA

Mickey

Comment
  1. Mickey Hillel
  2. Tuesday, 24 January 2023 20:34 PM UTC
Thanks Rene & Chris for your suggestions. :-)
  1. Helpful
  1. Mickey Hillel
  2. Tuesday, 24 January 2023 20:59 PM UTC
I couldn't get the pbm_dwndropdown to trigger at all, but pbm_command with notificationcode = 256 seems to do the trick.
  1. Helpful
  1. René Ullrich
  2. Wednesday, 25 January 2023 06:51 AM UTC
I have no problem with pbm_dwndropdown. Check that you con't have two different events with this event id.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 18 January 2023 04:28 AM UTC
  2. PowerBuilder
  3. # 2

Hi John;

  FWIW: What I do on the "Drop" event of the DDDW is to intercept that user defined event, cancel the DDDW & instead, open a response dialogue. In that dialogue, I use a Tabular "List" DW where the App user can select more than one row. When the Response dialogue closes, I pass the multi-selection values back to the calling DWO / Window for processing.  Food for thought.  HTH

Regards ... Chris

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 17 January 2023 18:53 PM UTC
  2. PowerBuilder
  3. # 3

You have to simulate the functionality, as the DW is not designed to do this. I found this example by doing a web search:

   https://programmingmethodsit.com/knowledge-base/multiple-select-option-for-the-datawindow-dropdown-in-powerbuilder/

Best regards, John

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.