Report to exclude entries where on id could have multiple statuses.

Hi ,
I have a table where it keeps record of a status number and a corresponding r_number(report number) where one r_number could have multiple amount of statuses.
As shown below.
id     r_number     Sta      date     setupby
1     1111     2     11/11/2006     me
12     4444     2     11/11/2006     me
34     3333     2     11/11/2006     me
2     1111     5     11/11/2006     me
5     1111     3     11/11/2006     me
8     2222     4     11/11/2006     me
I want to pick
Select r_number, stat
From table1
Where stat = 2
And stat !=4
Group by r_number.
So that it’ll be displaying on the report:
id     r_number     Staus_id      date     setupby
12     3333     2     11/11/2006     me
5     1111     3     11/11/2006     me
So it only pick the r_number where only status_id is 2, (if there was a status_id 4 corresponding to the r_number it omits taking that record even though there was a status_id 2)
Please let me know a way I could approach this. (Hope my explanation making sense)
Thank you in advance.

I think this should explain better. sorry for the trouble
Behavior: Selects all records from r_number [table1] where,
     Stat [2] exist in the r_number status history AND
     Stat Name [4] does not exist in the r_number status history
Output:
     Column Headings
1.     Name
2.     R_Number
3.     Title
4.     Date
5.     Award
6.     Agency
Table 1
ID     R_Number     Stat     date     setup_by
12     1111     2     11/11/2006     m
23     2222     4     11/11/2006     m
54     1111     3     11/11/2006     m
54     1111     5     11/11/2006     m
876     3333     2     11/11/2006     m
89     4444     4     11/11/2006     m
Table1.id = table2.id (since the above columns are coming from another table)
And the report out put
ID R_Number     Stat     date     name     Project title award     
12 1111     2     11/11/2006 joe     project1     j33     
876 3333     2     11/11/2006 kim     project2     k11

Similar Messages

  • Working alternating with iPhoto and FCE tgrying to import pictures from iPhoto into FCE suddenly all my 22300 pictures disappeared leaving empty frames. Does somebody know where the pictures could have gone and how can I get them back into iPhoto? Lothar

    Working alternating with iPhoto and FCE tgrying to import pictures from iPhoto into FCE suddenly all my 22300 pictures disappeared leaving empty frames. Does somebody know where the pictures could have gone and how can I get them back into iPhoto? Lothar

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • I have been using the Firefox feature in which I could have multiple sets of tabs open but see only the set I was working with. I updated and now feature is gon

    I have been using the Firefox feature in which I could have multiple sets of tabs open but see only the set I was working with. I updated and now feature is gone. I had a small icon on the upper right side of my toolbar. I used it all the time to keep separate windows for news, financial items, travel plans, etc. Has this been removed from Firefox?

    Hi,
    The [https://support.mozilla.org/en-US/kb/tab-groups-organize-tabs Tab Groups] feature is still present. You can try to right-click the + after the last tab and [https://support.mozilla.org/en-US/kb/how-do-i-customize-toolbars Customize]. If the icon is hidden behind another, or if it's available inside the Customize mini window, you can place it back. If the problem persists, you can also try to '''Reset toolbars and controls:''' and '''Make Changes and Restart''' [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe Mode] start screen.

  • When starting Windows 7 Sync Notifier reports "The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll." Any suggestions as to how to rectify this issue?

    When starting Windows 7 Sync Notifier reports "The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll." Any suggestions as to how to rectify this issue?

    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Restart the programme all should be well
    In case that your OS is (64 bit)
    1. Open windows explorer, go to location C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    2. Copy file "SQLite3.dll"
    3. Now paste it in the folder  C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    4. Restart the programme, it should not display that message, it should be clear.
    Good Luck

  • Using a report value for a where clause in other report

    Hi All,
    i'm getting kinda nuts here. I created a page with three reports.
    First report show the name of the user who logged in with his/her whole name. Second report shows the year, week, begin/end date of the week for the user in the first report. The third report show the hours the user worked in the week selected in the second report.
    The link between first and second report is on column report. Somehow i managed it to work with second_report.mdw_code = :P3_ACRONIEM. I have no idea were this P3_ACRONIEM item is coming from, while i have no items in my page whatsoever. Now i need to link the second report to the third report. I have to use the second_report.mdw_code, second_report.year and second_report.week but i have no idea how to link these together. Any idea's? (Like making items, but then i have no idea how to link that item to the value in the second report). Please help.
    Kind regards,
    Dave
    The link between the first and the second i could get it to work with :P3_ACRONIEM. I have no idea where this ITEM is coming from, because i have no items in my page (and it's the only page in the application). Then

    Hi Dave,
    If I understand you correctly, you have a one report that lists users, a second report that lists dates and a final report that shows hours worked?
    If so, you may find it easiest to have hidden fields on your page and base the second and third reports on these using appropriate WHERE clauses. (I generally put hidden fields in a region in the "After Header" position)
    So, if the first report contains a USER_ID field, have a hidden field called P1_USER_ID. The link on the first report will branch back to the same page and set the value of P1_USER_ID to #USER_ID# The second report can then use WHERE USER_ID = :P1_USER_ID. When the page reloads, the second report redisplays and is filtered to show only those records relating to the selected USER_ID in the first report.
    To extend this, if the second report contains WEEK_NUMBER, it should have a link that branches back to the same page and sets a hidden P1_WEEK_NUMBER field with #WEEK_NUMBER#. The third report should when have WHERE WEEK_NUMBER = :P1_WEEK_NUMBER AND USER_ID = :P1_USER_ID. You can, if need be, have and set more than one hidden field during each link.
    Regards
    Andy

  • Just updated to itunes 12.1.0.71 - big problem - can no longer access the legacy "Get Info" where you could change multiple files, easily add artwork, add album name for TV show, and much more. In previous iTunes 12 you'd right click

    Just updated to itunes 12.1.0.71 - big problem - can no longer access the legacy "Get Info" where you could change multiple files, easily add artwork, add album name for TV show, and much more. In previous iTunes 12 you'd right click and hold shift key and be able to get to it. Anyone figured this out?

    The "legacy" metadata editors, for which there was a "back door" in iTunes 12.0, have gone from 12.1.  However, the revised editors in 12.1 provide access to (almost) all the metadata elements that were available in iTunes 11, albeit in a different layout and with some additional constraints based on media kind.  Some users have / will have an issue with the statement that "Get Info has been completely redesigned in iTunes 12 to focus your attention only on what’s necessary for the selected item" since that removes some metadata elements that people may have been using in creative ways.  iTunes 12.1 basically gives you access to the fields that Apple think are necessary ... .  Some of the things that have been excluded by this rule:
    track and disc number fields for video media kinds
    show and episode fields for music
    description tab for audiobooks made up of more than one file
    Obviously the first two examples can be regarded as "overloading" the metadata elements - i.e., using them in ways that the designers didn't intend - but given that some users do find valid cases for this it's a shame that they've been deprecated in the new UI.  There are couple of workarounds:
    in songs view (or any of the other columnar views), you can still select any fields to display, independent of media kind, and these can be edited (though only one at a time) by double-clicking in the relevant "cell"
    you can (temporarily) change the media kind of an item (or group of items) to get access to metadata elements that would otherwise be inaccessible.
    It may be worth submitting an issue via https://www.apple.com/feedback/itunesapp.html - I can't see it as a huge development task to have a user preference to switch between "show all fields" and "filter fields based on media kind".
    One other oddity/irritation is that some of the tabs don't, by default, show all the available fields - you need to scroll up/down to access them or to expand the window by dragging on one of its corners.  Fortunately, the latter seems to be persistent - once you've done this to make all the fields visible the editor will open at the same (larger) size when opened again.

  • Amend the rxi Financial tax register report to exclude discarded lines.

    I would like to amend the rxi Financial Tax Report "RX-only: Financial Tax Register Report" to exclude discarded invoice lines.
    From reading the details on how rxi reports work I don't think I am able to amend the rxi  report to do this. What would be the best way for me to customise this report? Is there a view which the report looks at which I could use to base my customised version on?
    Any help appreciated.
    Thanks.

    Thanks for the reply.
    I need to remove rows from the Financial Tax Register report and it look like you can only remove/add columns.
    Doc ID 1938762.1 refers to the 'Tax Register' output. Which table is this output stored in?
    Thanks.

  • A Crystal Reports job failed because a free license could not be obtained i

    We have an enterprise application installed at a clients site where they have 10 CITRIX clients connecting to 5 APPLICATION servers (the servers are being load balanced). The application allows users to generate reports. The reports are generated on the APPLICATION servers. We have written some queued components which allow up to 5 reports to be generated at the same time. We have crystal reports XI installed on the APPLICATION servers. Currently we get the following error when users attempt to generate reports:
    A Crystal Reports job failed because a free license could not be obtained in the time allocated
    However if you change the queued components to only generate 1 report at any given time we do not get the error.
    Any ideas on what could be causing this?
    Thanks in advance.
    Raman.

    duplicate - please do not post multiple times

  • I sent in my iPod nano to the replacement program about two weeks back. However, I checked the status of the repair and it still says it has not been received yet. Is there any way to follow up on where the nano could be? I sent it via FedEx.

    I sent in my iPod nano to the replacement program about two weeks back. However, I checked the status of the repair and it still says it has not been received yet. However, my boyfriend sent in his the same time I did and his repair status says repair being diagnosed. I still have the "receipt" of the package when they first sent it to me. I sent it via FedEx. Is there any way to follow up on where the nano could be or maybe find out if I can still get a replacement even though my nano might be lost in transit?

    I sent it via FedEx. 
    Call FedEx.  They will be able to track their own packages.  They will let you know if your iPod Nano was delivered and to who!

  • Start up error message - Entry point xml TextReaderConstName could not be located in the dynamic link library libxm12.dll.  Happened after Itunes up date I think. Have tried uninstalling and installing nothing works.  Help please

    At start up I get the error message - The procedure entry point xml TextReaderConstName could not be located in the dynamic link library libxm12.dll.  I have uninstalled it and reinstalled but it does not fix the problem.  Happened after Itunes update I think.

    It's a simple fix and doesn't involve reinstalling anything.
    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the libxml2.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Restart the programme all should be well
    In case that your OS is (64 bit)
    1. Open windows explorer, go to location C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    2. Copy file "libxml2.dll"
    3. Open new windows explorer, to to location C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    4. Paste file "libxml2.dll" to the location.
    5. Restart the programme, it should not display that message, it should be clear.
    Good Luck

  • The procedure entry point GetLogicalProcessor Information could not be located in the dynamic link library KERNEL32.dll

    When I installed CS6 trial version and started from start menu and clicked Adobe photoshop CS6, I get this message.
    The procedure entry point GetLogicalProcessor Information could not be located in the dynamic link library KERNEL32.dll
    How to resolve it?

    Either your OS is damaged, or doesn't meet the minimum requirements for Photoshop CS6.

  • When I click on the Mozilla Firefox icon on my desktop I get a message that says "The procedure entry point is Threaddesktopcomposited could not be located in the dynamic link library USER32.dll.

    When I click on the Mozilla icon on my desktop, I get the error message "The procedure entry point is Threaddesktopcomposited could not be located in the dynamic link library USER32.dll.
    == This happened ==
    Every time Firefox opened
    == I upgraded to the new version of firefox today (7/16/10)

    This issue can be caused by a problem with the file c:\windows\system32\dwmapi.dll
    The file dwmapi.dll is a Vista file and should not be present in Windows XP.
    http://support.microsoft.com/kb/969155 - On a Windows XP-based computer with Family Safety installed, you receive an error message: “The procedure entry point IsThreadDesktopComposited could not be located in the dynamic link library USER32.dll”

  • I am having trouble updating the operating system on both my ipad and iphone. I get a strange message when I open my PC desk top that says "the procedure entry point sqlit3_wal-checkpoint could not be located in teh dynamic link library SQLite3.dll"

    I am having trouble updating my operatI am having trouble updating the operating system on both my ipad and iphone. I get a strange message when I open my PC desk top that says "the procedure entry point sqlit3_wal-checkpoint could not be located in the dynamic link library SQLite3.dll"  Any ideas what my problem is?

    Hi whatsthe77,
    Welcome to Apple Support Communities.
    You may want to follow the steps in this article to reinstall iTunes:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Have a great day,
    Jeremy

  • I need help. every time i turn on my laptop an error message pops up: the procedure entry point sqlite_wao -checkpoint could not be located in the dynamic link library SQLite3.dlll  HOW DO I FIX THIS?

    i need help. every time i turn on my laptop an error message pops up: the procedure entry point sqlite_wao -checkpoint could not be located in the dynamic link library SQLite3.dlll  HOW DO I FIX THIS?

    Hi whatsthe77,
    Welcome to Apple Support Communities.
    You may want to follow the steps in this article to reinstall iTunes:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Have a great day,
    Jeremy

  • REPLICAT ERROR(The procedure entry point long jmp could not be located )

    Hi,
    I am getting the following error
    The procedure entry point long jmp could not be located in the dynamic link library orauts.dll
    Does anyone know anything about this? please help.
    Thanks
    V

    i googled to the solution before i got to the answer but thanks anyway... you are right i changed my oracle home yesterday...today i had to reset to make this work...
    Thanks
    Venkat

Maybe you are looking for

  • Changing Header data in the part appraisal document

    I have implemented a BADI using the definition HRHAP00_ACC_HEADER. The next step is to ensure that at Category level the Changes to Part Appraisal enhancements is selected on the Enhancements tab page. However, the enhancement is not displayed in the

  • Livecycle ES4 and Microsoft Exchange 2013

    Hi, My customer inquired me of configuring LiveCycle ES4 with Microsoft Exhange 2013 but supported documentation says that LiveCycle only supports Microsoft Exhange 2010 and earlier. ¿Could be posible LiveCycle ES4 SP1 either supports Microsoft Exhan

  • Profit Centre to user

    Hi to everyone Can we assign a profit centre to a user Thank Kentish

  • Gradient edge

    Sorry for what's probably a basic question: I have a grayscale image that's a pretty consistent 85-90% black towards the edges. I want to print it on a full page in a book, but I can't use a bleed, so I want to fade the edges to white. I can only alt

  • Whole-word search in project

    I'm running RH for HTML Help X4.1 on Windows XP. I want to search through all the text in all of the topics for a particular word or word string. Is that possible? I can't find anything that lets me do that? I realize this is NOT Win Help where I'd b