List box printing query

Hi all!
I have just started using Adobe Acrobat Pro 9, and am trying to use list boxes.
The problem I'm having is this:
Say I create a list of 20 options, allow mulitselect, and select 5 of them.
Is there any way to set it up so that when you print, only the 5 selected are printed, instead of all 20??
I have tried playing with the visable/hidden setting, but that seems to show/hide all of them, not selected ones.
I have searched for an answer for this, to no avail. Sorry if I missed one.
Thanks for your help!!
Nacki

Not really.
What you can do, however, is either delete all the non-selected items just
before the file is printed, or export the selected items to another field,
like a text box.

Similar Messages

  • Run query whenever list box changes

    Hi there,
    Please let me know on how to run a query whenever i change the list box. I suppose the tricky part here is to clear the block (eg. EMP) before i can select the list and run the query.
    Thanks for your help

    Hi Frank,
    i've tried as per-instruction and end up the forms are not running and hangs. What i have in my forms, is a record group which i select distinct deptno from emp. Would you mind to explain me in details the steps ( i might wrongly putting the codes).
    Thanks a lot and appreciated.
    Newbie
    Faizal

  • Getting multiple values from a list box

    Hi,
    I am not able to get multiple selected values from a list box using the getParameterValues(). I used the following code..
    String[] names=request.getParameterValues("lname");
    can anyone tell me what the error is or is there any other way i can get multiple selected values from a list box.
    Thanks
    Satish

    Fragment 1
    This is the JSP Code am using for testing
    <%
    String[] name =request.getParameterValues("D1");
    if(name.length==1)
    String value=name[0];
    Instead of name.lenght==1 try with name!=null
    Fragment 2
    out.println(value);
    replace the above fragment with
    %>
       <%-- print result -->
       <%=name[0]%>
    <%
    Fragment 3
    else
    %>
    The list box D1 is a multiple select list box.
    If it still doesn't work, check that the checkboxes have the same name as well as different values
    <input type="checkbox" name="D1" value="1">
    <input type="checkbox" name="D1" value="2">I hope this helps :-)
    Good luck
    touco
    ps: i want duke

  • How do I use a drop-down list to populate a list box

    I'm using livecycle 8:
    I basically have a drop down list with many selections available. I want the function to be when they select from the drop-down the choice they made appears in a list box next to the drop-down box. If they choose to add additional selections from the drop-down list they will add to the list field as well. If anyone has seen one of those on-line job application sites where you have a list of qualities on the left and you can select them and they populate to a list on the right, That is basically what I want.
    I'm not too familiar with adobe quite yet and if you can break the process down as much as possible I would greatly appreciate it.

    Here are my two drop down lists. As you can see I build the second list dynamically based off the value of the year. I want to be able to assign my year to the value I select in this first drop down. How do I do that?? I only want to show games for the year I select. I currently have the year hardcoded to "2009" as you see below. How can i change that to be assigned to the JavaScript value i extract from the first select box?
    <select name="season">
    <option value='2009' selected>2009</option>
    <option value='2008'>2008</option>
    </select>
    <select name="gameselect">
    <%
    try
    String year = "2009";
    String connectionURL = "jdbc:mysql://localhost:3306/ElmwoodExpos";
    Class.forName("com.mysql.jdbc.Driver");
    Connection con = DriverManager.getConnection(connectionURL, "root", "thejedster");
    String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
    Statement s = con.createStatement();
    s.executeQuery(sql);
    ResultSet rs = s.getResultSet();
    while(rs.next())
    %>
    <option value="1"><% out.print(rs.getString("GameDescription"));%></option>
    <%
    catch(Exception e)
    %>
    </select>
    Thanks,
    Jed

  • How to select the contents in a select list box....

    I want to look into a select list box and check whether something is existing if exists print that or add a new one...I want to count the number in the select list box....the selected lsit consists of string of names....i have to choose my favourite name ...if present....
    Please help me...

    Akrisha wrote:
    HTML List box ....in java script....This is Java forum.
    In JavaScript you should use select.options[index] blah blah ...

  • IS there a way to fix the issue with text list boxes where they shift (empty space is smaller than the text size) when two text lsit boxes are side by side?

    Currently I have a webpage I designed for a company where I have multiple text list boxes side by side for the purpose of displaying data in each one based on a category in the database. So a text list box for the primary key, name, serial number, etc. I have to use Firefox as it typically works best for printing and functionality for the page. The single issue we are having is that in Firefox if the field is null as far as text the text are shrinks meaning all the data in that list box shifts up and is no longer in line with its congruent data in the other text list boxes. In other browsers that's not a problem and everything stays lined up regardless of whether there's text in the box or not.
    Unfortunately I cannot provide a link but if contacted I will provide screen shots.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • How Do I Filter a Report Using a Multi Select List Box and Specifying Date Between Begin Date and End Date

    Hope someone can help.  I have tried to find the best way to do this and can't seem to make sense of anything.  I'm using an Access 2013 Database and I have a report that is based on a query.  I've created a Report Criteria Form.  I
    need the user to be able to select multiple items in a list box and also to enter a Begin Date and End Date.  I then need my report to return only the records that meet all selected criteria.  It works fine with a ComboBox and 1 selection but can't
    get it to work with a List Box so they can select multiple items.  Any help is greatly appreciated while I still have hair left. 

    The query should return all records.
    Let's say you have the following controls on your report criteria form:
    txtStart: text box, formatted as a date.
    txtEnd: text box, formatted as a date.
    lbxMulti: multi-select list box.
    cmdOpenReport: command button used to open the report.
    The text boxes are used to filter the date/time field DateField, and the list box to filter the number field SomeField.
    The report to be opened is rptReport.
    The On Click event procedure for the command button could look like this:
    Private Sub cmdOpenReport_Click()
    Dim strWhere As String
    Dim strIn As String
    Dim varItm As Variant
    On Error GoTo ErrHandler
    If Not IsNull(Me.txtStart) Then
    strWhere = strWhere & " AND [DateField]>=#" & Format(Me.txtStart, "yyyy-mm-dd") & "#"
    End If
    If Not IsNull(Me.txtEnd) Then
    strWhere = strWhere & " AND [DateField]<=#" & Format(Me.txtEnd, "yyyy-mm-dd") & "#"
    End If
    For Each varItm In Me.lbxMulti.ItemsSelected
    strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    Next varItm
    If strIn <> "" Then
    ' Remove initial comma
    strIn = Mid(strIn, 2)
    strWhere = strWhere & " AND [SomeField] In (" & strWhere & ")"
    End If
    If strWhere <> "" Then
    ' Remove initial " AND "
    strWhere = Mid(strWhere, 6)
    End If
    DoCmd.OpenReport ReportName:="rptMyReport", View:=acViewPreview, WhereCondition:=strWhere
    Exit Sub
    ErrHandler:
    If Err = 2501 Then
    ' Report cancelled - ignore
    Else
    MsgBox Err.Description, vbExclamation
    End If
    End Sub
    If SomeField is a text field instead of a number field, change the line
            strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    to
            strIn = strIn & "," & Chr(34) & Me.lbxMulti.ItemData(varItm) & Chr(34)
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • DSN's Missing in the ODBC drop down list box

    Being new to JDeveloper, I have been running through the
    tutorials. I have installed Oracle lite on NT4 SP3 and have
    tested out the sample data base 'Polite' using the installed
    odbc driver through MS query ...all works fine, however in
    tutorial 3 while trying to add the Data Form using Oracle Lite
    driver, no dsn's appear on the next screen of the wizard when I
    click on the 'ODBC drop down list box'. How do I get Jdeveloper
    to bring up the DSN's. I have also tried the 'Sun JDBC-ODBC
    driver' route, yet still there is not a single DSN in the drop
    down list box.
    Thanks
    null

    Mohamed Nosseir (guest) wrote:
    : Gavin Higgo (guest) wrote:
    : : Mohamed Nosseir (guest) wrote:
    : : : Gavin Higgo (guest) wrote:
    : : : : Being new to JDeveloper, I have been running through the
    : : : : tutorials. I have installed Oracle lite on NT4 SP3 and
    have
    : : : : tested out the sample data base 'Polite' using the
    : installed
    : : : : odbc driver through MS query ...all works fine, however
    in
    : : : : tutorial 3 while trying to add the Data Form using
    Oracle
    : : Lite
    : : : : driver, no dsn's appear on the next screen of the wizard
    : : when I
    : : : : click on the 'ODBC drop down list box'. How do I get
    : : Jdeveloper
    : : : : to bring up the DSN's. I have also tried the 'Sun JDBC-
    ODBC
    : : : : driver' route, yet still there is not a single DSN in
    the
    : : drop
    : : : : down list box.
    : : : : Thanks
    : : : Would you please give us more information about your
    : : : configuration? JDeveloper version, Oracle Lite version,
    : : Windows
    : : : NT locale setting? Is it US version of Windows NT or local
    : : : version?
    : : : Thanks.
    : : I am using Jdeveloper beta 2 (downloaded from the Oracle web
    : : site) against Oracle lite 3.0.6.2.4 on Windows NT 4 sp 3.
    : : Is this all the info you require?
    : I also want to know if your Windows NT is a US English version
    or
    : a localized version?
    : Thanks,
    It is a Windows NT US English version
    Thanks
    null

  • 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,
    Mudit

    Post 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.

  • Retrieve all items in a list by caml query then write it to a word file page by page

    Dears,
    Greetings
    I have some code which will retrieve all items of a list with caml query.
    Now i want to generate a word file with all these retrieved data. I am using foreach here to get all the items in a SPListItemCollection. Now my question is how i can write all the retrieved items inside the word file?
    see the below code which is writing only the last row item of the SPListItemCollection inside word file. I want to write all the retrieved rows inside this word file.
    SPQuery qry = new SPQuery();
    qry.Query = "<Where><Eq><FieldRef Name='Department' /><Value Type='Text'>HR DEPARTMENT</Value></Eq></Where>";
    SPListItemCollection listItems = KPILIst.GetItems(qry);
    foreach (SPListItem item in listItems)
    lblBadgeNo.Text = item["Badge No"].ToString();
    lblName.Text = item["Name"].ToString();
    lblPosition.Text = item["Position"].ToString();
    lblDept.Text = item["Department"].ToString();
    lblHireDate.Text = item["Hire Date"].ToString();
    lblGrade.Text = item["Grade"].ToString();
    lblCurStatus.Text = item["Status"].ToString();
    string FinalOut = "";
    FinalOut = "<table cellpadding=0 cellspacing=0><tr><td style='height:30px;'></td></tr><tr><td style='height:22px;'></td></tr>";
    FinalOut = FinalOut + "<tr><td style='text-align:justify;font-size:22px;'>" + lblBadgeNo.Text + "</td></tr>";
    FinalOut = FinalOut + "<tr><td style='text-align:justify;font-size:22px;'>" + lblName.Text + "</td></tr>";
    FinalOut = FinalOut + "<tr><td style='text-align:justify;font-size:22px;'>" + lblDept.Text + "</td></tr>";
    FinalOut = FinalOut + "<tr><td style='text-align:justify;font-size:22px;'>" + lblHireDate.Text + "</td></tr>";
    FinalOut = FinalOut + "</table>";
    System.Text.StringBuilder strBody = new System.Text.StringBuilder("");
    strBody.Append("<html " + "xmlns:o='urn:schemas-microsoft-com:office:office' " + "xmlns:w='urn:schemas-microsoft-com:office:word'" + "xmlns='http://www.w3.org/TR/REC-html40'>" + "<head><title>EPCCO : HR Comapny Letter</title>");
    strBody.Append("<!--[if gte mso 9]>" + "<xml>" + "<w:WordDocument>" + "<w:View>Print</w:View>" + "<w:Zoom>90</w:Zoom>" + "<w:DoNotOptimizeForBrowser/>" + "</w:WordDocument>" + "</xml>" + "<![endif]-->");
    strBody.Append("<style>" + "<!-- /* Style Definitions */" + "@page Section1" + " {size:8.5in 11.0in; " + " margin:1.0in 1.25in 1.0in 1.25in ; " + " mso-header-margin:.5in; " + " mso-footer-margin:.5in; mso-paper-source:0;}" + " div.Section1" + " {page:Section1;}" + "-->" + "</style></head>");
    strBody.Append("<body dir=rtl lang=EN-US style='tab-interval:.15in'>" + "<div class=Section1>" + FinalOut.ToString() + "</div></body></html>");
    Response.AppendHeader("Content-Type", "application/msword");
    Response.AppendHeader("Content-disposition", "attachment; filename=Eval_" + lblBadgeNo.Text + ".doc");
    Response.Write(strBody);
    Regards
    Shaji
    I am new to SharePoint

    Hello,
    you can try with OpenXML SDK to create word file. I found one link for your reference:
    http://sharepointplace.blogspot.in/2009/12/programmatically-creating-word.html
    Another way is , use Microsoft Word Object Library.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/5b82c0b5-ecaf-40f2-a68a-c7c17c85414f/create-word-documents-by-c?forum=csharpgeneral
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to create list box in selection screen

    Hi Experts,
                    I want to create 2 list boxes, each one is having 5 fields. suggest me the logic.
    Thanks.
    Tony

    Hi,
    Below is the link to help you.
    [List Box in Selection Screen;
    Or here is the sample code.
    TYPE-POOLS: vrm.
    DATA: name TYPE vrm_id,
    list TYPE vrm_values,
    value LIKE LINE OF list.
    PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 10.
    AT SELECTION-SCREEN OUTPUT.
    name = 'PS_PARM'.
    value-key = 'scooby1'.  APPEND value TO list.
    value-key = 'tweety2'.  APPEND value TO list.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = name
    values = list.
    Hope it will help you. Please revert back in case of any query.
    Regards
    Natasha Garg
    Edited by: Natasha Garg on Jan 8, 2009 6:28 AM

  • Add Word Data to List Box in Acrobat 9 Pro

    Hey Guys,
    Brand new user. Is it possible to add a list composed in MS word to a list box in Acrobat 9 Pro without entering them manually one at a time? I am using Windows XP Professional.
    Thanks!

    I never could express myself well...maybe that's why I'm in IT.
    I have a PDF file. Rather than printing it out and filling in the PDF form I want to put a text box on top of the lines on which I would write.
    I have my signature scanned in and is a stamp which I glom on at the end of the document, so for all intents and purposes the finished document is as good as a printed out, filled in, faxed back document. Saves paper, trees, the whales, all that good stuff.
    HOWEVER, I am mentally challenged when it comes to changing the font size (or font type) for that matter of the text that goes inside the text box that you create from the toolbar.
    I can select the text and make it bold, etc. I can change the color of the text box border and background, but for the life of me can't find where the text SIZE is located.
    Thanks,
    John

  • Blue List Boxes

    I noticed that others have posted regarding this question, but haven't seen any answers.  I'll give it a try.
    I am using Adobe Acrobat 8 on a Vista 32 system.  When creating list boxes in fillable forms, the background of the list box field shows and prints in blue.  Changing the appearance in the properties dialogue box has no effect.  Does anyone have a suggestion on how to get rid of the blue background?
    Thanks in advance!
    Charlene

    Unfortunately it's not possible to change the background of this list boxes but it would make a great features request:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Need help with dependent lists boxes with ADF.

    Hello,
    I am doing a project that use tree dependent list boxes.
    Ex. State---->
    College---->
    List of courses of the college chosen above----->
    The way this should work is when I select the state automatically I want it to change to the correspondent list of colleges of that state and after i choose the colleges I want to be able to get all the courses that are given in that college.
    To implement the first two list boxes I create tree views on JDeveloper and and using SelectOneChoice for both State and Colleges. In the binding editor I bind the first View with the second and then the second view with the third and at this point if I execute the first SelectOneChoice would give me all the state and the second SelectOneChoice would give me the list of all the colleges that exist.
    Now on the third view that I create a binding variable and i put a Where state=:TheBindingVariable on the query.
    Also I set the first SelectOneChoice the outoSubmit property to true, id to StateId and PartialTrigger property to CollegeId.
    On pageDef.xml in the bindings I create action form where I select the third view from Date Collection and select Action as ExecuteWithParams. And I set the value under the parameters section to #{bindings.state.inputValue}.
    Under executables still in pageDef.xml I create a invokeAction and I set binds = ExecuteWithParams.
    On first SelectOneChoice on the ChangeValueListener i create a new ManageBeans which generate me a java class and I create a new method as well to use it to change the binding variable on the second SelectOneChoice.
    Here is the method:
    public void Change_StateId(ValueChangeEvent valueChangeEvent) {
    String StateId;
    valueChangeEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
    FacesContext adi = FacesContext.getCurrentInstance();
    ValueBinding vb = adi.getApplication().createValueBinding("#{bindings}");
    DCBindingContainer bc = (DCBindingContainer)vb.getValue(adi);
    if(valueChangeEvent.getNewValue().toString().equals("0")){
    StateId = "MA";
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    }else{
    DCIteratorBinding statesLovIter = (DCIteratorBinding) bc.get("CollegeProvaView1Iterator");
    Row rw = statesLovIter.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
    StateId = (String) rw.getAttribute("State");
    OperationBinding opBindingCollegeLovIter = (OperationBinding) bc.get("ExecuteWithParams");
    opBindingCollegeLovIter.getParamsMap().put("TheState",StateId);
    opBindingCollegeLovIter.execute();
    I don't know what I have done wrong because I am new in this field and a little support would be really helpful.
    I am using JDeveloper 10.1.3.1.0 and Oracle SOA Suite 10.1.3.1.0.
    I would appreciate any help.
    Thanks a lot.

    user8116089 wrote:
    For some reason the first selectonechoice doesn't give me all the states that are in the database it gives me just the first 10.check the value of RangeSize for itarator in pageDef. in this case to show all items it must be set to -1
    Also there is a way to assign the first value of the first selectonechoice to null at the start.this is a problematic requirement since all items are bound to iterator and basically this should serve for navigation purpose so the first item is set as selected, but maybe some workaround exists...
    regards,
    Branislav

  • Drop Down List Box from an Array?

    I have an array - a lovely little 1-dimensional array of customer last names - that I want to display in a drop down list box so my user can begin to type a value in that list box and CF will bring up the matching entry.
    I have tried cfloop and cfselect, but haven't had any success. Once the user clicks on a name, I want to be able to take that value and do some other processing.
      Any suggestions?

    No Ajax - CF is a ***** enough as it is.
    OK - I see where you started to go with your link, but lost you somewhere in Step 2.
    I like the idea of a master query with sub queries off of it (Queries of Queries).  Here's what I got so far:
    <cfquery 
    name = "MasterMemberQuery" datasource = "cfissues">
            SELECT *  FROM Members  
            ORDER BY LastName</cfquery>
      <cfquery  name = "LastNameQry" dbtype = "query">
         SELECT MemberID, LastName  
         FROM MasterMemberQuery  
        ORDER BY LastName</cfquery>
    This worked perfectly - nice cfselect to display the last names - just like before.  However, I still cannot capture the user's choice from the cfselect statement:
    <cfform> 
          <cfselect name = "ChosenLastName"  
                        query = "LastNameQry"  
                        value = "MemberID"  
                        display = "LastName"  
                        size = "1">  
         </cfselect>
         <cfoutput>
                   The chosen MemberID = '#LastNameQry.MemberID#'
         </cfoutput>
    </cfform>
    The name "ChosenLastName" is always labelled as invalid, and the cfoutput always gives the MemberID of the first entry in the LastNameQry, never the user's choice. 
    I need to take the user's choice of last name, capturing the MemberID (the value attribue of the cfselect) and read the MasterMemberQuery to get just the single member's data.
    And is it me or does this forum's site run at about 300 baud?????

Maybe you are looking for