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 <[email protected]>
To: "[email protected]" <[email protected]>
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 <[email protected]>
*Sent:* Monday, August 22, 2022 7:20 AM
*To:* [email protected]
*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 <[email protected]>
To: [email protected] <[email protected]>
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" <[email protected]>
To "[email protected]" <[email protected]>
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 <[email protected]>
To: [email protected] <[email protected]>
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" <[email protected]>
To "[email protected]" <[email protected]>
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
---
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 [email protected].
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
---
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 [email protected].
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
---
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 [email protected].
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
---
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 [email protected].
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
---
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 [email protected].
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
---
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 [email protected].
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
---
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 [email protected].
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>.
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/4365136b-c433-c297-0227-ff83127f4561%40wi.rr.com.