How to avoid multiple copies of data in page refresh

How to avoid multiple copies of data in page refresh

If you are talking about a page with an insert query, ignore the fact that it's a page refresh.  It's just another way that someone can insert duplicate records.  I like to handle this in my insert query.
insert into thetable
(f1, f2, etc)
select distinct
value1, value2, etc
from some_small_table
where you don't already have that record

Similar Messages

  • How to avoid multiple copies of the same application in Web Start cache?

    We have an environment where there are several HTTP servers carrying the same Web Start application.
    Is there any way to prevent Web Start from installing another copy of the same application in a client machine's cache if the user hits an HTTP server that is not the one the application was already installed from?

    There is no way WebStart can know that an application from one server is actually the same as an application from another server, so I don't think this is possible.

  • How to print multiple copies on one page ?

    How to print multiple copies of one document on one page ?
    in coreldraw I used to make the document -for example a business card 5x9 - and when sending to print it automatically placed the number of cards that would fit in my A4 sheet.
    how do I make the same operation in Indesign.
    thanks

    Hi, Peter S.
    >I can see that as a shortcut to printing a page of different cards for multiple people, but to do a simple n-up of a single card it seems overly complex to me. What am I missing?
    * It's just an alternative to copy/paste and step/repeat.
    * For a one-time only use, perhaps it's a little more complex than necessary. But for any future needs, only the content of the data file needs to be changed, either by editing, or by pointing to a new data file. If different cards for multiple people becomes necessary, it's ready to go.
    Regards,
    Peter Gold
    KnowHow ProServices

  • How to avoide multiple duplicate entries in adress book?

    How to avoide multiple duplicate entries in adress book? I can add the same contact name and number more than twice and the phone isn't warning me at all!!! I's quite a heck for me.

    not possible from inside AB AFAIK. but you can do the following. in finder open the folder /users/username/library/application support/address book/metdata. switch to the list mode and sort by date modified. quicklook the vcards at the top to see which ones they are.

  • Multiple copies of podcasts appear in iTunes on my computer, but correctly on my iPhone 4S.  How do eliminate multiple copies in iTunes on my PC?

    Multiple copies of podcasts appear in iTunes on my computer, but correctly on my iPhone 4S.  How do eliminate multiple copies in iTunes on my PC?

    Hi AkMat.
    Have you actually opened these files to see what they are yet? The few Apps I've downloaded (not from iTunes) typically come with a few files. The actual app, the instructions/help/TOU and sometimes an uninstall.
    mwn
    Message was edited by: much wiser now

  • How can avoid mandatory fields in data transfer

    hai
    please respond me
    how can avoid mandatory fields in data transfer like bdc

    hi,
    u have to pass values for mandatory fields in bdc method, u have to prepare u r bdc data such a way that all the mandatory fields are filled, other wise it will give error

  • How to Save Multiple Records In Data Block

    Hi All,
    I Have Two Blocks --> Control Block,Database Block
    Please Any Idea How to Save Multiple Records In Data Block when User changed Data in Control Block.
    Thanks For Your Help
    Sa

    Now i have to use each record of control block(ctl_blk) as where condition in data base block(dat_blk)and display 10 records from database table.>
    Do you want this coordination to be automatic/synchronized or only when the user clicks a button or something else to signal the coordination? Your answer here will dicate which trigger to put your code in.
    As to the coordination part, as the user selects a record in the Control Block (CB), you will need to take the Key information and modify the Data Block's (DB) "DEFAULT_WHER E" block property. The logical place to put this code is the CB When-New-Record-Instance (WNRI) trigger. You code will look something like the following:
    /* Sample WNRI trigger */
    /* This sample assumes you do not have a default value in the BLOCK WHER E property */
    DECLARE
       v_tmp_dw    VARCHAR2(250);
    BEGIN
       v_tmp_dw := ' DB_Key_Column1 = '||:CONTROL.Key_Column1||' AND DB_Key_Column2 = '||:CONTROL.Key_Column_2;
       Set_Block_Property('DATA_BLOCK', DEFAULT_WHER E, v_tmp_df);
       /* If you want auto coordination to occur, do the following */
       Go_Block('DATA_BLOCK');
       Execute_Query;
       /* Now, return to the Control Block */
       Go_Block('CONTROL_BLOCK');
    END;
    The Control block items are assigned with values in Form level (Key_exeqry).If your CD is populated from a single table, it would be better to create a Master - Detail relationship (as Abdetu) describes.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to avoid the Amount and Date values for VOID Cheques

    Hi All,
    I had created a two window i.e For Amount and Date. If I process the cheque the Amount value and Date should not trigger for VOID CHEQUES.
    Can any one tel me how to avoid the Amount and Date values for VOID Cheques
    Your help will be greatly appreciated.
    Regards
    Yathish

    Hi,
    I dont know which tablel you are referring to, is it PAYR table and the field VOIDR?
    If a cheque is voided, it would have a reason and it is stored in VOIDR field of this PAYR table.
    Check if the field VOIDR is filled, if it is filled, do not print the amount and date.
    Regards
    Subramanian

  • How to avoid multiple listing for same artist?

    How to avoid multiple listing for same artist?

    Sounds like there might be blanks in the artist name.
    For instance "Lou Reed" and "Lou Reed_" will not match.
    (Pretend the underscore _ is a blank).
    Select all the Lou Reed songs, Get Info, and type "Lou Reed" in the artist field. That should fix it.

  • How to avoid a line of data being cut by page jump ?

    Dear Java Experts,
    I have encountered a very troublesom problem!
    The problem is described as follows:
    When the browser (IE or Netscape) contains many HTML character data (especially HTML tables and data from DATABASE), how can I print the data to client's printer
    (i.e. browser's printer) without having a line of data cut by page jump?
    That is how to avoid a line of data cut by page jump, upper part of the data in one page and lower part in next!
    I think the problem should be solved with client's java applet!
    Can any expert give me sample code to solve the problem or indicate me where I can find documents about solving the problem?
    Thank you very much in advance!!
    Best Regards,
    Jackie Su

    HTML is not really meant for device-specific presentation (despite a lot of abuses in this area).
    I don't think you're going to solve this satisfactorily with HTML, no matter what you jury-rig around it.
    If this kind of presentation control is a requirement, you're probably better off with a format that directly supports this--PDF is the most obvious choice.
    There's a sourceforge project that supports PDF generation from Java (http://sourceforge.net/projects/itext/ - I don't have any experience with it) and I think there may be others.
    And I believe there are also commercial products for this.

  • Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    is this a windows in bootcamp question ?

  • How to remove multiple copies of plug ins in CS3 AE

    Does anyone know how to remove multiple copies of certain plug ins from Adobe After Effect CS3 ?
    I have Adobe Premier Pro CS3 instaled on same hard drive as AE CS3 , when i start my Adobe AE CS3, then when its loading, a warning message comes and says " you have mulitple copies of these plug ins , you must remove the multiple copies, else it might not function properly "
    Thanks in Advanced !

    Ok, thanks buddy
    well, here is the situation
    I use Windows XP
    AE CS3  as well as premier Cs3
    right at this point of time, i am upgrading the motherBD of my PC so i couldn't be more specific..once i installed the new BDs then i can give you more details..
    all right, I have installed the trapcode and New Blue effect for both Premier and AE, the dublicate plug in is from New Blue , i guess its called "Essentials"
    so, i went inside AE plug ins folder and located the "Essentials" plug in and removed the folder "Essentials" which contains the names of plug ins which i received them at the begining of the program.
    but when i restart the AE , i don't get and error or warning signs anymore BUT when i try to look for the Essentials effect, where all the other effects are, i no longer see the plug in there, just like it was never installed to begin with...
    when i  goto Program Files>>Adobe>>Commen Files>> plug ins
    then  i see the Essentials plug ins there,
    so basically i see the Essentials plug ins in 2 different locations.

  • How to put multiple photos on 1 A4 page

    Hi
    Can someone tell me how to put multiple photos on 1 A4 page,
    many thanks

    Try this:
    File >> New
    Set your width and height dimensions of A4 in mm.
    Set resolution e.g. 72 for web use/email or 240-300 for printing.
    Set background color to white (or whatever you prefer) and click OK
    Now get your first image
    File >> Place Embedded
    Select your first image and click place
    Drag to position and scale with the corner handles whilst holding down Shift.
    Click the check-mark to commit.
    Repeat for each of your other images.

  • How to avoid multiple DataConnections with LCD ES2

    Hi, we are just starting using the data connections to connect via a database with LiveCycle Designer. It seems we are missing something important regarding to manipulation of data from the PDF.
    At first we have tried to apply a INSERT command to our first table and be able to browse through the items in the database. We are able to browse through the database only before we have inserted something.
    If we insert an item and then try to browse through the database with (Next, Previous, Last or First) it will crash and have an error of the following :
    (Next, Previous, Last or First) failed. Multiple-step operation generated errors. check each status value [ID:@11]
    So then we have decided to create a second data connection which would have each of the column in the database except for the ID which appears to make everything crash.
    E.G.:  Table_1
    DataConnection1 --> ID, Field1, Field2, Field3, Field4          SELECT Command connection
    DataConnection2 --> Field1, Field2, Field3, Field4               INSERT Command connection
    Seems like we can't have a SELECT and INSERT in the same DataConnection because with those 2 different connections it works fine....
    Then we are trying to show multiple data's in a table which is linked with the ID of the Selected ID in DataConnection1.. To show the data is all fine using a 3rd connection for that Table_2, then we are making sure a blank row is always there at the end of the table to be able to add this new entry to the database with a Add button to INSERT into the Table_2... Unfortunately we do not have a 2nd connection to that table because we cannot link those fields with the database for the purpose of a multiple entry view.
    We have tried to make a 2nd connection for the purpose of the INSERT but it doesnt work at all.
    We are basing ourselves on the sample provided by Stefan Cameron in his blog http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/
    I am wondering if we are using the right functionalities and if it is the simplest way to work with databases...
    If anyone can help, it would be greatly appreciated!!
    Thanks in advance!
    Mag

    Don't forget to activate the RESOURCE_LIMIT parameter, which default is FALSE :
    alter system set RESOURCE_LIMIT = true;
    Laurent, I had a similar problem some time ago : I didn't want to avoid multiple access, but only control who was doing what. That's because moving from Client/Server to Web the TERMINAL column in V$SESSION becomes useless.
    I tried your solution, but I had to give up with it, because in my Forms9i application some forms call Reports, which generate a new session.
    I decided to use DBMS_APPLICATION_INFO, and this is satisfactory for my requirements, but I'm interested to discover other solutions.
    P.S. with my solution I'm able to limit accesses, because in the CLIENT_INFO string I put, among other things, the
    application user, so I can control if an user is already connected. The problem is that existing applications have to be modified .....:-(

  • How to print multiple copies of same image (with specific fixed dimensions) on single page

    I am using Photoshop Elements 10 on Win 7 PC.  I am trying to print multiple copies of one image on a single 8.5x11 sheet of paper? The images are artwork for buttons (to be used in button-making machine) so the dimensions must be exact on the duplicated images.  When I select Picture Package, the images are resized to fit the dimensions in the picture package. When I select Contact Sheet, the images are resized to fit the number of columns I selected.  Neither is acceptable.  How can I repeat the same image on a single piece of paper without having the system re-size the image?  I know that I can manually create a new PSE file and manually insert the images into this file.  This is what I have been doing as a work-around.   But I would hope there is a better/faster way.
    Thank-you!

    A variation of hatstead's method where the pictures are precisely aligned:
    1. Add the picture to the blank file as hatstead described. Use the Move tool to position the picture in the upper left corner.
    2. Duplicate the layer. Use the arrow keys (NOT the mouse) to move the new layer to the right.
    3. Repeat step 2 until the row is filled:
    4. Merge Down the 3 layers into one. Alternatively, link the 3 layers and do a Merge Linked as in this example. The end result is the pictures in the row are on one layer:
    5. Duplicate the layer and use the arrow keys to move this down to the 2nd row.
    6. Repeat step 5 to create additional rows.
    7. Finally, to center the whole thing on the sheet, link all the row layers and position with the arrow keys.
    Note that you can also custom-make your own Picture Package. Instructions for this should be somewhere in Help.

Maybe you are looking for