Brad's most recent post works.
i think your
|POPUP_LIST_MULTISELECT TRUE  +
was the key.

I haven't used it in production either, but it's pretty cool...

Thanks for putting all permutations together into a working dialog Brad -
Doug

On 8/22/2022 11:55 AM, 'Karen Tellef' via RBASE-L wrote:
Me too,Doug.  I tried various iterations and couldn't get multi-select to work.  Like you I tried clicking, shift and control.  I've never tried to use this in production

Karen



-----Original Message-----
From: Doug Hamilton <bugl...@wi.rr.com>
To: rbase-l@googlegroups.com
Sent: Mon, Aug 22, 2022 10:58 am
Subject: Re: [RBASE-L] - Using Multiselect in dialog lookup

Jan et al - to minimize irrelevant options, I tried the following:

DIALOG 'Send Email To(use comma to add additional email addresses)' veemail +
 whtemp 1 CAPTION .vecaption OPTION DIALOG_EDIT_HINT +
 'Double-Click for a List of Contacts' +
 |POPUP_ENABLED ON  +
 |MULTISELECT ON +
 |POPUP_TABLE CLIENT +
 |POPUP_SELECT c_CliName,EMAIL +
 |POPUP_WHERE +
 WHERE c_CliName IS NOT NULL +
 ORDER BY c_CliName ASC +
 |POPUP_RETURN_COLUMN EMAIL

Also tried POPUP_LIST_MULTISELECT 'TRUE' in place of MULTISELECT ON
Table and column names have been changed so it works in my system.

I couldn't get multi-select to work with either multi-clicking, Shift-Click or Ctrl-Click.

BTW, 'WHERE' is required: | POPUP_*WHERE WHERE* full_name IS NOT NULL +
Doug

On 8/22/2022 10:14 AM, jan johansen wrote:
Dan,
Shot in the dark but I know that some commands were pretty finicky about the order of options.
Have you tried re-ordering the command?
I noticed that your "multiselect" option is after your where clause.
Jan

    From: Dan Goldberg <d...@lancecamper.com>
    <mailto:d...@lancecamper.com>
    To: "rbase-l@googlegroups.com" <mailto:rbase-l@googlegroups.com>
    <rbase-l@googlegroups.com> <mailto:rbase-l@googlegroups.com>
    Date: Mon, 22 Aug 2022 14:42:52 +0000
    Subject: RE: Re[2]: [RBASE-L] - Using Multiselect in dialog lookup
    Thx but it multiselect is still not working. here is my command.
    Maybe I am not seeing why the multiselect would not trigger. It
    pops up but cannot multi select.
    DIALOG 'Send Email To(use comma to add additional email
    addresses)' veemail +
    whtemp 1 CAPTION .vecaption OPTION DIALOG_EDIT_HINT +
    'Double-Click for a List of Contacts' |POPUP_ENABLED ON |
    POPUP_DIALOG_TYPE +
    LOOKUP |POPUP_TITLE_FONT_NAME VERDANA | POPUP_TITLE_FONT_SIZE 10 |+
    POPUP_TITLE_FONT_BOLD TRUE | POPUP_TITLE_FONT_COLOR GREEN |+
    POPUP_TITLE_BACK_COLOR WHITE | POPUP_TITLE_TEXT 'Select
    Contact(s) to Add' |+
    POPUP_LIST_FONT_COLOR GREEN | POPUP_LIST_BACK_COLOR WHITE |+
    POPUP_CAPTION 'List of Contacts' | POPUP_TABLE Menuaccess |+
    POPUP_SELECT Full_Name,EmailAdd  |POPUP_WHERE WHERE full_name IS
    NOT NULL +
    ORDER BY full_name ASC | POPUP_LIST_MULTISELECT 'TRUE' | +
    POPUP_RETURN_COLUMN emailadd |POPUP_SHOW_LINES TRUE
    |POPUP_RETURN_TYPE +
    COLUMN | POPUP_LINES 20
    Dan Goldberg
    *From:* 'Karen Tellef' via RBASE-L <rbase-l@googlegroups.com>
    <mailto:rbase-l@googlegroups.com>
    *Sent:* Monday, August 22, 2022 7:20 AM
    *To:* rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com>
    *Subject:* Re: Re[2]: [RBASE-L] - Using Multiselect in dialog lookup
    Hey Dan, I missed that you're asking about the multi-select! 
    Here's the code that I use for that, different than what you have
    POPUP_LIST_MULTISELECT 'TRUE'
    Karen
    -----Original Message-----
    From: Bruce Chitiea <rby...@safesectors.com
    <mailto:rby...@safesectors.com>>
    To: rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com>
    <rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com>>
    Sent: Mon, Aug 22, 2022 8:52 am
    Subject: Re[2]: [RBASE-L] - Using Multiselect in dialog lookup
    Karen:
    Your code:
    |POPUP_*WHERE* ORDER BY Company +
    Dan's code:
    | POPUP_*WHERE WHERE* full_name IS NOT NULL +
    Bruce
    ------ Original Message ------
    From "'Karen Tellef' via RBASE-L" <rbase-l@googlegroups.com
    <mailto:rbase-l@googlegroups.com>>
    To "rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com>"
    <rbase-l@googlegroups.com <mailto:rbase-l@googlegroups.com>>
    Date 8/22/2022 6:46:39 AM
    Subject Re: [RBASE-L] - Using Multiselect in dialog lookup

        Bruce: your code looks identical to what I use, but with one
        exception.  In none of the rows do I have quotation marks. 
        Not sure I see any other differences (mine also has a bunch
        of font settings I left out here).  Here's an example of a
        live one that works for me:
        DIALOG 'Enter Customer ID' vResponse=33 vEndKey 1 CAPTION
        .vCaption ICON APP +
        OPTION DIALOG_EDIT_HINT Double-Click for List of Customers +
        |POPUP_ENABLED TRUE +
        |POPUP_DIALOG_TYPE LOOKUP +
        |POPUP_CAPTION List of Customers +
        |POPUP_TABLE Customer +
        |POPUP_SELECT Company, CustCity + ',' & CustState & CustZip +
        |POPUP_RETURN_COLUMN CustID +
        |POPUP_WHERE ORDER BY Company +
        |POPUP_SHOW_LINES TRUE +
        |POPUP_RETURN_TYPE COLUMN +
        |POPUP_LINES 20 +
        |POPUP_DISTINCT TRUE
        Karen
        -----Original Message-----
        From: Bruce Chitiea <rby...@safesectors.com
        <mailto:rby...@safesectors.com>>
        To: rbase-l@googlegroups.com
        <mailto:rbase-l@googlegroups.com> <rbase-l@googlegroups.com
        <mailto:rbase-l@googlegroups.com>>
        Sent: Sun, Aug 21, 2022 8:31 pm
        Subject: Re: [RBASE-L] - Using Multiselect in dialog lookup
        FWIW: Highlighted the only thing that stood out to me
        Bruce
        DIALOG 'Send Email To(use comma to add additional email
        addresses)' veemail whtemp 1  +
        CAPTION .vecaption  +
        OPTION DIALOG_EDIT_HINT 'Double-Click for a List of Contacts'  +
        *|POPUP_ENABLED TRUE  + *
        *-- rsyntax: POPUP_ENABLED [ ON | OFF ]*
        |POPUP_DIALOG_TYPE LOOKUP  +
        |POPUP_TITLE_TEXT 'Select Contact(s) to Add'  +
        |POPUP_CAPTION 'List of Contacts' +
        |POPUP_TABLE Menuaccess  +
        |POPUP_SELECT Full_Name,EmailAdd +
        |POPUP_WHERE WHERE full_name IS NOT NULL ORDER BY full_name
        ASC  +
        |POPUP_RETURN_COLUMN emailadd  +
        |POPUP_SHOW_LINES TRUE  +
        |POPUP_RETURN_TYPE column  +
        |MULTISELECT TRUE  +
        |POPUP_LINES 20
        ------ Original Message ------
        From "Dan Goldberg" <d...@lancecamper.com
        <mailto:d...@lancecamper.com>>
        To "rbase-l@googlegroups.com
        <mailto:rbase-l@googlegroups.com>" <rbase-l@googlegroups.com
        <mailto:rbase-l@googlegroups.com>>
        Date 8/21/2022 6:11:53 PM
        Subject [RBASE-L] - Using Multiselect in dialog lookup

            I have the following command to bring up a popup. It
            works but I cannot get the multiselect to work in the
            popup. Anyone have any blues clues on what I am doing wrong?
            DIALOG 'Send Email To(use comma to add additional email
            addresses)' veemail +
            whtemp 1 CAPTION .vecaption OPTION DIALOG_EDIT_HINT +
            'Double-Click for a List of Contacts' |POPUP_ENABLED TRUE | +
            POPUP_DIALOG_TYPE LOOKUP |POPUP_TITLE_FONT_NAME VERDANA | +
            POPUP_TITLE_FONT_SIZE 10 |POPUP_TITLE_FONT_BOLD TRUE | +
            POPUP_TITLE_FONT_COLOR GREEN |POPUP_TITLE_BACK_COLOR
            WHITE | +
            POPUP_TITLE_TEXT 'Select Contact(s) to Add'
            |POPUP_LIST_FONT_COLOR GREEN | +
            POPUP_LIST_BACK_COLOR WHITE |POPUP_CAPTION 'List of
            Contacts' | +
            POPUP_TABLE Menuaccess |POPUP_SELECT Full_Name,EmailAdd  
            | POPUP_WHERE +
            WHERE full_name IS NOT NULL +
            ORDER BY full_name ASC | POPUP_RETURN_COLUMN emailadd
            |POPUP_SHOW_LINES +
            TRUE |POPUP_RETURN_TYPE column | MULTISELECT TRUE |
            POPUP_LINES 20
            TIA
            Dan Goldberg

        --
        For group guidelines, visit
        http://www.rbase.com/support/usersgroup_guidelines.php
        <http://www.rbase.com/support/usersgroup_guidelines.php>
        ---
        You received this message because you are subscribed to the
        Google Groups "RBASE-L" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to rbase-l+unsubscr...@googlegroups.com
        <mailto:rbase-l+unsubscr...@googlegroups.com>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/rbase-l/2E4830CEC16615458329D3D83342F8D0014F0CB565%40EXCHANGE10
        
<https://groups.google.com/d/msgid/rbase-l/2E4830CEC16615458329D3D83342F8D0014F0CB565%40EXCHANGE10?utm_medium=email&utm_source=footer>.

        --
        For group guidelines, visit
        http://www.rbase.com/support/usersgroup_guidelines.php
        <http://www.rbase.com/support/usersgroup_guidelines.php>
        ---
        You received this message because you are subscribed to the
        Google Groups "RBASE-L" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to rbase-l+unsubscr...@googlegroups.com
        <mailto:rbase-l+unsubscr...@googlegroups.com>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/rbase-l/emf8c5c1d7-fb83-41ef-a681-4a6bda0a8df1%40f8ecd6cd.com
        
<https://groups.google.com/d/msgid/rbase-l/emf8c5c1d7-fb83-41ef-a681-4a6bda0a8df1%40f8ecd6cd.com?utm_medium=email&utm_source=footer>

        .
        --
        For group guidelines, visit
        http://www.rbase.com/support/usersgroup_guidelines.php
        <http://www.rbase.com/support/usersgroup_guidelines.php>
        ---
        You received this message because you are subscribed to the
        Google Groups "RBASE-L" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to rbase-l+unsubscr...@googlegroups.com
        <mailto:rbase-l+unsubscr...@googlegroups.com>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/rbase-l/142327202.901918.1661175999630%40mail.yahoo.com
        
<https://groups.google.com/d/msgid/rbase-l/142327202.901918.1661175999630%40mail.yahoo.com?utm_medium=email&utm_source=footer>.

    --
    For group guidelines, visit
    http://www.rbase.com/support/usersgroup_guidelines.php
    <http://www.rbase.com/support/usersgroup_guidelines.php>
    ---
    You received this message because you are subscribed to the
    Google Groups "RBASE-L" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to rbase-l+unsubscr...@googlegroups.com
    <mailto:rbase-l+unsubscr...@googlegroups.com>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/rbase-l/em1720272f-e715-4c94-a13b-1c69ca5836f6%40b5177485.com
    
<https://groups.google.com/d/msgid/rbase-l/em1720272f-e715-4c94-a13b-1c69ca5836f6%40b5177485.com?utm_medium=email&utm_source=footer>.
    --
    For group guidelines, visit
    http://www.rbase.com/support/usersgroup_guidelines.php
    <http://www.rbase.com/support/usersgroup_guidelines.php>
    ---
    You received this message because you are subscribed to the
    Google Groups "RBASE-L" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to rbase-l+unsubscr...@googlegroups.com
    <mailto:rbase-l+unsubscr...@googlegroups.com>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/rbase-l/1017491601.918362.1661178025956%40mail.yahoo.com
    
<https://groups.google.com/d/msgid/rbase-l/1017491601.918362.1661178025956%40mail.yahoo.com?utm_medium=email&utm_source=footer>.
    --
    For group guidelines, visit
    http://www.rbase.com/support/usersgroup_guidelines.php
    <http://www.rbase.com/support/usersgroup_guidelines.php>
    ---
    You received this message because you are subscribed to the
    Google Groups "RBASE-L" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to rbase-l+unsubscr...@googlegroups.com
    <mailto:rbase-l+unsubscr...@googlegroups.com>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/rbase-l/2E4830CEC16615458329D3D83342F8D0014F0CBEB9%40EXCHANGE10
    
<https://groups.google.com/d/msgid/rbase-l/2E4830CEC16615458329D3D83342F8D0014F0CBEB9%40EXCHANGE10?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php <http://www.rbase.com/support/usersgroup_guidelines.php>
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbase-l+unsubscr...@googlegroups.com <mailto:rbase-l+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/WC20220822151403.710087%40jjcalibrations.com <https://groups.google.com/d/msgid/rbase-l/WC20220822151403.710087%40jjcalibrations.com?utm_medium=email&utm_source=footer>.



------------------------------------------------------------------------
Avast logo <https://www.avast.com/antivirus>      
This email has been checked for viruses by Avast antivirus software.
www.avast.com <https://www.avast.com/antivirus>


<https://mail.aol.com/webmail-std/en-us/suite#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbase-l+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/4365136b-c433-c297-0227-ff83127f4561%40wi.rr.com <https://groups.google.com/d/msgid/rbase-l/4365136b-c433-c297-0227-ff83127f4561%40wi.rr.com?utm_medium=email&utm_source=footer>.
--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbase-l+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/1469707557.999198.1661187350145%40mail.yahoo.com <https://groups.google.com/d/msgid/rbase-l/1469707557.999198.1661187350145%40mail.yahoo.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/7b1b6015-3a8b-70f1-39b9-c065ba44c7bf%40wi.rr.com.

Reply via email to