Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4

Thread: Query Service

  1. #1
    Join Date
    Nov 2002
    Posts
    10

    Query Service

    Hi,

    SetupFactory does not support case sensitive ?

    E.g. Service running on the system is "serviceNAME" when i query "servicename" the query will return a null value.

    Any help on this is much appreciated.

    Best Regards,
    Braendan

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834

    Re: Query Service

    Yes, you are right the Query Service action is case sensitive for the display name.

    I'm certainly no expert on Services, however isn't that standard for queries? Please correct me or point me to any information to the contrary if you believe this should not be the case.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  3. #3
    Join Date
    Nov 2002
    Posts
    10

    Re: Query Service

    I need a way to force the input for the service query to CAPS. The reason for this is some certain services has a mix of small caps and caps which will make the query inaccurate.

  4. #4
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834

    Re: Query Service

    One idea is the following:

    1) First gather the input from the user and store it in a variable.
    2) Create a variable that contains a string composed of all of the alphabetic characters in lower case.
    3) Create a variable that contains a string composed of all of the alphabetic characters in upper case.
    4) These strings will have indexes for each character, so what you could do is loop through your input string to check each character against the lower case string. If that input character matches any value in the lower case string, get it's index and then take that index to get the character in the upper case string. With each of these upper case letters, build a new variable string using string concatenation. This will require some looping, but I believe it will work.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts