Highlighting Duplicates Not In Adjacent Rows

I have a sales report which lists Salespersons and is grouped by state.  I know how to highlight the items when they are in the same state (and so are in adjacent rows). 
However, sometimes there are salespersons who work in different states and, so, may be listed on the report more than once, but not in adjacent rows.
How would I go about highlighting them?
TIA

It will not be that slow unless you have over 1000 sales men as an array is limited to 1000 elements.
But as you point out it will not highlight the first instance of a duplicated salesman.
The only other alternative is to run a hidden sub report in report header which counts salesmen entries and then build a shared array holding the duplicated sales men, and then high light based on checks against that array.
Ian

Similar Messages

  • Query produces duplicate values in successive rows. Can I null them out?

    I've had very good success (Thanks Andy) in getting detailed responses to my posted questions, and I'm wondering whether there is a way in a report region join query that produces successive rows with duplicate values that I can suppress(replace) the print of the duplicate values in those rows. In case I've managed to twist the question into an unintelligible mess (One of my specialties), let me provide an example:
    We're trying to list the undergraduate institutions that an applicant has attended, and display information about dates of attendence, gpa, and major(s)/minor(s) taken. The rub is that there can be multiple major(s)/minor(s) for a given undergraduate institution, so the following is produced by the query:
    University of Hard Knox 01/02 01/06 4.00 Knitting
    University of Hard Knox 01/02 01/06 4.00 Cloth Repair
    Advanced University 02/06 01/08 3.75 Clothing Design
    Really Advanced U 02/08 01/09 4.00 Sports Clothing
    Really Advanced U 02/08 01/09 4.00 Tennis Shoe Burlap
    I want it to look like this:
    University of Hard Knox 01/02 01/06 4.00 Knitting
    Cloth Repair
    Advanced University 02/06 01/08 3.75 Clothing Design
    Really Advanced U 02/08 01/09 4.00 Sports Clothing
    Tennis Shoe Burlap
    * (edit) Please note that the cloth repair and tennis shoe repair rows would be correctly positioned in a table, but unfortunately got space suppresed here for some reason. *
    Under Andy's tuteage, I'd say the answer is probably javascript looping through the DOM looking for the innerHTML of specific TDs in the table, but I'd like to confirm that, or, does Apex provide a checkbox that I can check that will produce the same results? Thanks in advance guys, and sorry for all the questions. We've been tasked to use Apex for our next project and to learn it by using it, since the training budget is non-existant this year. I love unfunded mandates ;)
    Phil
    Edited by: Phil McDermott on Aug 13, 2009 9:34 AM

    Hi Phil,
    Javascript is useful, as is the column break functionality within Report Attributes (which would be my first choice if poss).
    If you need to go past 3 columns, I would suggest doing something in the SQL statement itself. This will mean that the sorting would probably having to be controlled, but it is doable.
    Here's a fairly old thread on the subject: Re: Grouping on reports (not interactive) - with an example here: [http://htmldb.oracle.com/pls/otn/f?p=33642:112] (I've even used a custom template for the report, but you don't need to go that far!)
    This uses the LAG functionality within SQL to compare the values on one row to the values on the preceeding row - being able to compare these values allows you to determine which ones to display or hide.
    Andy

  • Live Preview Highlight is not working.

    I recently downloaded Edge Code to a new work computer and the Live Preview Highlight is not working.
    I have Edge Code installed on a personal computer, and it works great. The version I am using was downloaded about 6 months ago so I am not sure if they changed something with the most recent version. When I highlight a section within the html i.e. a table or row, it would highlight those same sections in the preview. However, this is not the case on my new computer.
    Anybody know whats up? Is it setting on Chrome that I need to change or is there some update that I am not aware of.

    I guess I assumed that you had Chrome setup to auto-update (like I have it). The only way Live Preview will work in a previous version of Edge Code is with an older version of Chrome.
    But there are other reason why Live Preview may not work in latest version of Edge Code. Take a look at Live Preview section of Troubleshooting Guide.
    Randy

  • Checking for duplicate primary keys on row inserts

    Checking for duplicate primary keys on row inserts
    I have a situation where I will be making bulk table inserts knowing that the primary key value will in some cases already exist. In this is the case I simply want to ignore the duplicate inserts.
    Should I be performing a sub-query on the table and using a statement like:
    where not exist in
    Or is there a cleaner way of discarding or checking for duplicates on insert.
    My concerns were mainly one of performance, as my routine will be inserting a few thousand rows in its operation.

    The MERGE commnad is a good option when a large percentage of the data will exist in the target because it is much more efficient to attempt to update then insert when the update affects zero rows than capture an error and convert it to an update.
    However, since in this case it would appear that only a few rows will alreadys exist and we want to ignore the duplicates when they exist then
    begin
    insert
    exception
    when dup_value_in_index then null;
    end
    would be the way to code this one. The bulk insert version has in 9.2 the ability to store the errors so that they can all be handled at once which means the rest of the array insert can work.
    HTH -- Mark D Powell --

  • Bex Query not passing all rows to Crystal reports

    hello experts,
    i have created a bex query that shows all employees from the master data table and links to the cats table to show absence hours...
    in bex, all employees are showing and some of the employees have hours showing for sick time. this is known as a left outer join.
    i have created a report in crystal with this bex query and it does not show rows from the master data that do not have a link to the cats table. only the rows that have a link to the cats table are showing up. (this is compared to a inner join)
    the reason i need the master data from the employee table is that the users want to divide the total hours off(sick time) per department by the total employees in that department.
    here is the sql query from crystal that was created automatically when i used the bex query to created the crystal report.
    SELECT {Measures.4J8L2TQJ3P517ISQ1R4Y8UZ36, Measures.4J9PY3UANRIW2HW15YSOED92A, Measures.4J9TLIO0NDQROSA2YONCW6HB6}
    ON COLUMNS,
    NON EMPTY
    CROSSJOIN(0EMPLOYEE.LEVEL01.MEMBERS, 0EMPLOYEE__0COMP_CODE.LEVEL01.MEMBERS)
    DIMENSION PROPERTIES 0EMPLOYEE.50COMP_CODE, 0EMPLOYEE.50MAST_CCTR ON ROWS
    FROM ZCATS_MC1/ZZCATS_MC1_Q001C
    SAP VARIABLES 0I_DAYS INCLUDING 0CALDAY.20100502 : 0CALDAY.20100903
    i am using the mdx driver, and the integration kit is 2.8.
    any thoughts?
    thanks,
    erik

    Thanks Ingo for the quick response.
    this sounds like a limitation in the integration between bex and crystal because the query shows the correct data and the crystal reports does not. i have tried to add a calculated key figure to all the rows and put a number in it but it still does not show the rows in crystal.
    my issue is that they(the business users) want to know all the employees in the employee master data along with all the sick / illness data.
    do you have a suggestion for this issue?
    do you think that the mdx driver should be updated to allow master data to flow to crystal?
    thx,
    Erik

  • Duplicate notes on Macbook Pro

    I am seeing duplicate notes on my Macbook Pro. I use iCloud to sync between my MBP and my iPhone. The phone shows 1 of each note, while my MBP shows 2 of each. When I remove the clone, it deletes the original as well. How do I remove the duplicates? And I've tried removing the account and resyncing.

    Nevermind, I found the answer in another discussion.
    Rezguy said:
    "For those who have the same problem above don't know how to delete a library file, this may be useful: You need to first reveal the Library file, which is done via Terminal. At Terminal write in chflags nohidden ~/Library/
    When you go to your user-level file in Finder, you will find the Containers folder, and from there the com dot apple do Notes folder. Simply delete the entire folder, close your Notes and reopen them. You will see that you no longer have duplicate notes since you deleted the on-board copies being saved on your computer and not in the cloud. This solution works perfectly."

  • ExecuteWithParams is not returning the rows from cache

    Hi,
    We have two VO's based on same entity ,whenever new row is inserted in one VO and we do executeWithParams on another VO ,It is not returning the rows which are uncommitted.
    I replaced the executeWithParams with a custom method in AM in which I am executing the query after applying the view criteria and setting query mode.Its returning rows which are uncommitted.
    Jdev Version which I am using is 11.1.1.7.0
    ExecuteWithParams used to work with uncommitted data in 11.1.1.6.0 .
    Do we need to raise a bug on framework or Am I missing something?
    Edited by: sharavnkumar_malla on Oct 18, 2012 1:02 AM

    Still the same answer, even after you updated the question. We (the public) don't have 11.1.1.7, know nothing about 11.1.1.7, and cannot help you with 11.1.1.7. Questions about internal builds belong on internal forums.

  • "Mission Control" does not show space row and I cannot add a new space (27 inch screen)

    Firstly, "Mission Control" does not show upper row with spaces. I have configured Dashboard as space, but it is not showed either.
    Second, I cannot add a new space because the upper right corner wont show an empty space.
    In system I have configured (Mission Control) the upper right corner as "mission control".
    I do run a 27-inch screen

    I'm having the exact same problem. I have a Macbook Pro that I connect to a 27inch iMac through the mini display port. Whenever I attempt to launch Mission control to move a program to a different space, the "Spaces" dont appear at the top of the screen. Is anyone have an answer for this?
    Also, does anyone know of a 3rd party program to bring "Spaces" back? That was my #1 favorite thing of Snow Leopard, and I need to get that functionality back.
    Thanks

  • Why Does iBooks on My Original iPad Keep Crashing Every Time I Try to Access Highlight and Notes?

    I made 300 page book in iBooks Author and added it as a preview/proof within iBooks on a original iPad with the most up-to-date software. I was able to read the whole book, highlight sections and take notes. In the beginning, I could access them, but now that I've finished the book I can no longer. Whenever I click on the Notes button the whole app crashes. Nothing shows up under Table of Contents or Bookmarks, even though the book has highlights and notes all over it. Quitting the app from the multi-task bar and restarting the iPad haven't helped. The book won't sync with my iPhone because it's from iBooks Author, so I can't try it there. I even tried Bookmarks Extractor and my notes didn't come up. And there's no share option like there is for purchased books. Help! I need them!

    I made 300 page book in iBooks Author and added it as a preview/proof within iBooks on a original iPad with the most up-to-date software. I was able to read the whole book, highlight sections and take notes. In the beginning, I could access them, but now that I've finished the book I can no longer. Whenever I click on the Notes button the whole app crashes. Nothing shows up under Table of Contents or Bookmarks, even though the book has highlights and notes all over it. Quitting the app from the multi-task bar and restarting the iPad haven't helped. The book won't sync with my iPhone because it's from iBooks Author, so I can't try it there. I even tried Bookmarks Extractor and my notes didn't come up. And there's no share option like there is for purchased books. Help! I need them!

  • Highlighter has not been working in Adobe reader in my samsung Galaxy Tab 3.  Can you please help?

    Highlighter has not been working in Adobe reader in my samsung Galaxy Tab 3.  Can you please help?

    Update to comment - I found this thread that is related:
    Did Adobe Acrobat Reader revert to this bad and nonintuitive way to highlight text? The highlight approach described in this thread - to select text with handles - does work, but it is truly slow and clumsy.
    https://forums.adobe.com/thread/1538670

  • How do i set the background of the table( not of cell / row / column).

    How do i set the background of the table( not of cell / row / column).
    What happens when i load the applet the table is blank and displays the background color is gray which we want to be white.
    We tried using the setBackGround but it is not working maybe we are not using it properly. Any help would be gr8.
    Thanks in advance.

    I don't understand very well, but i guess that the background is gray when the table content's empty, isn't it?
    When the table model is empty, the JTable doesn't paint, so its container displays its background (often gray).
    In this case, what you must do is force the table to paint, even if the model is empty. So, you have to create your own table and override three methods :
    public class MyTable extends JTable
    //specify the preferred and minum size when empty
    myPreferredWidth = 200;
    myPreferredHeigth =200;
    myMinimunWidth = ...;
    myMinimunHeigth = ...;
    public Dimension getPreferredSize()
    if(getModel().getRowCount() < 1)
    return new Dimension(myPreferredWidth, myPreferredHeigth);
    else
    return super.getPreferredSize();
    public Dimension getMinimumSize()
    if( getModel().getRowCount() > 0)
    return new Dimension(myMinimunWidth, myMinimunHeigth);
    else
    return super.getMinimumSize();
    protected void paintComponent(Graphics g)
    if (getModel().getRowCount<1 && isOpaque()) { //paint background
    g.setColor(Color.white);
    g.fillRect(0, 0, getWidth(), getHeight());
    else super.paintComponent(g);
    }

  • Why do I get duplicates notes with macbook air

    I don't have #2
    No option to deselect, or select Sync Notes
    Duplicate notes
    Syncing Notes both over the air and with iTunes can result in duplicate notes appearing in the Notes application. Use the following steps to resolve the issue:
    Connect your device and select it in iTunes.
    Click the Info pane and deselect the option to Sync Notes.
    When prompted, select Delete Notes to remove the duplicates from the device.
    If you want to sync notes with iTunes instead of using the over-the-air feature, disable Notes sync for the account using Settings > Mail, Contacts, Calendars or Settings > iCloud.

    You might want to ask the developer of that website.

  • Parental Controls do not control Front Row

    Hello everyone-
    I have noticed that on my managed accounts if I do not select Front Row as a permitted application it runs just fine anyway from within the managed accounts. I can launch it from either the Finder or the keyboard shortcut and the content it displays (Top Musics Videos from the iTunes store etc) does not seem to be restricted in any way by the parental controls in iTunes.
    Has anyone found a fix for this, or is this one more thing in the list of things we are all waiting for in 10.5.2?
    -Mike

    Fixed in Snow Leopard

  • Why do i have duplicate notes on my iPhone even so en settings on all is iCloud the only one check?

    Why do I have duplicate notes on my iphone all my settings are check for the icloud only on iphone, ipad and macbook?

    This is not due to malware on your iPhone. There is no known malware capable of infecting an iPhone, unless it has been jailbroken (ie, hacked to run apps from outside the App Store).
    Someone hacked your e-mail remotely. Changing your password should remove access, but the spammer can still spoof your e-mail address on the From line and continue sending messages that look like they're coming from you. There's not much you can do about that except alert your contacts and wait for the spammer to stop and move on.
    Alternately, some e-mail accounts provide features that can allow a hacker continued access even after you change the password. GMail, for example, has a delegation feature that can be used to give someone else access, and hackers have been known to use this feature to maintain access across password changes. I am unfamiliar with Windows Live Email, but you should check for any similar delegation features.

  • Why does lion not have front row

    why does lion not have front row
    and what can i do to get it i loved the ease of use

    Front Row is not included or supported in Lion.
    Read here, but proceed at your own risk

Maybe you are looking for

  • C# & Visual Studio Community

    Searching the forum w/queries for where to post is nauseating. Why doesn't anything for C# of Visual Studio show up? I have no idea where to ask except to post here in 'Where in the forum ...' trying to get pointed in the right direction. Not to go n

  • List of operators in OWB mapping using OMB Plus

    Hi, I got a situation where I need to find out the list of operators names and its type that I used in a mapping. I tried to search but could not find it. Can any body help me regarding this. Thanks in advance Yeswanth

  • Incentives and Commission Management ?! HELP !!

    Hi guys, Anyone outhere ever worked with/implemented Incentives and Commission Management (ICM) and is willing to share some precious knowledge on the subject ?? I am currently envolved in the research and study of this functionality and I would real

  • Exhaustive Study materials

    dear friends, i am new to JAVA. i would like to have exhaustive study materials on JAVA. i would like to have free documents dealing with the theory in the finest detail, free tutorials for exhaustive programing practice etc. etc. kindly help. subhas

  • Error  deployment fulfiller

    19:01:09,171 ERROR [DeploymentFulfiller] java.lang.Exception: Error acquiring lock. Check your client and server lock man ager configurations. at atg.deployment.server.queue.DeploymentQueueManager.performActionLocke d(DeploymentQueueManager.java:210)