Lookup field to the report area - small problem

Hello guys!

I have a report and a search box that is used to find a specific report column. Only I could get it to work using an instring function. However, in fact it should be an exact match. So when you enter "9"only the folder with ID 9 must be displayed.»
The instring function logically returns all rows that have a 9 match.

My problem is that nothing should be filtered if my Page-Item used for the statement of the chain and the number of input search is null.

Is there a way with sql to return all the rows when normal: P8_POINTSEARCH is null?

{code} select *)
Select
p.inv_pt_id_main as ptidm,
p.inv_pt_id_main as p_bestand,
p.inv_pt_id_main as p_schichtigkeit,
p.inv_pt_id_main as p_entwicklung,
p.inv_pt_id_main as p_verjueng,
p.inv_pt_id_main as p_totholz,
p.inv_pt_id_main as p_biotop,
p.inv_pt_id_main as p_alter,
p.inv_pt_id_main as p_beeintraechtigung,
p.inv_pt_id_main as p_verjueng_aussen,
p.inv_pt_id_main as p_seltene_ba,
p.inv_pt_id_main as p_punkt,
l.str_lebensraumtyp,
p.str_gebiet_main as str_gebiet,
p.str_lrt_main as str_lrt,
l.str_kurzform_lrt,
p.int_inv_pt_nr_main as punktnummer,
p.int_be_main as bewertungseinheit,
p.int_wg as wuchsgebiet,
decode (int_status_sub, 1,' < img src = "#WORKSPACE_IMAGES #neu.png" > ', 2,' < img src = "#WORKSPACE_IMAGES #bearbeitet.png" > ', 3,' < img src = "#WORKSPACE_IMAGES #fertig.png" > ', 4,' < img src = "#WORKSPACE_IMAGES #unbrauchbar.png" > ', 5,' < img src = "#WORKSPACE_IMAGES #unklar.png" > ",)
6, "< img src =" #WORKSPACE_IMAGES #Keine_Auswertung.png "(>') like bild,"
i.str_status
vt_punktdaten_join p,
vt_tbl_status I,.
vt_tbl_lebensraumtyp l
where
(p.int_status_sub = i.cnt_status) and
(p.str_lrt_main = l.str_kurzform_lrt)
and (p.cnt_gebiet =: p8_cnt_gebiet)
and nvl(p.bool_show,0)! = 1) where)
InStr (upper ("PUNKTNUMMER"), upper (nvl (: P8_POINTSEARCH, "PUNKTNUMMER"))) > 0
) {code}

Otherwise, I tried to implement the query in pl/sql.
However, I get an ORA-06550 error when you try to compile the following pl/sql code. Miserably, I can't find the error.
Maybe you have an idea?

{code} declare q varchar2 (4000);
Start
q: = ' select *)
Select
p.inv_pt_id_main as ptidm,
p.inv_pt_id_main as p_bestand,
p.inv_pt_id_main as p_schichtigkeit,
p.inv_pt_id_main as p_entwicklung,
p.inv_pt_id_main as p_verjueng,
p.inv_pt_id_main as p_totholz,
p.inv_pt_id_main as p_biotop,
p.inv_pt_id_main as p_alter,
p.inv_pt_id_main as p_beeintraechtigung,
p.inv_pt_id_main as p_verjueng_aussen,
p.inv_pt_id_main as p_seltene_ba,
p.inv_pt_id_main as p_punkt,
l.str_lebensraumtyp,
p.str_gebiet_main as str_gebiet,
p.str_lrt_main as str_lrt,
l.str_kurzform_lrt,
p.int_inv_pt_nr_main as punktnummer,
p.int_be_main as bewertungseinheit,
p.int_wg as wuchsgebiet,
Decode (int_status_sub, 1, "< img src =" #WORKSPACE_IMAGES #neu.png ">", 2"< img src =" #WORKSPACE_IMAGES #bearbeitet.png ">", 3, "< img src =" #WORKSPACE_IMAGES #fertig.png ">", 4"< img src =" #WORKSPACE_IMAGES #unbrauchbar.png ">", 5, "< img src =" #WORKSPACE_IMAGES #unklar.png ">",)
6, "< img src =" #WORKSPACE_IMAGES #Keine_Auswertung.png ">") such as bild,.
i.str_status
vt_punktdaten_join p,
vt_tbl_status I,.
vt_tbl_lebensraumtyp l
where
(p.int_status_sub = i.cnt_status) and
(p.str_lrt_main = l.str_kurzform_lrt)
and (p.cnt_gebiet =: p8_cnt_gebiet)
and nvl(p.bool_show,0)! = 1)
' ;

If: P8_POINTSEARCH is not null then
q: q = |' where Punktnummer =: P8_POINTSEARCH';
Another null.
end if;

Return to q;
end; {code}


Thanks for your comments!

Brgds,

SEB

Edited by: skahlert the 19.07.2010 06:32

This should give you what you need:

SELECT *
  FROM (SELECT p.inv_pt_id_main AS ptidm, p.inv_pt_id_main AS p_bestand,
               p.inv_pt_id_main AS p_schichtigkeit,
               p.inv_pt_id_main AS p_entwicklung,
               p.inv_pt_id_main AS p_verjueng, p.inv_pt_id_main AS p_totholz,
               p.inv_pt_id_main AS p_biotop, p.inv_pt_id_main AS p_alter,
               p.inv_pt_id_main AS p_beeintraechtigung,
               p.inv_pt_id_main AS p_verjueng_aussen,
               p.inv_pt_id_main AS p_seltene_ba, p.inv_pt_id_main AS p_punkt,
               l.str_lebensraumtyp, p.str_gebiet_main AS str_gebiet,
               p.str_lrt_main AS str_lrt, l.str_kurzform_lrt,
               p.int_inv_pt_nr_main AS punktnummer,
               p.int_be_main AS bewertungseinheit, p.int_wg AS wuchsgebiet,
               DECODE
                  (int_status_sub,
                   1, '',
                   2, '',
                   3, '',
                   4, '',
                   5, '',
                   6, ''
                  ) AS bild,
               i.str_status
          FROM vt_punktdaten_join p, vt_tbl_status i, vt_tbl_lebensraumtyp l
         WHERE (p.int_status_sub = i.cnt_status)
           AND (p.str_lrt_main = l.str_kurzform_lrt)
           AND (p.cnt_gebiet = :p8_cnt_gebiet)
           AND NVL (p.bool_show, 0) != 1)
 WHERE UPPER ("PUNKTNUMMER") = UPPER (NVL (:p8_pointsearch, "PUNKTNUMMER"))

It returns all the lines if you do not enter anything and will match your entry if: p8_pointsearch is not NULL.

Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
-------------------------------------------------------------------

Tags: Database

Similar Questions

  • Right side of the text in the report are cut during report generated in PDF format

    Right side of the text in the report are cut during report generated in PDF format.
    In the report layout text is FLUSH JUSTIFIED. Text block is the same size as the outer frame.
    When the report is generated in PDF format, text is only JUSTIFIED to the LEFT and to the right looks like cut. Text beyond frame is invisible.
    But when I text selection in the PDF report that all the text is selected and I can copy and paste this text into any editor.
    What is a cause of this error and how can I solve this problem? In my view, there is error in report engine.
    Report Server Version: 10.1.2.3.0

    See photo. [http://1.bp.blogspot.com/_tSW8j23gT08/TKXn84zyRMI/AAAAAAAAAGE/KkNibanTSao/s1600/report_error.JPG]

    Don't know what your operating system and it could make a difference. If you're on Unix/Linux, try changing the uifont.ali file. (make a backup first!).

    Here is an example of the changes that I made to correct a similar problem:

    # Mapping of MS Windows

    #Arial = helvetica
    # 'Courier New' = courier
    # "Times New Roman" = times
    #Modern = helvetica
    #"MS Sans Serif" = helvetica
    # "MS Serif" = times
    # "Small fonts" = helvetica

    #Arial = 'arial.ttf '.
    Arial = helvetica.8
    "Courier New" = courier.9
    Arial.12 = helvetica.8
    #helvetica.12.Bold = helvetica.9
    #ArilMT is helvetica.9
    # "Albertus Extra Bold" = helvetica.9

    [PDF]

    #Arial = courier
    #arial = courier

    # Support for the languages of the far East:

    #itcadvantgardegothic = arial
    # "ITC front guard Gothic" = arial
    #itcadvantgardegothic = arial
    # "ITC Avant Garde Gothic" = Arial
    # changed to courier 06-25-2009
    itcadvantgardegothic = Helvetica
    #itcadvantgardegothic = arial
    "ITC Avant Garde Gothic" = Helvetica.11

    # Required
    #itcadvantgardegothic = arial
    # "ITC Avant Garde Gothic" = Arial

    [PDF:Subset]

    #times = "times.ttf".
    #courier = "cour.ttf.
    #helvetica = 'arial.ttf '.
    #arial = 'arial.ttf '.
    #helvetica = 'arial.ttf '.
    # 'Avant Garde' = 'arial.ttf '.
    #arial = 'arial.ttf '.
    #helvetica = 'arial.ttf '.
    #arial = 'arial.ttf '.
    #itcadvantgardegothic = 'arial.ttf '.
    #helvetica = 'arial.ttf '.
    #courier = "cour.ttf.

  • I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    Mr President.

    I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    formdoubletables.png

    the page source is

    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:group id="Group">
          <af:inputText value="#{bindings.VoucherId.inputValue}" label="#{bindings.VoucherId.hints.label}"
                        required="#{bindings.VoucherId.hints.mandatory}" columns="#{bindings.VoucherId.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId.hints.precision}"
                        shortDesc="#{bindings.VoucherId.hints.tooltip}" id="it1">
            <f:validator binding="#{bindings.VoucherId.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId.format}"/>
          </af:inputText>
          <af:inputDate value="#{bindings.VoucherDate.inputValue}" label="#{bindings.VoucherDate.hints.label}"
                        required="#{bindings.VoucherDate.hints.mandatory}"
                        columns="#{bindings.VoucherDate.hints.displayWidth}"
                        shortDesc="#{bindings.VoucherDate.hints.tooltip}" id="id1">
            <f:validator binding="#{bindings.VoucherDate.validator}"/>
            <af:convertDateTime pattern="#{bindings.VoucherDate.format}"/>
          </af:inputDate>
          <af:inputText value="#{bindings.Credit.inputValue}" label="#{bindings.Credit.hints.label}"
                        required="#{bindings.Credit.hints.mandatory}" columns="#{bindings.Credit.hints.displayWidth}"
                        maximumLength="#{bindings.Credit.hints.precision}" shortDesc="#{bindings.Credit.hints.tooltip}"
                        id="it2">
            <f:validator binding="#{bindings.Credit.validator}"/>
          </af:inputText>
        </af:group>
        <af:group id="g1">
          <af:inputText value="#{bindings.Lineitem.inputValue}" label="#{bindings.Lineitem.hints.label}"
                        required="#{bindings.Lineitem.hints.mandatory}" columns="#{bindings.Lineitem.hints.displayWidth}"
                        maximumLength="#{bindings.Lineitem.hints.precision}" shortDesc="#{bindings.Lineitem.hints.tooltip}"
                        id="it3">
            <f:validator binding="#{bindings.Lineitem.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Lineitem.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.VoucherId1.inputValue}" label="#{bindings.VoucherId1.hints.label}"
                        required="#{bindings.VoucherId1.hints.mandatory}"
                        columns="#{bindings.VoucherId1.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId1.hints.precision}"
                        shortDesc="#{bindings.VoucherId1.hints.tooltip}" id="it4">
            <f:validator binding="#{bindings.VoucherId1.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId1.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Debit.inputValue}" label="#{bindings.Debit.hints.label}"
                        required="#{bindings.Debit.hints.mandatory}" columns="#{bindings.Debit.hints.displayWidth}"
                        maximumLength="#{bindings.Debit.hints.precision}" shortDesc="#{bindings.Debit.hints.tooltip}"
                        id="it5">
            <f:validator binding="#{bindings.Debit.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Credit1.inputValue}" label="#{bindings.Credit1.hints.label}"
                        required="#{bindings.Credit1.hints.mandatory}" columns="#{bindings.Credit1.hints.displayWidth}"
                        maximumLength="#{bindings.Credit1.hints.precision}" shortDesc="#{bindings.Credit1.hints.tooltip}"
                        id="it6">
            <f:validator binding="#{bindings.Credit1.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Particulars.inputValue}" label="#{bindings.Particulars.hints.label}"
                        required="#{bindings.Particulars.hints.mandatory}"
                        columns="#{bindings.Particulars.hints.displayWidth}"
                        maximumLength="#{bindings.Particulars.hints.precision}"
                        shortDesc="#{bindings.Particulars.hints.tooltip}" id="it7">
            <f:validator binding="#{bindings.Particulars.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Amount.inputValue}" label="#{bindings.Amount.hints.label}"
                        required="#{bindings.Amount.hints.mandatory}" columns="#{bindings.Amount.hints.displayWidth}"
                        maximumLength="#{bindings.Amount.hints.precision}" shortDesc="#{bindings.Amount.hints.tooltip}"
                        id="it8">
            <f:validator binding="#{bindings.Amount.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Amount.format}"/>
          </af:inputText>
        </af:group>
        <f:facet name="footer">
          <af:button text="Submit" id="b1"/>
          <af:button actionListener="#{bindings.CreateInsert.execute}" text="CreateInsert"
                     disabled="#{!bindings.CreateInsert.enabled}" id="b2"/>     
          <af:button actionListener="#{bindings.Commit.execute}" text="Commit" disabled="#{!bindings.Commit.enabled}"
                     id="b3"/>
          <af:button actionListener="#{bindings.Rollback.execute}" text="Rollback" disabled="#{!bindings.Rollback.enabled}"
                     immediate="true" id="b4">
            <af:resetActionListener/>
          </af:button>
        </f:facet>
      </af:panelFormLayout>
    </ui:composition>
    
    
    
    

    Concerning

    Go to your VO Wizard, select the tab of the entity and to check if both the EO is editable or not.

    See you soon

    AJ

  • Subject domain changed after all the report are built? As soon as possible the necessary responses.

    Hi Sir, OBIEE,

    I've created more than 30 report, and now it is askin customer change the domain name of object in the presentation layer, when changed following error appears.

    * ' * Either you are not authorized to use the DOMAIN NAME of the SUBJECT area in the responses, the area in question do not exist.*. "

    Useful answer will be marked.

    Thank you.

    Go to the offline catalog manager and use search XML and replacement tool to replace the old domain name to the new domain name. This should solve your problem.

    Another method you can use is described in this forum post: Rename the model commercial and field

    Please award points if helpful/correct.

  • Search and replace values in the text field before the values are stored in DB

    Hello
    There is a question - answer and text box text field - in my application. Problem is, some of the answers are stored with the apostrophes to the DB and I have a problem while recovering in the DB. I need to replace the single quotes 1 with 2 apostrophes. The values are stored in the DB when you click on the submit button.

    So, I'm using the following javascript code:
    italics
    < script type = "text/javascript" >
    function test().
    {
    var str = "& P2_S1.";
    document. Write (Escape (STR));
    }
    < /script >
    italics
    I need to call this javascript function, when the user clicks on the button submit, but BEFORE the values are stored in the DB. How can I get this done?

    Please let me know.

    Hi Suzi,

    Just use

    begin
    update test set S1=replace(:P2_S1, '''', '''''') where name=:APP_USER;
    end;
    

    as you did in your SELECT statement.

    But I shake also why you want to do? Where do you have problems with the apostrophe?

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Write name of series in the chart to the report area

    I have a sample application created for my use and its accessible via the link

    https://Apex.Oracle.com/pls/Apex/f?p=78540:1:106638818610570:

    Username and password is apex_global / apex_global

    workspace: SHASAPEX

    I'm doing an exploration down to a region of the graph to a regional report and when I click on my bar diagram - I want to be able to pass the name label and the serial in my region to report (Variables) - so in my example - I'm hoping to spend say - JUL-14 and eligible Evergreen when click on the blue bar in the region of JUL - 14 , then through java for the link action script, I do an update of my region to report after you have defined the required hidden items

    But I don't know - how to pass the series name of my table for the report region - as of now, I have a javascript function to do a pop up of my values passed which shows JUL-14 and 2 when you click on my region example

    Thank you

    S

    Hi Jeff / Mihai,.

    Just thought to share my discoveries - has been able to make it work as I wanted (i, e - one query with several series of that) and then click for the series name to dig another report

    The reason why this is essential, what I need where I don't know how much of series I'm going to so I'll construct my SQL in a function and return to the region of APEX - this way atleast I would like to know which series is clicked, and I would have to factor the name of set of real criteria SQL into sql report child I did ,

    I updated my original with her test area if you want to take a look.

    Basically, we need to make a listener on the loading of the page that looks something like (Note: here in static chart region ID is RG1_EVGEXP_BAR)

    AnyChart.getChartById($("#RG1_EVGEXP_BAR_chart object").attr("id")).addEventListener("pointClick",function(e){
      console.log(e);
    showChartPopup(e);
    });
    

    And a separate java script which binds the name of the series and then update my report region is.

    function showChartPopup(pEvent){
    alert(pEvent.data.Name);
    alert(pEvent.data.Series.Name);
    clickEvgExpBar(pEvent.data.Name,pEvent.data.Series.Name);
    }
    
    function clickEvgExpBar(pLabel,pValue){
       $x('P1_R2_PERIOD').value = pLabel;
       $x('P1_R2_EVG_ELG').value = pValue;
       $('#R2_EVGEXP_CAT_DTLS').trigger('apexrefresh');
    }
    
  • Refresh the report area of PL/SQL (not Page) using the value of the select list

    Hello

    I have a report region based on a "body of the PL/SQL function returning a query'which SQL is generated on the selection of a value of an element from the selection list, select action list is"Redirect and set", but this causes the entire page refresh rather than just the region report." I tried to update the report using only a dynamic action on the item list select (Action now reset to 'None'), but now the report does not appear on the choice of the list. Can someone suggest a solution that will allow me to update this report without refreshing the page? I use APEX 4.2.2 and the syntax of the statement is as follows:

    DECLARE

    v_statement VARCHAR2 (500);

    BEGIN

    SELECT query_text
    IN v_statement
    OF sql_queries
    WHERE query_id =: P2_QUERY;

    RETURN v_statement;

    END;

    where P2_QUERY is Select list item,

    Kind regards

    Kevin.

    KevinFitz wrote:

    The displayed report region is subordinate to the point P2_QUERY is NOT NULL. I guess that the region appears not is because the Action for the select list item is set to None, and so P2_QUERY is always NULL.

    No, the region does not appear because it is subordinated to the P2_QUERY being NOT NULL. This means that the region of report never exists on the page displayed in the browser, so it cannot be updated dynamically. (Dynamic updating is not to evaluate the conditions of the region, and she makes only the content of the report, not the whole region again).

    Remove the condition on the region to report, check the update works and then go back on what exactly are the requirements here. If you want to the area appear only when P2_QUERY has a value, and you want it to be regenerated without submitting and reposting of the page, the region must then be hidden rather than conditionally restored and shown via dynamic when action P2_QUERY Gets a value.

    I tried to add a further Action for the event real value DA but has been a mistake, as stated above,

    All irrelevant if Page to submit items on the region is used correctly.

  • Transposition in order for the numeric field on the report

    On the report, there is some kind of transposition in the CSA for the number field order?
    I want the PivotTable to be in a State of the CSA by the number field.
    But it does not work.
    Thank you for your cooperation.

    How about sorting metrics in the step of step 1 (criteria define) first?

  • Default value for the field in the report updated

    I am using an update report (form-> tabular). When I add a new line to a new record, I need set automatically one of the fields in the new record to a value of element. I don't want the user of having to hand enter this field (this is a foreign key to a related table iD). How can I set the value of this field in the new row when I click on the "add a line"?

    I hope the question makes sense!

    Thank you
    John

    John,

    You wrote

    When I add a new line to a new record, I need set automatically one of the fields in the new record to a value of element.

    Under report attributes > column attributes see the attributes of tabular form

    Default type element (application or name of the item page)

    The value default to your point value name.

    Jeff

  • Fields in the form are not displayed in OS 6.0

    I have app developed for BlackBerry that support the OS 4.3 and above.  It works very well on all OS up to 5.0 but here is the troublemaker.

    On devices which was 6.0, it truncates some fields like the bottom of the screen because the screen is fill with content.

    Yes, there is a limit of screen on OS 6 buffer?  or how is it these fields background getting disappeared?

    Any ideas would be greatly appreciated.

    Thank you

    Vincent

    Scrape some managers of custom layout you have. You specify the field that he has less the entire screen? Do it on the field!

    DateField todayDate = new DateField(...) {
      protected void layout(int width, int height) {
        super.layout(Math.min(width, myDesiredWidth), height);
      }
    };
    

    myDesiredWidth above can only be something calculated according to the police, or, say, the width of the screen - your choice. For now, the value as Display.getWidth () / 2 and see if you like the results.

    This code uses the fact that all predefined fields respect the width, height limits in their method of layout . I wish I could say the same thing about the custom/managers fields flying around in this forum and on the ' Net...

  • The reports are limited to 100 pages only in ACS worm 5.4

    Hello

    I can't export more than 100 pages of report viewer. Is it possible to export a full report to CSV?

    Kind regards

    SYED

    This is known to cisco. The GBA 5.2 guide speaks of the same.

    «The observer logs & reports ACS is limited to 100 pages.» ACS applies filters as last 30 days only on the pages of the top 100. In case of very strong load monitoring reports & ACS Viewer may not able to view complete information for the filters such as 30 days. During the critical period, it is recommended that you export the data to a CSV file after generating the report for every one or two hours. »

    User Guide:

    http://www.Cisco.com/en/us/partner/docs/net_mgmt/cisco_secure_access_control_system/5.2/user/guide/viewer_troubleshooting.html#wp1077489

    CSCtq06579    ACSview reports carry only 100 pages

    I guess that in ACS 5.5 this limit will be 500 pages.

    Now you can go through the link below:

    https://supportforums.Cisco.com/docs/doc-28117

    ~ BR
    Jatin kone

    * Does the rate of useful messages *.

  • List of selection in the report area. Everything is not in order...

    I want to have one item in a report from the region. The selected item in the list of selection of is the 'master' for records in the region. It worked very well, but after the removal of another region on the same page that the selection list is now displayed under the State rather than on the top of the report. I can't find a way to get back on top.

    In fact I can't find any attribute that determines what comes first in this situation. It is bad practice to use an item in a report region?

    Hello René,.

    What is the view point of your region? Try the configuration in "body of Page Template (3.» (éléments ci-dessus contenu région) ".

    Kind regards
    Dirk

  • Synopsis of short box and text field in the detail area

    I have recently made some dynamic sites and had a question on only to shoot the first lines of couple of data in a field on the summary page and showing the full details of the page. Currently, I do 2 fields, a short field and a detail field. Can I condense these and write code to display only a few lines in my summary page?

    Thank you, David. Great answer. I searched in your book, Dreamweaver CS3 with CSS, AJAX, and PHP, but could not find.

  • Parts of the picture are small and the transitions of color too

    I am creating images of t-shirt and I have a problem: Spreadshirt says that my photos have very small objects in it, and they have too many different colors. (I can only contain 3) I want all the transitions between colors of color, but how to choose without going through a small spot of color in time? What is a way to remove only the transitions? And how to remove objects that are too small? Select same fill color does not work, or I'm doing it wrong. I also clicked on extend to solve a problem of text, do not know if it matters.

    Select objects:

    http://js4ai.blogspot.de/2009/02/new-script-select-paths-by-size.html

    If you need to combine the red and orange in one?

    Use ADSI > change color > Recolor art to unite all the colors.

    Then select all this stuff and use Pathfinder > unit.

  • Fact using two fields in the report to division.

    Hello

    I have two columns on my report TOTAL_REQUESTS AND ASSIGNED_SEATS. I want to divide ASSIGNED_SEATS by TOTAL_REQUESTS.

    <? xdoxslt:IfElse (TOTAL_REQUESTS > ASSIGNED_SEATS,(ASSIGNED_SEATS/TOTAL_REQUESTS), 100)? >

    When I do that, I get an empty field.

    But when I add the columns together I get the result.

    <? xdoxslt:IfElse (TOTAL_REQUESTS > ASSIGNED_SEATS,(ASSIGNED_SEATS+TOTAL_REQUESTS), 100)? >

    What I am doing wrong?

    Thank you!

    Hi Kelly,

    What if the value of these fields >?

    Division by zero will cause this problem., add a condition or use option 3

     ASSIGNED_SEATS) and (TOTAL_REQUESTS > 0) and (ASSIGNED_SEAT>0), ASSIGNED_SEATS div TOTAL_REQUESTS,100)?>
    or
     100), 1111 div 22,100)?>
    or
     100), xdoxslt:div(10,0),100)?>
    

    the second and third will work perfectly, since they got the correct hard-coded data.

Maybe you are looking for