TableFilter - how apply a filter string with logical OR?

Hi there,
i've got an application here with the capability of sorting and filtering a table, provided due to the use of TableFilter and TableSorter classes.
Works fine so far!
But now i have the requirement to filter a colum with the use of a logical expression OR.
for example:
I sure can filter one of my table colums by the string "neu" and i also can filter the same colum by the string "zwischenbescheid".
But is there a way filtering the colum by something like "neu OR zwischenbescheid" / "neu || zwischenbescheid"?
cheers

Hello Arun ,
Code level changes is Ok we can achieve but how will display the content. ? is there any workaround using TableColumnGroup?
Best Regards
Satish Kumar

Similar Messages

  • How to create a String with a specific size?

    how to create a String with a specific size?
    For example I want to create different Strings with the size of 100 , 1000 or 63k byte?

    String are immutable so just initialize it with the number of characters you want.
    You might want to look at java.lang.StringBuffer and see if that's what you want.

  • How to concatenate a string with single quotes

    Hi all,
        how to concatenate a string with single quotes to a variable.
    Sathya

    Hi sathyabama,
    1. simple
    2. use TILDE character <b>(`)</b>
       (just left to the '1' key)
    <b> `'mystring'`</b>
    3. just copy paste
    report abc.
    data : m(100) type c.
    concatenate `'amit mittal'` 'hello' into m separated  by space.
    write m.
    regards,
    amit m.

  • How to print a string with out using main method??

    how to print a string with out using main method??
    if we can tell me with example?
    thanks in adavance
    raja

    Hi,
    actually there's none. The UITableView class needs to "know" the tableView's height so either it can calc <number of rows> times <row height> or it has to sum the height of each single row.
    If the row which needs to be of different size always is the first or the last row you can user a tableHeader or tableFoot view.
    Regards
    Dirk

  • How to enter sysex string in logic 9

    I need to send Local Control Off to my CZ-1. I'm trying to figure out how to enter a sysex string in Logic, and I'm having trouble with the event view.
    Here's the string:
    LOCAL OFF send B0 + channel, 7A, 00
    IN logic, I click create and then Syst. Exclusive and I get:
    1   1   1   1  $F0  $00 $00
    I seem to be unable to set any of those to B0, although I can set 7A and 00
    Can someone help me get started with this? is this one event or multiple? How do I set B0 when nothing will let me pick or enter that number?
    Thanks!

    Joel Braverman wrote:
    I need to send Local Control Off to my CZ-1. I'm trying to figure out how to enter a sysex string in Logic, and I'm having trouble with the event view.
    Here's the string:
    LOCAL OFF send B0 + channel, 7A, 00
    IN logic, I click create and then Syst. Exclusive and I get:
    1   1   1   1  $F0  $00 $00
    I seem to be unable to set any of those to B0, although I can set 7A and 00
    Can someone help me get started with this? is this one event or multiple? How do I set B0 when nothing will let me pick or enter that number?
    Thanks!
    I think the string you're looking for is   F0 44 71 7A F7
    What I think B0 refers to is the Device ID, for Casio it's 44
    71 is the MIDI channel number the Casio is set to receive on, 71 is MIDI Channel 1.
    I assume 7A is the Local Off command.
    F0  and  F7  are automatically entered by Logic. The $ is signifying a hex value and is just there for show.
    It would be great if it were that simple, hopefully it is!

  • How to create a String with comma ?

    Hi All,
    I have a table with 10 records(employee name) and i have to make a string
    with comma delimiter and at the end with "."
    Can anybody tell me how to write a Java program for this ?
    Thanks in advance.

    // I believe the following example gives you the answer.
    class stringEG {
         public static void main(String args[]) {
         String emprs[] ={"1","2","3","4","5","6","7","8","9","10"};
         String vempname = "";
         for(int i=0; i<emprs.length; i++) {
         if(i == (emprs.length-1))
              vempname = vempname + emprs[i] + ".";
         else
              vempname = vempname + emprs[i] + ", ";
         System.out.println("vempname : "+vempname);
    Here dont assume that I asked you to get all the results and putting
    it into the string arrays. But its a simple example to suit your requirement.
    The half-way coding below answers your question, I hope.
    vempname = "";
    while (emprs.next()) {
    if(emprs.isLast())
    vempname = vempname + emprs.getString("empname") + ".";
    else
    vempname = vempname + emprs.getString("empname") + ", ";
    // nats.

  • How to concatenate a string with spaces

    Dear experts,
    I would like to concatenate a string with three spaces, for example,
    CONCATENATE 'X' SPACE SPACE SPACE 'Y' INTO LV_RESULT.
    However, the result I got from executing the above statement is not 'X   Y' as I want, but rather 'XY'.
    I did try
    CONCATENATE 'X' '***' 'Y' INTO LV_RESULT.
    REPLACE '***' with '   ' INTO LV_RESULT.
    still doesn't work.
    How can I write ABAP code to archive such a result?
    Any idea would be appreciated.
    Vitthavat A.

    dear  Oliver Hütköper and koolspy,
    I tried your solutions, and it works.
    so i awarded points to you.
    anyway, while trying the 'respecting blanks', i got an error:
    "".", "IN BYTE MODE", "SEPARATED BY ..." or "IN CHARACTER MODE" expected"
    not sure what it means. but it's ok. the problem has been solved.
    thanks again.

  • How to use oxygen 8 with logic -- control knobs

    Hey
    I have an oxygen 8, and if I use it with Logic, the keyboard and pitch bend work, but not the knobs. It was the same with GarageBand, but I don't think with Garage Band it is even possible to get the knobs to work.
    It's gotta be possible with Logic, though -- anyone know how?
    Thanks
    Bob

    Hi...good news - it's easy!
    if you wanna control the global pan. open the mixer, click on the pan of the output 1-2 channel strip then open the controller assignments (command - L). Learn mode should be selected now move the knob on your oxygen 8 that you wish to control global pan with. click on the "learn mode" button to deselect it and moving the newly assigned knob on your oxygen 8 will control global pan.
    This works the same for all plug-ins and instruments too - so you can control the cuttoff and resonance on the exs24 for example or any control on any plug-in.
    you need to make sure you activate the control on the plug-in first and then on the oxygen 8.
    Also, you can find the controller assignments window here:
    Logic Pro>Preferences>Control surfaces>Learn assignments for.... or Controller assignments...
    Hope that helps
    Rounik

  • How to split a string with linefeed character ( LF ) as a delimiter in VB6?

    Hi. I am writing a small program in VB 6.0. 
    I have a string named Data and it contains few characters along with <LF> in it. ( <LF> is a new line/line feed character).
    I want to split this string with <LF> as delimiter and store the tokens in an array. I tried with split function and its giving me type mismatch error. Can anyone tell me how to do it?
    I am giving the pseudo-code below.
    Dim Data as string
    Data = "hello, how are you<LS>good morning guys <LS> hi"
    Dim strarray() as stringMsgbox(Data)
    strarray = split(Data, "<LS>")
    When i see the Data in message box before split function, it shows up in different lines like this:
    hello, how are you
    good morning   guys 
    hi
    I want the final array strarray to be like this:   strarray(0) = "hello, how are you"
    strarray(1) = "good morning   guys "
    strarray(2)  = " hi"
    The spaces can be as it is. Just i need the string to be delimited wherever <LS> is there.
    Please help me as soon as possible. Though it is small one, i am stuck here.
    Thanks in advance,
    Satya.

    Hello,
    This forum is for VB.NET, please check the following resources
    http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b/where-to-post-your-vb-6-questions?forum=vbgeneral
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • How to rewire live 6 with logic?

    Hi there we have been trying to rewire live 6 with logic 8 in both directions and are not able to get any sound. The application seems to be in sync but no sound- what do we do wrong?

    Hi User inside Tools > Default Proyect Properties > Libraries > J2SE Version.
    Good Luck.

  • How to split a string with regular expression

    Hi.
    I need to split a string with a regular expression.
    Example
    String = "this is; a test";rune haavik;12345;
    And I want the output to be:
    "this is; a test"
    rune haavik
    12345
    If I use this code:
    private void test1()
    String str = "\"this is; a test\";rune haavik;12345;";
    int i=0;
    String[] tmp = str.split(";");
    while(i<tmp.length)
    System.out.println(tmp);
    i++;
    Then it splits also in the "" text.
    Regards
    Rune haavik

    Rune haavik:
    The most effective way to achieve the end result is, I believe, to read the characters one by one, using a flag that indicates if we are inside quotation or not.
    Well, if we are in a mind game, then the following should do.
           String[] tmp = str.split(";(?![^\"]*\";)");

  • Final cut Studio 2 - how much a no-go with logic 9?

    I have the new Logic 9 upgrade but I see in the installation notes that the new compressor 3.5 and Soundtrack Pro 3 Is "incompatible" with Final cut studio 2.
    Now I also run Finalcut studio 2 apps regularly but I hadn't planned on upgrading just yet but I certainly want to see soundtrack pro 3 (so many bugs in v2!!).
    Does anyone know what will happen if I install STP and compressor from logic 9 regardless? How incompatible is incompatible?

    My experience with logic9 and FCS 2...
    I've installed the full package of Logic 9 regardless of the incompatibility problems (yes, brave, I know:-)
    You are indeed "allowed" to do this - you just click a sort of "do it anyway" button.
    So far I have launched existing projects and done basic edit cuts in FCP with no problems. I've edited for a day so I feel happy to conclude that basic editing in FCP is not broken.
    I have exported ref. and self-contained movies via quicktime conversion so thats not broken.
    I have exported XML files from FCP to Logic 9, thats not broken.
    Soundtrack v3 launches, plays audio and appears to be ok after about 15mins of me testing - by no means conclusive testing.
    I've used logic for a day and it seems just dandy.
    I have not used colour, compressor or motion.
    Just thought I'd mention it in case anyone else is facing the same dilemma as I was.

  • How to compare a string with integer in jsp

    I have a field in database called as enddate
    i m trying to split the entire date and get date,month and year
    once i store the date in a variable called as fmdate which is string,
    i need to compare it with another integer.
    how can i compare it..heres my code
    stdate=RS.getString("start_date");
         fmdate=stdate.substring(8,10);
         fmmonth=stdate.substring(5,7);
         fmyear=stdate.substring(0,4);
    and this is where i want to compare the value of j to fmday...
    <td class="btext" valign="center">Day<select name="fmday">
    <%
    for(int j=1;j<=31;j++)
    String s;
    parseInt(s)=j;
    if (fmdate.equals(s))
    %>
    <option value="<%=j%>"><%=j%></option>
    <% } else { %>
    <option value="<%=j%>"><%=j%></option>
    <%
    } %>
    </select>
    pl help me...
    Thanks Srini

    j is an int, so you're just adding 0, not concatenating. Perhaps something like this would work.
    <%
      for(int j=1;j<=31;j++)
         String date = String.valueOf(j);
         if(j <= 9) {
            date = 0 + date;
         if (fmdate.equals(date)) {
    %>
      <option value="<%=date%>"><%=date%></option>
    <%
         } else {
    %>
      <option value="<%=date%>"><%=date%></option>
    <%
    %>Uhm, I assume there should be a 'selected' or something in one of the option tags?

  • How to use filter operator with ROWNUM

    I would like to add filter operator in my mapping with ROWNUM to reduce the ETL loading time during testing to ensure mapping is working, but I don't know how, please help provide me some guideline. Thank you.

    what is your owb version?
    Starting with Oracle Warehouse Builder 10.2.0.3, you can use the pseudocolumns ROWID and ROWNUM in mappings. The ROWNUM pseudocolumn returns a number indicating the order in which a row was selected from a table. The ROWID pseudocolumn returns the rowid (binary address) of a row in a database table.
    You can use the ROWID and ROWNUM pseudocolumns in Table, View, and Materialized View operators in a mapping. These operators contain an additional column called COLUMN USAGE that is used to identify attributes used as ROWID or ROWNUM. For normal attributes, this column defaults to TABLE USAGE. To use an attribute for ROWID or ROWNUM values, set the COLUMN USAGE to ROWID or ROWNUM respectively.
    You can map a ROWID column to any attribute of data type ROWID, UROWID, or VARCHAR2. You can map ROWNUM column to an attribute of data type NUMBER or to any other data type that allows implicit conversion from NUMBER.
    Note that ROWID and ROWNUM pseudocolumns are not displayed in the Data Object Editor since they are not real columns.
    Edited by: Darthvader-647181 on Oct 29, 2008 9:18 AM

  • How to transfer a string with \' and \" to an Oracle table?

    An MS Access column contains characters such like \' and \". How to transfer this column to an Oracle table? Thank you.
    sqlCommand="insert into jobposition values (\'"+rsSrc.getString(1)+"\')";

    Sure, as a Java programmer, I undertand
    (1) All of \\, \' and \" are single characters,
    but here you have to understant
    (2) I'm making a SQL command (not a java statement!) with ' or " (not \) !!!
    Please pay attention, I don't need \, I need ' ONLY!
    So, the following sqlCommand can be run properly.
    aString="programmer bad boss";
    sqlCommand="insert into mytable values (\'"+aString+"\')";
    But, the following sqlCommand can NOT be run properly?
    aString="programmer\'s \"bad\" boss"; // programer's "bad" boss
    sqlCommand="insert into mytable values (\'"+aString+"\')";
    DO NOT tell me you want to modify them like this:
    aString="programmer\'s \"bad\" boss"; // programer's "bad" boss
    sqlCommand="insert into mytable values (\\'"+aString+"\\')";
    PLEASE!
    (If so, you can't get a correct SQL command!
    Note: an incorrect SQL command is shown as following:
    insert into mytable values (\'programmer\')
    The \\ will give you a single \ in your String.
    The \ is an escape character so in a String you must
    double them.

Maybe you are looking for