SAP Knowledge Base Article - Public

1202294 - Increase the size of Drop down box or List Box in the Prompt

Symptom

How to increase the size of Drop down combo box or List Box in the prompt if the value of the field exceeds the size of the box and you are not able to see the complete field in the box?

Cause

Cause:

It"s by design.

Steps to reproduce:

  1. Create a report based on Xtreme Sample Database.
  2. Insert Customer table. Create a Prompt on Address1. Place it in the report.
  3. Refresh the report.

In the Prompt window, you will see that the values having long length gets truncated.

Resolution

To do this,


1. Open the "promptengine_default.css" file in notepad.

It will available in following path:

_:\Program Files\Business Objects\Common\3.5\crystalreportviewer115\prompting\css

2. Search for the .pePromptListBox (If Multiple values option set to True) OR .pePromptDropDown (IF Multiple values option set to False), change the value of "width" to "500px" (or desired value)>> Save it >> Refresh the report in crystal report designer.

Keywords

increase size of drop down list , 5992779 , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , How To

Product

SAP Crystal Reports XI ; SAP Crystal Reports XI R2