How to use distinct in a expression??

I need get distinct fields of a consulting use toplink. but my consulting is a little complex, and use many class, and return many repeated fields. how i can do this, use experession in a toplink. i need only two fields of this consulting.

I need get distinct fields of a consulting use toplink. but my consulting is a little complex, and use many class, and return many repeated fields. how i can do this, use experession in a toplink. i need only two fields of this consulting.

Similar Messages

  • Hardware compressor and am not quite sure how to use it in logic express 9. Please help???

    I recently bought a dbx hardware compressor and am not quite sure how to use it in logic express 9. I hav a focusrite saffire 6 usb audio interface and am not sure how to use it in logic. Please help???

    Hi Ujjawal,
    Use the Tab-order property of IR object.
    In design mode, select the any command button, right click and select the property. you will find the window for "Tab-Order". It lists all the objects available in that dashboard. Here you can arrange the tab order..
    Hope it will help you.
    Thanks & Regards,
    Mohit Jain

  • I recently bought a dbx hardware compressor and am not quite sure how to use it in logic express 9. I hav a focusrite saffire 6 usb audio interface and am not dont how to use it in logic. Please help???

    I recently bought a dbx hardware compressor and am not quite sure how to use it in logic express 9. I hav a focusrite saffire 6 usb audio interface and am not dont how to use it in logic. Please help???

    MUYconfundido wrote:
    Pancenter,
    Thanks for the response, but I do not have a midi interface. I am using a midi to usb connector cable, thus bypassing the need for a Midi interface.
    The Mac reads the USB cable as a midi device, but not the keyboard that I am trying to use as a controller. I have tried it with my korg sp 300 and with my Nord Electro 2.
    Thoughts?
    Thanks,
    Tristan
    Tristan...
    This is what you have, correct?
    http://www.alesis.com/usbmidicable
    This from Alesis..
    "The AudioLink Series USB cable receives and outputs MIDI signal thanks to its internal interface. The USB-MIDI Cable connects plug-and-play to your Mac or PC for an all-in-one USB-MIDI solution."
    Notice, -internal interface-. What you have is a simple USB MIDI Interface. Most MIDI interfaces are USB.
    My point is (was), MIDI OUT of the Korg goes to the connector marked MIDI IN on the Alesis, those new to MIDI often get this wrong.
    pancenter-

  • How to use distinct while using a select that builds xml?

    Hi.
    Example:
    SELECT
    XMLELEMENT("Column1" value1
    ,"Column2" value2
    ,"Column3" value3
    FROM a_table A
    Where id_val = x
    Imagine that this repeats a same result 4 times. If it was a simple query distinct would work...how can i use distinct with this?
    Thanks.
    Cheers!

    Hi,
    what about group by
    SQL> WITH A AS(SELECT 1 val1,2 val2,3 val3 FROM dual UNION ALL
      2            SELECT 1     ,2     ,3      FROM dual UNION ALL
      3            SELECT 1     ,2     ,3      FROM dual)
      4  SELECT XMLElement("cols"
      5           ,XMLElement("col1",val1)
      6           ,XMLElement("col2",val2)
      7           ,XMLElement("col3",val3))
      8  FROM A
      9  GROUP BY val1,val2,val3;
    XMLELEMENT("COLS",XMLELEMENT("COL1",VAL1),XMLELEMENT("COL2",VAL2),XMLELEMENT("CO
    <cols><col1>1</col1><col2>2</col2><col3>3</col3></cols>                        

  • How to use string as an expression in SSRS reports

    Hello all,
    I have created a SSRS report in which I have used a tablix and a single dataset (ds_test)
    Now the dataset use t-sql and  is calling a table in which has data as shown below:
    What I am trying to do is to use this as an expression inside the cell of the tablix. But when I run the report It give me:
    But It should show the result as "True", I know it is taking this as a string but is there any way so that we can use this as an expression in the report
    NOTE: We cannot use this directly in report , because this is generated dynamically and should always present in DB tables only
    Thanks in advance
    Pankaj Kumar Yadav-

    So your table has a varchar column with 'iif(1=1,True,False)'  in one of the records ?
    yes
    Pankaj Kumar Yadav-
    You wont be able to pass a value from db like this and use this as an expression inside SSRS.
    If you're using SQL 2012 you can exec this expression using dynamic sql and then show return value as is in a SSRS report.
    SSRS is a presentation tool with limited scripts and it cant do any query processing against database. that part have to be implemented using t-sql query on backend (dataset)
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How To: Use Visual Studio, IIS Express, and Adobe Edge Inspect to view local projects

    You CAN view a Visual Studio project with Adobe Inspect. The work around takes a little bit of time.
    This involves using IIS Express to run your Visual Studio project, which is mainly a setting in Visual Studio, a Firewall change, a few command line and IIS Express config change.  It isn't actually all that bad, but will make your life A LOT easier.
    Here are the steps. (Note these are steps I used for Visual Studio 2012 and your project is part of a solution project.  Windows 7 or Windows 8)
    1. If IIS in not turned on, turn it on.How to: Enable Internet Information Services (IIS) - this should install IIS Express as well.
    2. In Visual Studio, find the port that Visual Studio will be using for your project by Running your web project (Debug), and note/write down/save the port number that shows up in the browser when the project launches. (ex.  http://localhost:12345)
    3. Add a NetShare Reservation (process for this will be different for Windows XP)
    Go to your Command Line (CMD) in Windows and in c:\Windows\system32> type in
    netsh http add urlacl url=http://yourIPaddress:yourPortNumber user=everyone
    (ex. netsh add urlacl url=http://12.34.56.78:12345 user=everyone)
    Hit Enter key. You should be a successful add reservation message
    3. Go to your Windows Explorer (File system) and go to c:/Users/YourName/MyDocuments (or Documents)/IISExpress/config/ and open 'applicationhost.config'
    In the 'applicationhost.config' file find your site in the <sites> section.
    Example:
    <sites>
    <site name="WebSite1" id="1" serverAutoStart="true">
                    <application path="/">
                        <virtualDirectory path="/" physicalPath="C:\MyProjects\TestSite" />
                    </application>
                    <bindings>
                        <binding protocol="http" bindingInformation=":12345:localhost" />
                    </bindings>
                </site>
    </sites>
    In this section ADD 2 new lines to the <bindings> section. Note add your own IP address and your own Computer Name
    <binding protocol="http" bindingInformation="*:12345:12.34.56.78" />
    <binding protocol="http" bindingInformation=":12345:MyComputerName" />
    Save the config file.
    4. Open up your Windows Firewall and go to 'Advanced Settings'. Here you want to create an Inbound Rule.
    Right click on Inbound Rule and select New Rule
    - Rule Type select 'Custom'
    - Program leave this
    - Protocol and Ports > Protocol Type select 'TCP' then Local Port select 'Specific Port' and fill in the port number you got from VS.  Leave Remote Port alone.
    - Scope
    There are a few ways of doing this. Typically you would go the the Remote IP address and select 'These IP addresses: and select ADD > select 'Predefined set of computers' and choose Local Subnet.  IF this does not work leave Remote IP addresses > Any IP address option selected instead.
    - Action leave this
    - Profile select Domain and Private
    - Name put IISExpressWeb for the name
    Select 'Finish'
    5. Go to Visual Studio. (Note if you have multiple projects in your solution, choose your start up project. Right click on your project in Solution Explorer in VS and select 'Set as Start Up Project' )
    Right click on your start up project again and you should see an option to 'Use IISExpress'
    In the DEBUG dropdown (from the main menu bar at the top) select 'YourProjectName Properties'. Mine was the last one in the list with a wrench icon next to it.
    This should open an new tab in your project, You should see a left hand list of option and a right hand column of options.
    In the left column select 'Web' and in this tab select Use Local IIS Web server and select 'Use IIS Express' and type in your IP Address and port number (same as before) in the Project Url text box.
    Save.
    NOW, you should be able to run your project in Visual Studio and use Adobe Edge Inspect on your device and view new results in Chrome. You can develop from there.
    If you still can not see it working, please be sure your device is on the same SubNet or Wireless network as your computer.  If you are in a large network but the domains can still see each other, the Firewall Setting detailed above to allow Any IP Address in your Scope section.

    Hi CMosqueda,
    Thank you for taking time to share this information with other users.
    Thanks,
    Preran

  • How to use unixODBC with Oracle Express on Ubuntu 8.10?

    I downloaded Oracle Express a couple of days ago, so I am totally new to Oracle.
    I tried connecting via unixODBC, using dsn=oracledsn, user=dba, password=abcd and received error info:
    1: st=01000, nerr=0, msg=
    [unixODBC][Driver Manager]Can't open lib '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1' : file not found
    but the shared 'so' library actually does exist at the path above. I also set
    ODBCINI=/etc/odbc.ini;export ODBCINI and immediately checked it was in the environment.
    The .ini files are:
    /etc/odbcinst.ini
    [OracleExpressdrv]
    Driver = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1
    Description = Oracle 10g express driver
    /etc/odbc.ini
    [ODBC Data Sources]
    oracledsn = Oracle Express DSN
    [oracledsn]
    Driver = OracleExpressdrv
    Note: The dsn and the driver names are enclosed within square brackets but came out as web links above in the preview.
    After many hours of googling I have not been able to find how to connect via ODBC to a local (on my PC) Oracle Express.
    Advice would be most welcome.

    hello
    I have the same problem. My system is Fedora 11
    I set the odbcinst.ini and odbc.ini files as you mentioned. I also set the LD_LIBRARY_PATH :
    $ echo $LD_LIBRARY_PATH
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/
    when I try to connect using isql, I get that error:
    [01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1' : file not found
    [ISQL]ERROR: Could not SQLConnect
    I couldn't figure out what I am missing.
    May someone help please?

  • PR - How to use distinct release strategy

    Hello SAP's gurus,
    We use the procedure with classification for our release strategies.
    I cannot undestrand why I cannot work with 2 disctinct class (it means different characteristics list) for my company.
    Rel.Grp   /Rel.obj.   / OvRelPReq    /Class
    ZY          /1              /NO                 /RELEASE_STRATEGY_1
    ZZ          /1              /NO                  /RELEASE_STRATEGY_2
    We would like to define specific characteristics depending on the currency used in the PR.
    It means, if currency is USD (table CEBAN/WAERS) : characteristic "Total Value of Item in USD" (table CEBAN/GSWRT, currency USD) should be used and if the currency is EUR : characteristic "Total Value of Item in EUR" (table CEBAN/GSWRT, currency EUR) should be used in the release strategy.
    How can I work to set up a list of characteristics for the release strategy different from a currency to another one?
    Thank you so much in advance for your help.

    I'll have a quick check but assuming GSWRT is purely a value figure, that won't provide the distinction you want. You need to use a characteristic that represents the currency i.e. use CEBAN / WAERS. That will allow you distinguish according to the cirrency.

  • How to use ActiveX of outlook express to realize the function of sending email using labview?

    thanks!

    I didn't manage to find a public ActiveX interface for Outlook Express, but I did find one for Outlook, and a few quick tweaks managed to get a message in the outbox. For some reason it wasn't sent (maybe I didn't have a user set up properly), but you can try playing with it to see.
    Another option would be to use the built in SMTP VIs (unless you need POP3).
    Try to take over the world!
    Attachments:
    Mail.vi ‏35 KB

  • How to use Jasperreport with Application Express?

    HI,
    We are really want to 'print out' from our apex applications, but by far no easy way to do so.
    (BI too expensive and complicated)
    I am tring to install Jasperreports with apex, but I don't know how to do it, I downloaded the windows version of Jasperreport.
    Any idea how to install and configure it to work with my apex applications?
    Peter

    See this thread for information on using Jasper Reports with APEX.. If this helps, please mark this thread as answered and assign points!
    APEX to Jasper parameter passing
    Thank you,
    Tony Miller
    Webster, TX

  • How to use internet and airport express at same time?

    I have my airport express set up in a room with my stereo.  I can stream from computer and iTunes music library fine.  My internet net gear modem is in another room connected to the phone line.  My computer is an another room again.  All devices can stream to the stereo from the iTunes library.  I also want to play iTunes radio and other internet music apps and stream to the stereo.  It seems they can't because they are unable to use both networks 'airport' and 'net gear' at the same time.  I'm thinking if the airport express was plugged into the modem it would all work, is that right?  But my stereo and speakers throughout the house all run from a different room.  The other option is to move the phone but thats not an option either.  What else can I do?

    You need to tie things together in one network.
    That means the express should be setup to join the netgear.. not work stand alone.
    But it is much better to have ethernet run.. or use all apple routers. So you can extend wireless rather than join.
    Some EOP homeplug adapters are ok.. but they are rather like wireless in being unknown until you test them. And why ethernet is well worth the cost.

  • How to use STR function in expressions

    I'm having trouble trying to:
    a) concat 2 string + format specifiers like sprintf() does
    b) build 1 log string without weird characters being placed in the string as follows:
    str(global.name, "UseFile=1,File=c:\test.txt,Pgro=%s")
    there is a wierd character right after the C:?
    rjmiller

    You must use two backslashes after c: in your string. Backslash is used by the function to indicate a special character, like \n for new line. If you use c:\\test.txt it will come out like c:\test.txt. The first backslash means that the next character is a special character. The second backslash means that the special character is indeed a backslash. This is standard C syntax. I believe that \t is the special character for TAB, and that is why you were seeing the wierd character after c:.
    - tbob
    Inventor of the WORM Global

  • How to create an expression using distinct()?

    I want to create an expression for the following SQL statement:
    select distinct aCol from mytable where bCol = 123 and cCol = 'something';
    My expression without using the distinct() is followed:
    Expression exp = new ExpressionBuilder().get("bcol").
    equal(123).and(new ExpressionBuilder().
    get("cCol").equal("something"));
    ReportQuery query = new ReportQuery(mytable.class, exp);
    query.addAttribute("aCol");
    Vector queryResult = (Vector)toplinkSession.executeQuery(query);
    Where can I place the "distinct()" in this expression. I tried several ways, but TopLink always created the SQL statement with the 'distinct()' in the wrong place. I noted someone also had this problem and I tried the solution posted by Doug Clarke, but still did not work for me.
    thanks

    Hi,
    You need to call useDistinct() on the query to generate the needed sql.
    By the way, you need to use the same ExpressionBuilder instance to build a query object (i.e. not use New multiple times).
    King

  • How to use a regural expression to get all digit from a string.

    Hi All,
    Do you know how to use regural expression to get all digits from the following string via ABAP program?
    "'Log Attributes                 0 (  0 )     (   10 % Available  )"
    Thanks,
    Andrew

    Hi,
    Try the code mentioned below:
      DATA: STR_LEN  LIKE SY-FDPOS,
            RSTR_LEN LIKE SY-FDPOS,
            OFF      LIKE SY-FDPOS.
      DATA: IDX      LIKE SY-FDPOS,        "mn B20K054003
            CL       LIKE SY-FDPOS.        "mn B20K054003
      DATA: RSTRING(40).
      DATA: STRING(40).   " value 'A,N,I,L'.
      FIELD-SYMBOLS: <NLS_CHAR>.           "mn B20K054003
    MOVE I_REGUH-ZNME1 TO STRING.
      MOVE SPACE TO RSTRING.
      STR_LEN = STRLEN( STRING ).
      DESCRIBE FIELD RSTRING LENGTH RSTR_LEN.
      IF RSTR_LEN < STR_LEN. RAISE TOO_SMALL. ENDIF.
      WHILE IDX < STR_LEN.                 "mn B20K054003
        ASSIGN STRING+IDX(*) TO <NLS_CHAR>.   "mn B20K054003
        IF SY-LANGU EQ '2'.                "mn B20K054003
          CALL FUNCTION 'NLS_THAI_CHARLEN' "mn B20K054003
               EXPORTING                   "mn B20K054003
                    THAI_STRING  = <NLS_CHAR>       "mn B20K054003
               CHANGING                    "mn B20K054003
                    THAI_CHARLEN = CL.     "mn B20K054003
        ELSE.                              "mn B20K054003
          CL = CHARLEN( <NLS_CHAR> ).      "mn B20K054003
        ENDIF.                             "mn B20K054003
        IF IDX NE 0.                       "mn B20K054003
          SHIFT RSTRING RIGHT BY CL PLACES."mn B20K054003
        ENDIF.                             "mn B20K054003
        RSTRING+0(CL) = STRING+IDX(CL).    "mn B20K054003
        IDX = IDX + CL.                    "mn B20K054003
      ENDWHILE.                            "mn B20K054003
    Regds,
    Anil
    Edited by: Matt on Jul 1, 2009 9:36 AM -added code tags

  • How to use my 3g dongle on my Apple Airport Express?

    I have a 3g hspa dongle.I want to know that my dongle can be used with Apple Airport Express utility.I want to connect my dongle into Apple Airport Express utility and share the internet with my ipad,ipod and iphone.I want to know how to do this?

    Hi Bob, just wondering if i use a Ethernet USB adapter, connect USB end to the 3G dongle and the ethernet end, with a small ethernet cable to the WAN port of the airport express, is it still possible to use the internet in the dongle through airport express?
    Regards,
    Vikas

Maybe you are looking for