Light Switch 2011 "C#" How to allow filter which take more than one entry to take * and show all other entries?

Dear All,
I have created the following code which extended my filter functionality and allowed a to take more than one entry (Comma have to be inserted after
each entry). 
For example:
"Country Filter" can take ----> Germany,Egypt,Holand<o:p></o:p>
"City Filter " can take ---------> Berlin,Münster
if (Country_PAR != null)
String[] Country_Array = Country_PAR.Split(new Char[] { ','});
query = from p in query where Country_Array.Contains(p.Hotel_Country) select p;
if (City_PAR != null)
String[] City_Array = City_PAR.Split(new Char[] {','});
query = from p in query where City_Array.Contains(p.Hotel_City) select p;
Now want to extend it more and say something like:
If  * is included ---- > Give me all entries        
     ex. Ge*     This will give me everything which starts with Ge
If <> is entred -----> Give me entries which are not equal to a certain entry
     ex. Country Filter = <> Germany          give me all other entries except Germany
Thanks alot,
Zayed

Thanks your reply. I mean no one know my feeling. except if the new car is your. If Geek Squad can't install it. Just let me know and go. right? I ask many time? Are you ok to finish? He said yes. First time fail after 5 hours long wait and tow my car to Toyota repair. Second time said only take 20 to 30 minutes to program the key. but fail again after about 4 hours 30 minutes long wait and head light is not automatic turn on at night. I have to take a day off drive to Toyota repair. My time is money. wait there more than 10 hours and done nothing. 5 days no car and take the subway Bus and long walk. How do I feel? I m the customer. if without the customer. How you get pay? Geek Squad use my remote start and alarm and I can't return it. I loss time and money. My new car has a repair record. That is what Bestbuy want to do for the customer. Geek Squad work for Bestbuy. right? You are not just loss one customer. You will loss more and more than the remote start alarm cost. Bestbuy will not know? How come just 200$ remote start alarm and the 50$ module. Bestbuy don't want to reimburse. I m not tell you to pay me 5 days for rental car. why don't just want a happy ending? Bestbuy is big company. I m very small. 250$ it cost Bestbuy nothing. You can't let the customer loss money because you. right?

Similar Messages

  • Calendar - how to enter more than one event per date and show it in the Month display?

    I would like to enter multiple events (two, anyway) for a single day in the calendar.  I would also like that Month view to display the two events.  So far, all I've been able to do is enter a single event; in fact, only a single line for the single event.  If I enter in Notes, they're not displayed in the Month view.  Thank you.

    I assume that you are tapping the + sign to enter additional events and that is not working so try quitting the app and restart the iPad.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Is there a datatype that allows me to store more than one item at a time

    Hello Everyone,
    Is there a datatype that allows me to store more than one item at a time , in a column in a row?
    I have to prepare a monthly account purchase system. Basically in this system a customer purchases items in an entire month as and when required on credit and then pays at the end of the month to clear the dues. So, i need to search the item from the inventory and then add it to the customer. So that when i want to see all the items purchased by a customer in the current month i get to see them. Later i calculate the bill and then ask him to pay and flushout old items which customer has purchased.
    I am having great difficulty in preparing the database.
    Please can anyone guide me! i have to finish this project in a weeks time.
    Item Database:
    SQL> desc items;
    Name Null? Type
    ITEMID VARCHAR2(10)
    ITEMCODE VARCHAR2(10)
    ITEMPRICE NUMBER(10)
    ITEMQUAN NUMBER(10)
    Customer Database:
    SQL> desc customerdb;
    Name Null? Type
    CUSTID VARCHAR2(10)
    CUSTFNAME VARCHAR2(20)
    CUSTLNAME VARCHAR2(20)
    CUSTMOBNO NUMBER(10)
    CUSTADD VARCHAR2(20)
    I need to store for every customer the items he has purchased in a month. But if i add a items purchased by a customer to the customer table entries look this.
    SQL> select * from customerdb;
    CUSTID CUSTFNAME CUSTLNAME CUSTMOBNO CUSTADD ITEM ITEMPRICE ITEMQUANTITY
    123 abc xyz 9988556677 a1/8,hill dales soap 10 1
    123 abc xyz 9988556677 " toothbrush 18 1
    I can create a itempurchase table similar to above table without columns custfname,csutlnamecustmobno,custadd
    ItemPurchaseTable :
    CUSTID ITEM ITEMPRICE ITEMQUANTITY
    123 soap 10 1
    123 toothbrush 18 1
    ill just have it as follows. But still the CUSTID FK from CustomerDB repeats for every row. I dont know how to solve this issue. Please can anyone help me.
    I need to map 1 customer to the many items he has purchased in a month.
    Edited by: Yukta Lolap on Oct 8, 2012 10:58 PM
    Edited by: Yukta Lolap on Oct 8, 2012 11:00 PM

    You must seriously read and learn about Normalization of tables; It improves your database design (at times may increase or decrease performance, subjective cases) and eases the Understanding efforts for a new person.
    See the below tables and compare to the tables you have created
    create table customers
      customer_id       number      primary key,
      fname             varchar2(50)  not null,
      mname             varchar2(50),
      lname             varchar2(50)  not null,
      join_date         date          default sysdate not null,
      is_active         char(1)     default 'N',
      constraint chk_active check (is_active in ('Y', 'N')) enable
    create table customer_address
      address_id        number      primary key,
      customer_id       number      not null,
      line_1            varchar2(100)   not null,
      line_2            varchar2(100),
      line_3            varchar2(100),
      city              varchar2(100)   not null,
      state             varchar2(100)   not null,
      zip_code          number          not null,
      is_active         char(1)         default 'N' not null,
      constraint chk_add_active check (is_active in ('Y', 'N')),
      constraint fk_cust_id foreign key (customer_id) references customers(customer_id)
    create table customer_contact
      contact_id        number      primary key,
      address_id        number      not null,
      area_code         number,
      landline          number,
      mobile            number,
      is_active         char(1)   default 'N' not null,
      constraint chk_cont_active check (is_active in ('Y', 'N'))
      constraint fk_add_id foreign key (address_id) references customer_address(address_id)
    create table inventory
      inventory_id          number        primary key,
      item_code             varchar2(25)    not null,
      item_name             varchar2(100)   not null,
      item_price            number(8, 2)    default 0,
      item_quantity         number          default 0,
      constraint chk_item_quant check (item_quantity >= 0)
    );You may have to improvise and adapt these tables according to your data and design to add or remove Columns/Constraints/Foreign Keys etc. I created them according to my understanding.
    --Edit:- Added Purchases table and sample data;
    create table purchases
      purchase_id           number        primary key,
      purchase_lot          number        unique key  not null,     --> Unique Key to map all the Purchases, at a time, for a customer
      customer_id           number        not null,
      item_code             number        not null,
      item_price            number(8,2)   not null,
      item_quantity         number        not null,
      discount              number(3,1)   default 0,
      purchase_date         date          default sysdate   not null,
      payment_mode          varchar2(20),
      constraint fk_cust_id foreign key (customer_id) references customers(customer_id)
    insert into purchases values (1, 1001, 1, 'AZ123', 653, 10, 0, sysdate, 'Cash');
    insert into purchases values (2, 1001, 1, 'AZ124', 225.5, 15, 2, sysdate, 'Cash');
    insert into purchases values (3, 1001, 1, 'AZ125', 90, 20, 3.5, sysdate, 'Cash');
    insert into purchases values (4, 1002, 2, 'AZ126', 111, 10, 0, sysdate, 'Cash');
    insert into purchases values (5, 1002, 2, 'AZ127', 100, 10, 0, sysdate, 'Cash');
    insert into purchases values (6, 1003, 1, 'AZ123', 101.25, 2, 0, sysdate, 'Cash');
    insert into purchases values (7, 1003, 1, 'AZ121', 1000, 1, 0, sysdate, 'Cash');Edited by: Purvesh K on Oct 9, 2012 12:22 PM (Added Price Column and modified sample data.)

  • How can I synchronize safely from more than one computer?

    First, I have set up my iPod to work with two computers: my primary computer, which is my desktop at home. Later, I also "authorized" my laptop (as a secondary source) to also be able sync to my iPod.
    My question is that when I go to synchronize some podcasts I just downloaded to my secondary computer (my laptop), I get the following prompt: "Are you sure you want to sync podcasts? All existing podcsts on the iPod '<my iPod's name>' will be replaced with podcasts from your iTunes library."
    From this message, since my iPod is plugged into my laptop, I assume it's referring to my iTunes library on my laptop (which only has the few podcasts I just downloaded). And it sounds like it's going to delete the podcasts that are already on my iPod.
    I definitely don't want it to "replace" the ones I already have sync'd from my home computer; +_I just want to add the ones I have downloaded to my laptop._+ How can I make it so I can safely add the new ones without disturbing those I already have sync'd and want to keep? I'm a bit confused about how syncing works when you have more than one computer to sync to the iPod.

    You cannot do what you want.
    The ipod touch can sync with ONE computer/library at a time.
    When you sync to a different computer/library, the ipod touch will first delete the current itunes content form the iphone, then it will sync the content from the new computer.
    This is the way it is designed.

  • Using Maverick, how is it possible to open more than one calendar window?

    Hi, I'm using Maverick 10.9.1
    My question is: how is it possible to open more than one calendar window? i would like to have on the right my personnal calendar dates and on the left, my company calendar.
    Many thanks in advance for your help!
    ph

    See if the section on group calendar helps.
    http://www.dummies.com/how-to/content/basics-of-calendar-in-os-x-mavericks.html

  • How can i find out the more than one times occurance of integer in a array?

    How can i find out the more than one occurance of integer in a array. Assume i have 2,2,3,4,2,5,4,5 in a Array and i need to find out the how many times of 2, 5 and 4 is exists in that array. Please some one help me as sson as possible. thanks in advance....

    Kumar_Mohan wrote:
    How can i find out the more than one occurance of integer in a array. Assume i have 2,2,3,4,2,5,4,5 in a Array and i need to find out the how many times of 2, 5 and 4 is exists in that array. Sort the array. Then loop through it and compare each i-th element with the (i+1)-th element.
    Please some one help me as sson as possible. thanks in advance....In future postings, please refrain from telling that it is urgent, or you need help ASAP. It is rather rude to do so.

  • How do I install Lion on more than one Mac

    How do I install Lion on more than one Mac?  As I have a MacBook Pro and a iMac?

    Purchase Lion on one of the machines.
    Log in to the MAS with the other machine, using the same Apple ID you originally bought Lion with. Go to the Purchased Tab and Lion should be available for download. It should say Install.
    It's possible that you will be asked for credit information as a form of verifying who you are.

  • HT1473 how can I download an more than one audio cd to itunes, scramble all and then transfer all back to a R/W cd?

    how can I download an more than one audio cd to itunes, scramble all and then transfer all back to a R/W cd?

    Import the CDs to iTunes one at a time, following these instructions.
    Once the tracks are in your iTunes library, put them into a playlist, and get them into the order you want.  Or if you by "scramble" you mean a randomly shuffled order, use the crossing arrows at the lower left to do so.
    When you are ready, insert a blank CD, use the command File > Burn Playlist to Disc, and create an audio CD.  I strongly suggest using CD-Rs rather than CD-RWs, since the latter often have trouble in normal CD players.

  • HT3529 How do you send message to more than one address, iPhone 5, 6.0.1/

    How do you send message to more than one address on iphone 5, 6.0.1?

    ... or, once the first address appears as a bubble, simply start typing the second address in the "To" field.

  • SMS ---HOW DO YOU SEND SMS TO MORE THAN ONE PERSON

    SMS HOW DO YOU SEND SMS TO MORE THAN ONE PERSON

    yes you can. look at this:
    4. I cannot receive or send MMS (text with pics)?
    iPhone at this time CANNOT send MMS at this time. Whether or not this will be remedied remains to be seen. A workaround is to email their SMS/MMS servers with the picture as an attachment.
    Alltel = [email protected]
    AT&T = [email protected]
    Boost Mobile = [email protected]
    Cingular (AT&T) = [email protected]
    Einstein PCS = [email protected]
    Sprint = [email protected]
    T-Mobile = [email protected]
    US Cellular = [email protected]
    Verizon Wireless = [email protected]
    Virgin Mobile = [email protected]
    *x is the digit of your phone number
    for an awesome thread with lots of good info:
    http://discussions.apple.com/thread.jspa?threadID=1032295

  • How to create combobox to display more than one columns

    I need kind help with the following question. As the combobox includes two pieces--textbox and the combobox list. Then how to create a combo box bean, which is based on table EMP(empno number(6), ename varchar2(40)) records for example, to achieve these features:
    1) allow more than one columns to be displayed in its records list--e.g., I need to show these records:
    empno (value) ename (label)
    103 David M Baker
    104 David M Baker
    105 Kelly J Volpe
    106 Krista F Carpenter
    107 Michelle P Silverman
    The two 'David M Baker's are different employees, but unfortunately, with the same name.
    2) allow combo box list to return the column value 'empno' even though it shows both columns as above. i.e., if user picks the second record above, then the combobox list returns 104 to the textbox in the background, but the 'David M Baker' is displayed on the textbox. Of course the combobox list may return 'David M Baker' if needed when there is only one column in the list as the current standard feature.
    3)allow partial match search by typing in some letters. i.e., if user types in the textbox of the combobox letter 'K' or 'k' then the partially matched records
    105 Kelly J Volpe
    106 Krista F Carpenter
    should be automatically displayed in the combobox list, not the whole list as above; then user may double click to choose one of the two or if user continues to type in 'R' or 'r', then the uniquely matched record 'Krista F Carpenter' is displayed in the textbox and the 106 is returned to the textbox.
    4) as a bonus if it's doable, allow combobox to return values to different textboxes when its records list has more than one columns.
    The reason I need these features is that I am working on the project migrated from Microsoft Access applications to centralized Java version web application. We at beginning promised to users community that Java swing will provide all the GUI user friendly features Microsoft Access has, but now we got stucked--we ate our words and got tons of complains from our users community. This is just the most needed component I posted here. I really hope that Java would add all the default GUI user-friendly features to compete with MS since its Win95 GUI has been accepted as industry standard. And most users are used to it. They claimed that they don't know and don't care what tool you use the newly created application should be more user friendly, not the opposite.
    I would be very much appreciated if any one would help me with this item.

    Thanks for your comments. I think nobody expects Sun to write everything including special features for its components. But I do think Sun should provide at least those standard user-friendly features for the GUI components because most users have been used to the GUI user-friendly features provided by Win95 and Access/Excel applications. Then this will help us to productively create applications to beat MS applications.
    Other wise like me, to get the existing GUI features, existed in old MS Access application, for our migrated Java application, I must re-create the GUI components library first which is a big burden to me at least, for others it might be fun for coding on their own from scratch, but I have to focus on the timing of project.
    If you really can pass the request to Sun and push them move a bit, please pass these words: before Sun starts to revise them, please play around window GUI, e.g., Access/Excel applications, then plan what to do, the bottom line is to equally match or better than them in FUNCTIONALITY(Look and feel is not my focus here). Don't ignore the influence of Windows regardless of you hate it or love it, the reality is most users are so familiar with windows GUI features which are accepted as industry standard. Thus the choice is to match or better to beat them. Don't make your car by closing your door, don't assume users will like what you come out in a closed room.

  • How can I publish photos to more than one Facebook account?

    How can I publish photos from iphoto to more than one Facebook account?  Another way to ask is how to add a second Facebook account to the account list in iphoto?

    Open iPhoto Preferences, click on the "Accounts" icon, and add another account.

  • How can i order prints of more than one photo at a time?

    Hi I am trying to order prints of more than one photo at a time but can only select one photo - if I press command it just jumps to the next photo, not allowing me to select multiple photos.
    Thanks

    Easiest way is to make an album of the photos you want to order, crop them to the print size, select all and order
    LN

  • How to create a theme with more than one master-slide size defined?

    I would like to create a Keynote theme that has more than one size of page defined - for example one for on-screen show, and one for printing.
    I noticed that the stock themes, and those from theme vendors, come with multiple page dimensions, and that the master slide layouts for the 'same' master slide appear to be designed differently for the different sizes.
    How do I create themes like this in Keynote? I cannot find any information about this in the Keynote manual. I have worked out how to change the master slide dimensions, but not how to tell Keynote that the layout I've created for a slide is for a particular set of dimensions. So when I look at my theme in the theme browser, I only see the dimensions I had selected last time I saved my theme showing.
    Any help most appreciated.

    The same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
    Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated

  • How to get the contents of more than one comments of human task?

    The human task have more than one comments. I use the following functions to get the contents but still only get the first comment. Append function only returns the first comment.
    How to get all conents of comments?
    <while name="While_1"
    condition="bpws:getVariableData('Variable_int_i')&lt;number(bpws:getVariableData('Variable_comment_node'))">
    <sequence name="Sequence_3">
    <sequence name="Sequence_3">
    <assign name="Assign_7">
    <copy>
    <from expression="string(bpws:getVariableData('single_approve_1_globalVariable','payload','/task:task/task:userComment/task:comment'))"/>
    <to variable="Variable_comment_string"/>
    </copy>
    </assign>
    <assign name="Assign_6">
    <copy>
    <from expression="bpws:getVariableData('Variable_int_i')+1"/>
    <to variable="Variable_int_i"/>
    </copy>
    </assign>
    </sequence>
    </sequence>
    </while>

    You also have to test the value:
    REPORT ztest MESSAGE-ID 00.
    DATA: BEGIN OF itab OCCURS 0,
            f1 TYPE i,
            f2 TYPE i,
            f3 TYPE i,
            f4 TYPE i,
          END OF itab.
    DATA: sel_field(20),
          value TYPE i.
    DO 5 TIMES.
      itab-f1 = sy-index.
      itab-f2 = sy-index + 10.
      itab-f3 = sy-index + 20.
      itab-f4 = sy-index + 30.
      APPEND itab.
    ENDDO.
    LOOP AT itab.
      WRITE: /001 itab-f1, itab-f2, itab-f3, itab-f4.
      HIDE itab.
      CLEAR itab.
    ENDLOOP.
    AT LINE-SELECTION.
      CLEAR: sel_field,
             value.
      GET CURSOR FIELD sel_field.
      IF sy-subrc = 0.
        CASE sel_field.
          WHEN 'ITAB-F1'.
            value = itab-f1.
          WHEN 'ITAB-F2'.
            value = itab-f2.
          WHEN 'ITAB-F3'.
            value = itab-f3.
          WHEN 'ITAB-F4'.
            value = itab-f4.
        ENDCASE.
        MESSAGE s001 WITH 'Value of' sel_field 'is' value.
      ELSE.
        MESSAGE s001 WITH 'Invalid field selected'.
      ENDIF.
    Rob

Maybe you are looking for

  • IPhoto Library showing old (previously deleted) photos?

    I was looking to reset the faces in iPhoto and this required going to the iPhoto Library in the finder, while looking for the file to delete I came across previously deleted photos Why is this? If i deleted them I would expect them to be deleted and

  • Why is the table so slow?

    When using a table with a large number of cells (e.g. 20 columns and 800 rows the table becomes very slow. Is there a way to speed up? See also the attachment. Best Reguards Michael Attachments: TestGeschwindigkeit.vi ‏358 KB

  • Spotlight is taking forever to index

    Spotlight is taking forever to index. I've had itnrunning for a week and the time remaining has gone from 9 Hours to 3 weeks to 4 months. Am I doing something wrong? I have a Mac pro core 2 duo 10 g ram

  • External routine problem

    Hi, I have created an external routine as follows CREATE OR REPLACE PROCEDURE shel(command IN char) AS EXTERNAL NAME "sh" LIBRARY shell_lib LANGUAGE C PARAMETERS (command string); whne i ma trying to runthe above external routine i am getting the fol

  • I just downloaded Mavericks and now my AutoCAD 2012 won't open. What do I do?

    I just downloaded Mavericks and now my AutoCAD 2012 won't open. What do I do?