List box question
I am seeing a weird behavior with single select list boxes. If you want to select an item in the list box you click on it. My question is how do you deselect the item? If you click on it again the item should be deselected, but in this case it stays selected. You can select other items but you can never turn the select off.
Hi,
The workaround for this scenario would be to add another item "None" or "Select One". Like in a drop down list, an item once selected cannot be deselected. The only way to deselect an item would be to select another item. I hope this helps you.
Cheers :-)
Similar Messages
-
Simple (I hope) Combo/list box question
I am using Acrobat Pro 9, I have a combo list that allows a person to choose male or female. I want the default to be blank so that if they don't have a dependent it isn't showing male or female. It doesn't allow me when I go to properties, any suggestions? I do not work with script at all so that's not an option for me.
Thank you!!!This might not be the absolutely best answer, but I was just able to game the properties by adding an option that is only a space...as in one click on the space bar. Then I made that the default.
I'd be interested to know if there's a better way to do what you're after, but I think this one works. -
Hello Everyone
I have two drop downs. Both are coming from look up fields from two lists. i want to set a default value(first list item) for the first drop down list box and then apply cascading based on the default value for the next drop down list box. I found one article(http://www.bizsupportonline.net/infopath2010/display-first-item-drop-down-list-box-infopath-2010.htm)
where in i can set a default value but i can't apply cascading based on that default value. Any suggestions would be highly appreciated.
Thanks
Ramanjulu Naidu NHey Ramanjulu,
Take a look at the below article which I believe will answer your question.
http://basquang.wordpress.com/2010/03/29/cascading-drop-down-list-in-sharepoint-2010-using-infopath-2010/
Daniel Christian (MCTS) -
How can I export multiple selections in a list box into a .csv file?
Hi all, I've created a form in Acrobat X with a list box enabled for multiple selections. When I try to export the filled out form into a .csv file, only the first selection shows up. Can anyone help me figure out how to get all selections to export? Thanks!
Thank you for your quick response!
Once a recipient fills out the form (which has two questions with list boxes and multiple selection enabled) they send the completed form back to me. When I open the completed form, I am given the option add the completed form to a reponse file which was set up when I distributed the form. When I open the reponse file, it lists all of the responses in rows, and the values that were chosen in the form are arranged in columns. In this file, the list boxe columns have multiple values, separated by commas (which is what I'm looking for). At this point there is an option to export into a .csv file or an .xml file. If I choose the .csv file and open in excel, only the first selection shows in the list box column rather than all selections that were initially made by the responder. -
- I have a Product list box (asp.net) used as multiple selected values for a parameter.
- The Product ID is defined in the Oracle procedure as NUMBER data type.
- In my crystal report, I have a parameter field allow multiple values as p_product_id type as Number. This is the code in my Record Selection Formula for the report:
({?p_product_id}[1] = -1 OR {Procedure_name.product_id} in {p_product_id})
- In C#, this is my code
List<decimal?> productUnit = new List<decimal?>();
int counter = 0;
decimal prod;
for (int i = 0; i < lstProducts.Items.Count; i++)
if (lstProducts.Items[i].Selected)
if (decimal.TryParse(lstProduct.Items[i].Value, out prod))
productUnit.Add((decimal?)prod);
counter++;
if (counter == 0)
productUnit.Add(-1);
ReportingDAO rDataFactory = new ReportingDAO();
retVal = rDataFactory.GetProductReport(productUnit);
public CrystalDecisions.CrystalReports.Engine.ReportDocument GetProductReport(List<decimal?> productUnit)
CrystalDecisions.CrystalReports.Engine.ReportDocument retVal = new rptProductDownload();
ReportLogon rptLog = new ReportLogon();
rptLog.Logon(retVal, "RPT_PRODUCT_DOWNLOAD");
retVal.SetParameterValue("p_product_id", productUnit);
I keep having the "Value does not fall within the expected range" when I debug. My question is, is the data type I used for procedure/Crystal report/ and C# correct ? I always have problem with the data type. Any help would be
appreciated
Thank youHi progGirl,
Thank you for your post, but Microsoft doesn't provide support for CrystalReport now. Please post your question in SAP official site here:
http://forums.sdn.sap.com/forum.jspa?forumID=313
Thank you for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
What is the data type of the value returned by the List box prompt in crystal
Post Author: Mudit Kothiyal
CA Forum: Formula
Hi all,
I am creating a report which has a list box prompt. When I am selecting a single value from the list box the report is working fine, but when I am selecting multiple values its not returning any data( although data is there). Does anyone know how the prompt values are passed to the report query by the crystal. I kno it passes the value to the report as an array. But how does it pass the value to the report query.
I am using command query to fetch data from the DB.
Crystal Report Version: Crystal Report XI R2.
DB: Oracle 10g
Also does anyone know how to pass the values of the list box prompt to the report query in comma seperated format.
Thanks & regards,
MuditPost Author: rcoleman
CA Forum: Formula
In regards to the latter part of your question
The following examples are applicable to Basic and Crystal syntax.
The examples assume that list is a String array consisting of the 3 elements: "Chocolate", "Vanilla" and "Strawberry".
Join (list)
Returns the String "Chocolate Vanilla Strawberry".
Join (list, "***")
Returns the String "Chocolate**Vanilla**Strawberry".
Not sure about the first part of your question,sorry. -
How to use value in a drop-down list box as "With these Values" parameter?
Hello, new user.
I have a drop-down list box on Page 1, upon which the user can choose a study number. The List Box is named "P1_STUDY_NBR".
Then I have a list, one entry of which goes to my master-detail form, which is Page 6. I would like it to go to the study number that the user choose on Page 1.
In my target on the create/edit list entry, I put in "Page in this Application", "Page 6", then in Set these items, I put in
P6_STUDY_NBR
My question is what to use in With these values, where I want the contents of the P1_STUDY_NBR. I tried:
&P1_STUDY_NBR
and that does not work. If I put in one of the study numbers, like 336-00, then it does work, but I want it to pass the study number the user chooses in the list box. How do I refer to the contents of P1_STUDY_NBR?
-MaryYes, that does work, thanks. I'm now getting the default value I was putting in yesterday rather than an error message, so there must be something loading it, but I'll hunt around for what process might be doing that, or try re-creating the master-detail form again.
-
How to increase the width of the drop down list box in SSRS multi value parameter
Hi,
I am using SSRS 2012. I have a parameter, which accepts multi value.
The width of the drop down list box is very small, and the user need to scroll to the right to view the complete view of the content in the list box. But, if I don't use multi value then the length is good. Kindly suggest how to I increase the width
of the list box when it set to multi value parameter.
Thanks in advance,
Mahalengam ArumugamHi Mahalengam,
After testing the issue in my local environment, I can reproduce it. When the values for a single parameter are too long, the drop-down list of the parameter will automatically enlarge to an appropriate size. While the values for a multiple parameter are
too long, we need to scroll to the right to view the complete view of the content in the list box in SSRS 2008. But in SSRS 2008R2 and SSRS 2012, we can directly drag the black control at the bottom of the list box to control the size.
The following screenshot is for your reference:
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Hi Katherine,
Thanks for your reply. I understood we need to drag the list box to a maximum size to view the contents.
But, this seems an additional task, i know this is a limitation in the current version of SSRS and hope it will be resolved in the next versions.
Thanks for your efforts,
Mahalengam Arumugam -
Combo/ list box in Adobe Reader on iPhone 5
I have exported to an interactive PDF which contains radio buttons, text fields, combo boxes and list boxes. This form is to be viewed on an iPhone in Adobe Reader. All the form objects work except for the combo/list boxes. They appear and a selection can be made but the selection is not displayed in the box. I have tried to enlarge the box, thinking it was too small to display the text.
Can someone please tell me if there is a compatibility issue or a work around for this problem.
Thanks!
GemmaI tested one of my interactive PDF forms, and it works fine in Reader on iPhone 5. Here is what a list box looks like:
If you're having problems with Adobe Reader for iOS, I'd post questions on the Reader for iOS forum here:
http://forums.adobe.com/community/adobe_reader_forums/ios -
Can I attach a specific action to a choice in a list box or combo box?
I have a list of 26 sports that I would like people to choose from--in either a list box or combo box or any other tool that would work best. When they choose a particular sport, I would like another PDF to appear with the roster for that sport for this year, allowing them to check off certain players. Is this possible? Everything I see is in javascript or some other language that I don't know.
Thanks.
AnneI am piling on Gary's question, as I would like to know the answer as well. But first a little more color in case there is another way to do this....
When I get an email, I usually take some sort of action. I currently do not have a good way to note the actions I have taken against any particular email. This is why I want to know how to attach a note or a To Do to a particular email. I thought the To Do list would work, but when I type a To Do with a particular email sometimes it appears in the list and sometimes it doesn't.
So my goal is to have a way to create a history of action against a particular email.
Gary, I hope this is a valuable extension to your request as opposed to a diversion from your original intent. With any luck together we'll get a bit more traction for your request.
Thanks. -
How to fix the length of select list box?
Halo, i am doing the research. I need to find out what is the method to fix the length of select list box. This is b'cos i can set the length of select list due to different length of record(s)/data(s).
Another question to select list box. What is the maximum length of the select list box?? Can i enter the character with 255 lenght??
Thank you very much..... a prompt reply will be appreciate!!Thanks for ur reply! actually that answer that you gave is right, but i also need to know what is the maximum lenght of character in the select list box?? any idea to that??
Meanwhile, i also need to know how can i make the character display in select list box dynamically?? that means i can change the font style or font size??
Anyway, thanks for ur answer.
bscs. -
How to create dropwdown list box values and checkbox in screen painter.
Hi Experts,
I need to know the creation of dropdown list box values and the checkbox to use in screen painter.
I have 3 values to insert as:-
INR,USD,EUR
if user selects INR/USD/EUR, then it will store into the table field.
And also want to know the checkbox functioning in screen painter, i.e. what should we write in PBO/PAI.
I have found some sites to get knowledge, but didnot found anything that relates to my questions.
So please help me!
Thanks,
DeepanshuHi,
For dropdown list box in Screen create a input field and choose Drop down by index.
To populate the values write the logic in PBO as follows
TYPE-POOLS : VRM
DATA : field_id TYPE VRM_ID ,
values TYPE VRM_VALUES,
value LIKE LINE OF values.
PROCESS BEFORE OUTPUT
MODULE list_fill_100
MODULE list_fill_100 OUTPUT
SELECT f1 f2 f3 FROM tab WHERE condition.
value-KEY = f1.
value-TEXT = f2
APPEND value TO VALUES
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'i/o screen field'
values = values.
ENDMODULE. -
Conditional display of list box in form (depends on other report column)
Hello,
i have one question regarding conditional display in forms.
I have a tabular form where only one column ("flag") is updateable, all other columns are visible only.
I changed the column "flag" from "standard report column" to "Select list (static lov)", which has the values "yes" and "no".
This works fine. But in the running form i want to display the list box only if the column "status" = 'ERROR'.
The column "status" can have the values 'ERROR' and 'OK'.
When one record has "status" = 'OK', the column "flag" should not display the list box (only empty column row),
when one record has "status" = 'ERROR" the column "flag" should display the list box.
The idea behind is that if a record has "status" = 'ERROR' i have the possibility to confirm that "error" and update the column "flag" with "YES". This should only be possible for errors.
This is my main problem.
I tried with conditional display, but this hides or shows the column for the whole report/form, not on record level...
The second problem then is, that if the column "flag" is changed to "YES" in case of column "status" = 'ERROR', then it should not be possible to change it again to 'NO". At the beginning it is 'NO', but once changed to 'YES' it should not be changeable any more.
Is this possible?
Thank you in advance,
MatthiasHello Mike
your solution sounds good, but unfortunately it is not working.
None of my 2 columns are displayed, although i tried it as you wrote and the conditions should match...
But i am no sure if this can work. If so, the 2 columns must fuse to 1 column:
ID STATUS FLAG
1 ERROR yes/no => comes from column1
2 OK (null => comes from column2
so "FLAG" must display column1 and column2 in one column. is that possible?
regards,
Matthias -
List Box in ITS template and use of 'FIELD_SET'
Hello EveryOne,
I am working in SRM5.0. Can some one guide me, If we can create a List box in custom ITS template. I am trying to use SELECT statement on HTML to create LIst Box. Is this right way to do that?
Does any one know better way to create a List BOx connected to custom field, that is filled in PAI. We do not have a search help added to this field. So I can not use F4 modules.
Also does any one know If use of macros 'FIELD_SET' is still allowed in the PBO/PAI ?
Really appreciate any help in this regard.Dear srivallika,
first you have do build up an steploop on your dynpro for the it_ccode-bukrs
AT PBO
loop at it_ccode cursor g_ccode_cur into wa_cccode.
my set loopc
module ccode_loopc.
endloop.
Include PBO
module ccode_loopc.
g_ccode_loopc = sy-loopc.
endmodule.
You only see via DIAG Dialog the displayed rows on the Dynpro.
So if you only have a steploop of 4 rows -- you only get 4 rows to the wgate.
Better use the field-set makro.
AT PBO
module rfc_fieldset_ccode.
INCLUDE PBO
module rfc_fieldset_ccode.
data: ls_ccode like line of it_ccode.
data: i type i.
I'll use deeper structure
perform rfc_fieldset_ccode.
but you also can define the code here
loop at it_ccode into ls_ccode.
add 1 to i.
field-set 'INDX' i i .
field-set 'BUKRS' i ls_ccode-bukrs .
endloop.
endmodule.
Why to do this? The field-set makro (don't forget to include AVWRTCXM at your topinclude) will send the data from internal table via AGATE to the WGATE.
Here now you can define the dropdown list:
srivallika, i'll hope i could help you a little. If you have any questions, you won't bother me. ASK!
With best regards
Thorsten -
Table control list box. different values in each row of the list box
Hi all,
i have a requirement to display text box in table control. Each row of list box should contain different values.
i tried with the below code but the values are not getting populated in list box. please give your ideas.
I tried with list box which is having same values in all rows, it is working fine.
loop at itab.
select vbeln from ZSD_PS_BLAWB into ZSD_PS_BLAWB-vbeln
where BLAWBNO = itab-BLAWBNO and
BLAWBDT = itab-BLAWBDT and
CTRNO = itab-CTRNO.
if sy-subrc = 0.
index = 1.
list3-key = index.
list3-text = ZSD_PS_BLAWB-vbeln.
append list3 to list2.
index = index + 1.
endif.
endselect.
clear index.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = 'ITAB-VBELN'
VALUES = list2
EXCEPTIONS
ID_ILLEGAL_NAME = 1
OTHERS = 2
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
modify itab.
endloop.
Thanks in advance.Hi,
this is code example for listbox
TYPE-POOLS vrm .
DATA: lt_vrm_values TYPE TABLE OF vrm_value.
DATA: wa_vrm_values TYPE vrm_value.
PARAMETER p_list AS LISTBOX VISIBLE LENGTH 10.
INITIALIZATION.
wa_vrm_values-key = 'Key1'.
wa_vrm_values-text = 'Value1'.
APPEND wa_vrm_values TO lt_vrm_values.
wa_vrm_values-key = 'Key2'.
wa_vrm_values-text = 'Value2'.
APPEND wa_vrm_values TO lt_vrm_values.
wa_vrm_values-key = 'Key3'.
wa_vrm_values-text = 'Value3'.
APPEND wa_vrm_values TO lt_vrm_values.
AT SELECTION-SCREEN OUTPUT.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'P_LIST'
values = lt_vrm_values
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
IF sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
To fill it with data from DB, just do select in INITIALIZATION and put that values with same alghoritmus.
Manas M.
P.S.: This is very easy question, you should use search ...
Maybe you are looking for
-
Easy one I hope: How do I change text color?
For the life of me I can't seem to find anything with a color pallette (except for background fill). I need to change text color but don't know where to find it. Everything's always black. When I highlight the text, and goto "Font", I see something
-
I'm having problems with iPhoto and the facebook set-up. Every time I attempt to do so it says an error has occured and try again later. I have not seen a solution posted. Therefore, how does one contact Apple to solve the problem? I'm new to the
-
Disturbing TM deletion behavior after multiple restores
I have found a seriously disturbing (to me, at least) behavior in Time Machine after doing two system restores. Here is the scenario: November 19: Time Machine has been working fine for months, and I have full weekly backups to June when I first upgr
-
Faulty sound controller on Inspire T3030
Hi, I've owned a pair of T3030 speakers for some years now. I had sometimes experienced problems with the sound level, which were usually solved by messing around with the sound controller cable. Now they won't work anymore unless I keep manually put
-
Why does indesign cs5.5 keep shutting down?
Before i start - Im going to be honest im not great with computers. I'm using indesign cs5.5 (which im new too - to make things worse) im trying to delete a page that i have already worked on but no longer need but i keep getting theses messages - Wh