Need help on tips of Enter Key form Default Action!

Hi
In Iplanet-Jato-Tips
Enter Key Form Action Default Command i had a problem.
Is there any way to avoid the Enter action.
I need the same functionality which they specified in the tips,but not while
enter on a text field.
I need that functionality(default command child) ,but that action should
happen only at onclick,onFocus etc.So how to do for that.
My Ultimate question is
I need a default handler method which should handle my request if i submit a
page thru javascript having document.form.submit().
Please help needed,i was exhausted in asking this question in so many ways.
Thanks
Awaiting for reply.
Jaya

Hi,
  <a href="/people/sap.user72/blog/2005/05/09/have-you-played-blindfold-chess's</a> how to create a dynamic table, though I think you have already done this.
  Do look at the comment that Armin Reichert has put in. Now in the source code that he has provided, the last line should be
table.setOnLeadSelect(wdThis.wdGetLeadSelectAction());
Have you done something similar to this?
Have you set the initializeLeadSelect property of the datasource node to true?
Regards,
Satyajit.
Message was edited by: Satyajit Chakraborty

Similar Messages

  • Need help in activation a license key in CCT. It works as a trial now

    Need help in activation a license key in CCT. It works as a trial now

    1st the sata drive cannot be listed as a slave drive to the ide master [key word=ide-can be configured as master OR slave, master IF only 1 hd, master and slave IF 2 hds], on the sata controler you can have master and slave, the ide cable has two connectors for the hds, sata has only 1 hd connector.
    are you wanting to install the sata as primary master and move the operating sys to that drive, if so you will need an IMAGING software to move an operating system OR you could do a fresh operating system install to the sata drive then install your programs.

  • Suggestion needed: Where to catch the 'Enter' key

    Hi,
    Could someone give me guidance. Below is the background and question of what I would like to do. (Note: There would be so much code I am hoping that someone can understand this without it but I will look later tonight at your possible responses to determine if I need to add some code snippets.)
    BACKGROUND:
    I have an application with a JTabbedPane added to the content pane of the JFrame.
    The JTabbedPane has five JPanels added as tabs each of which extends ActionListener. When it creates each JPanel it passes itself as the argument (this).
    Each of these 'major' JPanel tabs has several (2-4) 'mini' JPanels added to them and all the various JButtons, JComboBoxes, and JTextFields are added to the 'mini' JPanels.
    The JComboBoxes and JTextFields are enclosed in my own separate wrapper classes so I can do some special validation, etc.
    One of the 'mini' JPanels is always named 'buttonPanel' and is where the 'cancel' and 'continue' JButtons are added. The buttons are registered with an ActionListener and allow access to the next 'major' JPanel after some checks are performed. Right now the buttons are caught by the ActionListener of each 'major' JPanel
    I WOULD LIKE TO:
    I would like to have the 'Enter' key perform a 'continue.doClick()' on whatever 'major' JPanel is active (there are many validations to be done on each 'major' panel before the continue button can allow the user access to the next tab). There are from 1-3 other buttons in the same buttonPanel as the 'continue' button so if any of them have the focus then the 'Enter' key action should be handled by them.
    I would like to have the 'Escape' key perform a 'cancel.doClick()' on whatever 'major' JPanel is active. The 'Excape' key does not have to defer to any other button actions like the "Enter" key does.
    Where would I extend the KeyListener? The JTabbedPane has a changeListener method that keeps track of what tab I am on, would this be someplace that could help keep track of what 'major' JPanel continue button should be called?
    Thanks very much.
    hopi

    You can use an InputMap and ActionMap combination to map an action on the JPanel that is currently selected to the Enter key.
    This will allow you to add an ActionListener which is called whenever the enter key is pressed. Then you can cycle through the available buttons and determine which on has focus and call doClick on it. The cycling may require you to place all the buttons in an Array or a Vector.
    ICE

  • Need help with a currently "in-use" form we want to switch to Adobes hosting service

    Hi, I am in desperate need of help with some issues concerning several forms which we currently use a paid third party (not Adobe) to host and "re-distribute through email"...Somehow I got charged $14.95 for YOUR service, (signed up for a trial, but never used it)..and now I am paying for a year of use of the similar service which Adobe is in control of.  I might want to port my form distribution through Adobe in the hopes of reducing the errors, problems and hassles my customers are experiencing when some of them push our  "submit button". (and I guess I am familiar with these somewhat from reading what IS available in here, and I also know that, Adobe is working to alleviate some of these " submit"  issues, so let's don't start by going backwards, here) I need solutions now for my issues or I can leave it as is, If Adobe's solution will be no better for my end users...
    We used FormsCentral to code these forms and it works for the most part (if the end-user can co-operate, and thats iffy, sometimes), but I need help with how to make it go through your servers (and not the third party folks we use now), Not being cruel or racist here, but your over the phone "support techs" are about horrible & I cannot understand them or work with any of them, so I would definitely need someone who speaks English and can understand the nuances of programming these forms, to please contact me back. (Sorry, but both those attributes will be required to be able to help me, so, no "newbie-interns" or first week trainees are gonna cut it).... If you have anyone who fits the bill on those items and would be willing to help us, please contact me back at your earliest convenience. If we have to communicate here, I will do that & I can submit whatever we need to & to whoever we need to.
    I need to get this right and working for the majority of my users and on any platform and OS.
    You may certainly call me to talk about this, and I have given my number numerous times to your (expletive deleted) time wasting - recording message thingy. So, If it's not available look it up under [email protected]
    (and you will probably get right to me, unlike my and I'm sure most other folks',  "Adobe phone-in experiences")
    Thank You,
    Michael Corman
    VinylCouture
    Phenix City, Alabama  36869

    Well, thanks for writing back...just so you know...I started using Adobe products in 1987, ...yeah...back then...like Illustrator 1 & 9" B&W Macs ...John Warnock's Helvetica's....stuff like that...8.5 x 11 LaserWriters...all that good stuff...I still have some of it working on a mac...much of it was stuff I bought. some stuff I did not...I'm not a big fan of this "cloud" thing Adobe has foisted upon the creatives of the world...which I'm sure you can tell...but the functionality and usefulness of your software can not be disputed, so feel free to do whatever we will continue to pay for, ...I am very impressed with CC PS on the 64 bit PC and perhaps I will end up paying you the stipend that you demand for the other services.
    So  I guess that brings us to our problem.. a few years back and at the height of the recession and near bankruptcy myself,  I was damn lucky and hit on something and began a small arts and crafts supply service to sell my products online to a very "niche market" ...I had a unique product and still sell that product (plus others) online...My website is www.vinylcouture.com...Strange? Yes...but there is a market it seems, for everything now, and this is the market I service...Catagorically, these are 99%+ women that use these "adhesive, sticky backed vinyl products"  to make different "craft items" that are just way too various and numerous to go into... generally older women, women who are computer illiterate for the most part...and all this is irrelevant to my problem, but I want you to have every bit of background on this and especially the demographic we are dealing with, so we can get right to the meat of the problem.
    OK...So about two years ago, I decided to offer a "plain sheet" product of a plain colored "stick back" vinyl... it is available in multiple quantities of packs ( like 5 pieces, 10 pieces, 15 pieces, in a packi  & so on)...and if you are still on my site.. go to any  "GO RIGHT TO OUR ORDER PAGE"  button, scroll down a little...and then to the "PLAIN VINYL" section...you will see the Weebly website order process.) You can back out from here, I think,..but, anyway this product is available in 63 colors + or - a few. So then the problem is,  how do they select their individual colors within that (whatever) pack?... .
    So my initial idea was to enable a "selection form" for these "colors" that would be transmitted to me via email as 'part" of the "order process".. We tried getting our customers to submit a  " a list" ( something my competitiors still do, lol, poor bastards)......but that..is just unbelievable..I can't even begin to tell you what a freakin' nightmare that was...these people cannot even count to 10, much less any higher... figuring out what colors to list and send me... well, lets just say, it wasn't working......I had to figure out a better way...Something had to be done.
    So after thinking this all out,  and yeah...due to my total ignorance, i figured that we could make a form with Live Cycle Designer (Now Forms Central)...(back then something that was bundled with Adobe Acrobat Pro), I believe, and thats what this thing was authored in... and it would be all good...LOL!
    Well not so simple...as you well know, Adobe Acrobat would NOT LET YOU EMAIL anything from itself.....it just wouldn't work (and I know why, and all that hooey), but not being one to take NO for answer,.I started looking for a way to make my little gizmo work.. So I found this company that said they can "hijack" (re-direct actually) the request to email, bypass the wah-wah, and re-transmit it to the proper parties.....for less than $100 a year,  I think...its called http://pdf-fillableforms.com/.
    A nice gentleman named Joseph Silva helped us program the thing to go to his servers and back out. Please dont hassle them...I need them...for now..it basically does work...try it...you should get back a copy of the form that you filled out...good luck however,  if you're on MAC OSX or similar...
    I have included a copy of both of our forms (and feel free to fill it out and play with it)...just put test somewhere on it...(and you must include YOUR email or it will balk)..they are supposed to be mostly identical, except one seems to be twice as large....generating a 1.7 meg file upon submission, while the other one only generates a 600K file or so...thats another issue for another day or maybe you can advise on that also...
    OK so far so good......In our shop, once Grandma buys a 10 pack (or whatever), Only then she gets to the link on her receipt page ro the relevant "selection form" ,(this prevents "Filling and Sending"  with "no order" and "no payment", another early problem we had)... which they can click on and it will usually download and open up on their device if all goes well...Then our little form is supposed to be fillable and is supposed to ADD UP all the quantities, so grandma knows how many she is buying and so forth right on the fly,  and even while she changes her mind..., and IT'S LARGE so grandma can see it, and then it TOTALS it all up for them, ( cause remember, they can NOT add)..,  except there is a programming bug (mouse-click should be a mouse-up probably or something..) which makes you click in the blank spaces to get to a correct TOTAL...about 70-80% of our customers can enable all these features and usually the process completes without problems for them especially on PC's running Windows OS and Acrobat Reader X or XI...at least for most... Unfortunately it is still not the "seamless process" I would like or had envisioned for the other folks out there that do have trouble using our form....  Many folks report to us the following issues that we know of.  First of all it takes too much time to load up...We know its HUGE...is there anyway that you can see, to streamline this thing? I would love for it to be more compact...this really helps on the phones and pads as I'm sure you well know.
    Some just tell us,"it WON'T work"....I believe this is because they are totally out of it and dont even have Adobe Reader on their machine, & don't know how to get it ( yes, we provide the links).....or it's some ancient version....no one can stop this one...
    It almost always generates some kind ( at least one time)  of "error message" which we do warn them about..., telling one,  basically that "Acrobat doesnt even like this happening at all, and it could be detrimental to ones computer files", blah-blah...(this freaks grandma out really bad)...& usually they end up not even trying to send it...  and then I get calls that even you wouldn't believe...& If they DO nut up and push the Red "Submit Form" button, it will usually send the thing to us (and also back to them at the "required email address" they furnished on the form, thats what the folks at the "fillable forms place" do) so, if it's performing it's functions, why it is having to complain?. What are we doing wrong?....and how can I fix it?...Will re-compiling it or saving it as a newer version of "FormsCentral" correct any of these problems ?
    Ok, so that should keep you busy for a minute and we can start out with those problems...but the next thing is, how can I take advantage of YOUR re-direct & hosting services?, And will it get rid of the error messages, and the slowness, and the iOS incompatibilities ? (amazingly,  the last iOS Reader version worked almost OK.. but the newest version doesnt seem to work with my form on my iphone4)  If it will enable any version of the iOS to send my form correctly and more transparently, then it might be worth the money...$14.95 a MONTH you say. hmmmmm...Better be good.
    Another problem is, that I really don't need 5000 forms a month submitted. I think its like 70-100 or less....Got any plans for that?  Maybe I'm just not BIG ENOUGH to use Adobe's services, however in this case, I really don't care whose I do use as long as the product works most correctly for my customers as well as us. Like I said, If I'm doing the best I can, I won't change anything, and still use the other third party, If Adobe has a better solution, then i'm all for that as well. In the meantime, Thanks for any help you can provide on this...
    Michael Corman
    VinylCouture.com
    (706) 326-7911

  • Need Help Writing Server side to submit form via API

    Hey
    I need help writing a serverside application to submit
    information via API to a separate server.
    I have a client that uses constant contact for email
    campaigns. We want to add to her website a form taht submits the
    information needed to subscribe to her email list, to constant
    contact via API.
    FORM.asp :: (i got this one under control)
    name
    email
    and submits to serverside.asp
    SERVERSIDE.ASP
    In serverside.asp i need to have
    the API URL
    (https://api.constantcontact.com/0.1/API_AddSiteVisitor.jsp)
    username (of the constant contact account)
    password (of the constant contact account)
    name (submited from form.asp)
    email (submitted from form.asp)
    redirect URL (confirm.asp)
    Can anyone help get me going in the right direction?
    i have tried several things i found on the net and just cant
    get anyone to work correctly.
    One main issue i keep having is that if i get it to submit to
    the API url correctly - i get a success code, it doesnt redirect to
    the page i am trying to redirect to.
    ASP or ASP.NET code would be find.
    THANKS
    sam

    > This does require server side programming.
    > if you dont know what that is, then you dont know the
    answer to my question. I
    > know what i need to do - i just dont know HOW to do it.
    If you are submitting a form to a script on a remote server,
    and letting
    that script load content to the browser, YOU have no control
    over what it
    loads UNLESS there is some command you can send it that it
    will understand.
    No amount of ASP on your server is going to change what the
    remote script
    does.
    http://www.constantcontact.com/services/api/index.jsp
    they only allow their customers to see the instructions for
    the API so i
    can't search to see IF there is a redirect you can send with
    the form info.
    But posts on their support board say that there is.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Logic Pro 9 - need help with 'Go To Beginning' key assignment.

    I preface my question by saying I would think that Garageband and Logic Pro would both use the same key commands for basic commands, and I think they are intended to do so. I have configured my Logic Pro 9 to use commands for the extended keyboard even though I am using a MacBook Pro with small Apple wireless keyboard - I do this because it allows me to use 'Go To Beginning' by using the 'Return' key.
    Garageband allows me to use 'home' which is fn left-arrow on the small keyboard and that is fine, but fn left-arrow does not do anything in Logic Pro even though it should act like the 'home' key. Do I need to just use the return key, which does work, to 'go to beginning' while editing in Logic Pro?
    Re-assigning 'Go To Beginning' in the keyboard reassignment dialog is grayed out so I am not allowed to enter or change anything in this dialog.
    Frustrating when the most simple things do not work in an otherwise complex and wonderful piece of software.

    Oh my, Look what I found in a post that Apple should read. This needs to be clarified to save hours of frustration...
    Rohan Stevenson1
    RE: Key Commands - Assignment not working? Oct 19, 2005 3:37 AM (in response to Timothy B Hewitt)
    actually, i've fixed it. after fiddling for ages basically the problem is that you cannot select the key commands by checking the modifier key boxes an entering the the key. you have to choose learn by position or label and press the keys themselves. if you do it this way it will work. 

  • Need help/hints/tips with a method for connect 4 game.

    Hi!
    I'm currently trying to get my "movepiece"-method to make it so that players can only drag a piece into the empty square at the bottom row, and if the square is not empty the method will move up one row and check if it's empty if not, repeat until
     6 are checked if no one is empty then move is invalid.
    I've been trying out while loops and for loops but i think i might set the wrong conditions for exiting the loop...
    Here the code for the method without any loops simply adds pieces.
            /// <summary>
            /// Method that performs the actual move.
            /// The old piece gets overrun by the attacking piece. 
            /// The attacking piece's position becomes null.
            /// </summary>public Piece[,] MoveAttackpiece(int[,] changearray)
    int origX = changearray[0, 0];
    int origY = changearray[0, 1];
    int targetX = changearray[1, 0];
    int targetY = changearray[1, 1];
    pieceArray[targetX, targetY] = pieceArray[origX, origY]; //swap
    return pieceArray;
    The game is using winforms and a 2D array(pieceArray)to draw the game board
    I'm using a Constants class for declaring the height and width of the board, which the pieceArray is based on, Namely const int BOARDESIZEx and BOARDERSIZEy.
    And while i'm at it when i did different loops for tryng to make the piece move down/up (based on if a square in bottom row was empty or not) the program crashes and i get the "Null Reference Exception unhandled"
    at this part in the game.CS (the earlier code reside in a class named Squares.cs)
    if (changearray != null)
    //Building string to print (split over several rows for readability but also to avoid calculations)
    Piece attackpiece = pieceArray[changearray[1, 0], changearray[1, 1]];
    string message = "";
    if (move % 2 == 1) message += "TURN " + move / 2 + ":\r\n"; //integer division, as there are two draws per turn
    message += attackpiece.Name + ": "; //Walker:
    message += IntegerToChar(changearray[0, 1]); //Walker: A
    message += (changearray[0, 0] + 1) + " - "; //Walker A1 -
    message += IntegerToChar(changearray[1, 1]); //Walker A1 - B
    message += (changearray[1, 0] + 1); //Walker A1 - B2
    if (move % 2 == 0) message += "\r\n"; //blank row inserted after each completed turn
    Board.PrintMove(message);
    I've tried making
    While(piecearray[targetX, targetY]!=null)
    pieceArray[targetX, targetY]==pieceArray[targetX, targetY +1];
    return array;
    but that didn't work and i don't really know how to make the game start at bottom row.
    I appreciate any help or tips on how to get this to work since it's the only thing left for making the game work as intended.
    Cheers and thanks for reading.
    PS: if there's anything you wonder just ask and i'll explain as much as i can.
    Regards Gabbelino
    Student at the University of Borås, Sweden

    Let's look at what's wrong with the following code.
    While(piecearray[targetX, targetY]!=null)
    pieceArray[targetX, targetY]=pieceArray[targetX, targetY +1]; // I assume the "==" in your post above was a typo.
    Suppose, for the sake of argument, that targetX is 2 and targetY is 3, and that pieceArray[2,3] is not null. The line inside the loop will then become...
    pieceArray[2,3] = pieceArray[2, 4];
    ...and this line will keep being executed as long as pieceArray[2,3] is not null, which if pieceArray[2,4] is not null will be forever (infinite loop).
    I suspect that your loop should look something like this...
    for(int i = 0; i < BOARDSIZEy; i++)
    // Look for the first available square in the target column.
    // When found, set the piece on that square then break out.
    if(pieceArray[targetX, i] == null)
    pieceArray[targetX, i] = pieceArray[origX, origY];
    break;

  • Need help on Dynamic SQL Cursor in Forms

    Hi All,
    I am trying to execute Dynamic SQL Cursor in forms using EXEC_SQL built in.
    I have a cursor for example:
    'select * from supplier where supplier = '||p_supplier||' and processing_order = '||p_order
    My code is
    cur_num := Exec_SQL.Open_cursor;
    sql_order := 'select * from supplier where supplier = '||p_supplier||' and processing_order = '||p_order;
    EXEC_SQL.PARSE(cursor_number, sql_order);
      EXEC_SQL.DEFINE_COLUMN(cur_num ,1,ln_Supp_Id);
      EXEC_SQL.DEFINE_COLUMN(cur_num ,2,ls_Suppl_Name,30);
    EXEC_SQL.DEFINE_COLUMN(cur_num ,24,ls_exchange,20);
      sql_count := EXEC_SQL.EXECUTE(cur_num );
      While EXEC_SQL.FETCH_ROWS(cur_num ) > 0 Loop
            EXEC_SQL.COLUMN_VALUE(cur_num ,1,ln_Supp_Id);
            EXEC_SQL.COLUMN_VALUE(cur_num ,2,ls_Suppl_Name);
            EXEC_SQL.COLUMN_VALUE(cur_num ,24,ls_exchange);
    End Loop;
    EXEC_SQL.CLOSE_CURSOR(cur_num );
    In this case I have to write 24 Define Columns and 24 Column value. Is there any way to assign them to %rowtype at one time as I need all coulmn of the table.
    I had similar case on multiple tables.
    Please help me
    Thanks,
    Maddy

    I need this dynamic sql because p_supplier and p_order values changes at run time
    I do not understand. Is this a simplified sample or the real thing? You do know that you can pass variables to cursors:
    cursor test is
    select * from supplier where supplier = p_supplier and processing_order = p_order;
    or does e.g. p_supplier hold other parts of the query?
    cheers

  • Need help with defining composite foreign keys

    Hi there, i´m in troubles with defining a composite foreign key. The scenario is:
    * Table TABLE_A has no unique primary key. Instead its primary key is a composition of five foreign keys.
    * Table TABLE_B and TABLE_A have a many-to-many relationship with each other.
    When I create the entity manager for running the DDL scripts into the DB i´m getting "ORA-02270: no matching unique or primary key for this column-list".
    These are my entities (sorry the portuguese terms, but i think the issue can be understood without translation...).
    @Entity
    @Table( name = "DESTAQUE_PDE" )
    public class DestaquePDE implements Serializable {
         private static final long serialVersionUID = 4694859522628884981L;
         @Id
         @GeneratedValue( strategy = GenerationType.SEQUENCE )
         @Column( name = "ID_DESTAQUE_PDE", nullable = false )
         private long id;
    //Some fields were ommited here for simplicity....
         @ManyToMany( cascade = CascadeType.ALL )
         @JoinTable( name = "JOIN_DESTAQUES_CORRELACAO",
                        joinColumns           = @JoinColumn( name = "JOIN_ID_DESTAQUE", referencedColumnName = "ID_DESTAQUE_PDE" ),
                        inverseJoinColumns      = {@JoinColumn( name = "JOIN_ID_COR_PUB_ALVO", referencedColumnName = "FK_ID_PUBLICO_ALVO" ),
                                                 @JoinColumn( name = "JOIN_ID_COR_RES_LINHA", referencedColumnName = "FK_ID_RESOLUCAO_LINHA" ),
                                                 @JoinColumn( name = "JOIN_ID_MOD_CRED", referencedColumnName = "FK_ID_MODALIDADE_CREDITO" ),
                                                 @JoinColumn( name = "JOIN_ID_AG_FIN", referencedColumnName = "FK_ID_AGENTE_FINANCEIRO" ),
                                                 @JoinColumn( name = "JOIN_ID_PROG_LINHA", referencedColumnName = "FK_ID_PROGRAMA_LINHA" )}
         private List<EntradaTabelaCorrelacao> correlacoes;
    @Entity
    @Table( name = "CORRELACAO" )
    @IdClass( TabelaCorrelacaoPK.class )
    public class EntradaTabelaCorrelacao implements Serializable {
         private static final long serialVersionUID = -3337072470212918325L;
         @Id
         @Column( name = "FK_ID_PUBLICO_ALVO" )
         private long idPublicoAlvo;
         @Id
         @Column( name = "FK_ID_RESOLUCAO_LINHA" )
         private long idResolucaoLinha;
         @Id
         @Column( name = "FK_ID_MODALIDADE_CREDITO" )
         private long idModalidadeCredito;
         @Id
         @Column( name = "FK_ID_AGENTE_FINANCEIRO" )
         private long idAgenteFinanceiro;
         @Id
         @Column( name = "FK_ID_PROGRAMA_LINHA" )
         private long idProgramaLinha;
         @Column( name = "CS_SITUACAO", nullable = false, length = 1 )
         private String situacao;
         @ManyToMany( mappedBy = "correlacoes" )
         private List<DestaquePDE> destaquesPDE;
    //more relationships ommited for simplicity....
    public class TabelaCorrelacaoPK implements Serializable {
         private long idPublicoAlvo;
         private long idResolucaoLinha;
         private long idModalidadeCredito;
         private long idAgenteFinanceiro;
         private long idProgramaLinha;
    //getters and setters ommited....
    These are part of the DDLs generated by toplink:
    CREATE TABLE DESTAQUE_PDE (
         ID_DESTAQUE_PDE NUMBER(19) NOT NULL,
         VL_ALOCACAO_AUTORIZADA NUMBER(16,2) NOT NULL,
         VL_TOTAL NUMBER(16,2) NOT NULL,
         QT_OPERACOES NUMBER(16,2) NOT NULL,
         NM_DESTAQUE_PDE VARCHAR2(255) NOT NULL,
         VL_ESTIMATIVA_REAPLICACAO NUMBER(16,2) NOT NULL,
         VL_MONTANTE NUMBER(16,2) NOT NULL,
         FK_ID_PDE NUMBER(19) NOT NULL,
         FK_RESOLUCAO_PROGRAMA NUMBER(19) NOT NULL,
         PRIMARY KEY (ID_DESTAQUE_PDE)
    CREATE TABLE CORRELACAO (
         FK_ID_PUBLICO_ALVO NUMBER(19) NOT NULL,
         FK_ID_RESOLUCAO_LINHA NUMBER(19) NOT NULL,
         FK_ID_MODALIDADE_CREDITO NUMBER(19) NOT NULL,
         FK_ID_AGENTE_FINANCEIRO NUMBER(19) NOT NULL,
         FK_ID_PROGRAMA_LINHA NUMBER(19) NOT NULL,
         CS_SITUACAO VARCHAR2(1) NOT NULL,
         PRIMARY KEY (FK_ID_PUBLICO_ALVO, FK_ID_RESOLUCAO_LINHA, FK_ID_MODALIDADE_CREDITO, FK_ID_AGENTE_FINANCEIRO, FK_ID_PROGRAMA_LINHA)
    ALTER TABLE DESTAQUE_PDE
    ADD CONSTRAINT FK_DESTAQUE_PDE_FK_ID_PDE
    FOREIGN KEY (FK_ID_PDE)
    REFERENCES PDE (ID_PDE)
    ALTER TABLE DESTAQUE_PDE
    ADD CONSTRAINT DESTAQUEPDEFKRESOLUCAOPROGRAMA
    FOREIGN KEY (FK_RESOLUCAO_PROGRAMA)
    REFERENCES RESOLUCAO_PROGRAMA (ID_RESOLUCAO_PROGRAMA)
    (*) ALTER TABLE CORRELACAO
    ADD CONSTRAINT CORRELACAO_FK_ID_PUBLICO_ALVO
    FOREIGN KEY (FK_ID_PUBLICO_ALVO)
    REFERENCES PUBLICO_ALVO (ID_PUBLICO_ALVO)
    ALTER TABLE CORRELACAO
    ADD CONSTRAINT CORRELACAOFKID_RESOLUCAO_LINHA
    FOREIGN KEY (FK_ID_RESOLUCAO_LINHA)
    REFERENCES RESOLUCAO_LINHA (ID_RESOLUCAO_LINHA)
    ALTER TABLE CORRELACAO
    ADD CONSTRAINT CRRELACAOFKIDMODALIDADECREDITO
    FOREIGN KEY (FK_ID_MODALIDADE_CREDITO)
    REFERENCES MODALIDADE_CREDITO (ID_MODALIDADE_CREDITO)
    ALTER TABLE CORRELACAO
    ADD CONSTRAINT CORRELACAOFKIDAGENTEFINANCEIRO
    FOREIGN KEY (FK_ID_AGENTE_FINANCEIRO)
    REFERENCES AGENTE_FINANCEIRO (ID_AGENTE_FINANCEIRO)
    ALTER TABLE CORRELACAO
    ADD CONSTRAINT CORRELACAOFK_ID_PROGRAMA_LINHA
    FOREIGN KEY (FK_ID_PROGRAMA_LINHA)
    REFERENCES PROGRAMA_LINHA (ID_PROGRAMA_LINHA)
    As I told before, the error i´m getting with these mappings is:
    ORA-02270: no matching unique or primary key for this column-list
    The error occurs exactly when executing the instruction with (*).
    Thanks in advance for any help!
    Regards
    Loreno

    The error says that the table PUBLICO_ALVO does not have a primary key or unique constraint for (ID_PUBLICO_ALVO), so you cannot define a foreign key constraint to it. This table was not included in your DDL, how was it created? You need to add a primary key or unique constraint in this table on this field.
    If you do not wish to have the unique or foreign key defined you can just ignore the error, it is just a warning.
    <p>---
    <br>James Sutherland
    <br>Oracle TopLink, EclipseLink
    <br>Wiki: Java Persistence, EclipseLink

  • Need help with preforming calculations on a form

    i'm working on a form in desinger 7 and i need to proform some calculations
    thanks fred

    part of for below. its just basic but i have never done this before in desiner
    thanks fred

  • Need help with an Aforge and windows forms memory stack-up issue

    Hello,
    I am experiencing a strange memory stack-up in my c# windows form program that occurs all the time on slow PCs, and when the windows form loses focus or is otherwise interrupted on faster PCs.
    The program I have written uses Aforge to get images from my webcam, which I then display in an Aforge picturebox control (CurrImagePic in code) in the windows form.  The images are switched into the picture box and then disposed at the camera's native
    framerate, so it appears as video to the user, not still images.  The picture box is 1080x1920, but the space for it in the form is smaller and so I allow the user to scroll around the picture.
    After about ~30 seconds of memory-stable operation on slower PCs, the problem begins.  On faster PCs, the problem only occurs when holding down scroll bar arrows or clicking and dragging around either scroll bar, and if I lock the PC or bring up the
    Ctrl+Alt+Delete menu.
    The problem itself is that memory used by the program starts to increase in very large chunks, leading to an out of memory crash.  This is unstoppable on slower PCs, but on the faster PCs if you stop scrolling or return from the lock/Ctrl+alt+delete
    menu, the program stabilizes at the higher memory usage level.  The memory that was accrued during scrolling or while in the lock menu is never collected by the garbage collector.  I've even tried to put in a button that forces a GC.collect() when
    pressed, and it does not reduce this memory usage.
    I've run perfmon and found that the memory increase is on the unmanaged heap, but I don't know if it's coming from bitmaps which are not being disposed or what it could be from.  It's been impossible to track down since it does not occur except in the
    above conditions.  I've tried various solutions (like moving my image processing out of the event handler and even using both global flags and a "lock" statement to try and ensure that only one thread or frame can access the image processing
    and displaying method at at time, but I have seen no change.  In fact, I am now seeing some unexplained small jumps in memory usage that I wasn't seeing before I put in the lock and moved the processing out of the handler.
    Has anyone run into situations like this?  I am at a loss for what I need to fix.  I think the problem is based around my Aforge event handler and image processing method if it is in my code at all - but I also have a suspicion that this is something
    deeper in the windows form code that I am either misusing or that can't keep up with the demands of my code.  Code below:
    //Applicable Globals to this code snippet
    private bool ALLOWFRAME = true;
    private Object FRAMEKEY = new Object();
    private VideoCaptureDevice COMPVID;
    private Bitmap TMPLTCAP;
    private System.Drawing.Image OLDIMAGE;
    private bool RCRDPIC = false;
    private void COMPVID_NewFrame(object sender, NewFrameEventArgs eventArgs)
    //Only process a frame when another is done processing
    if (ALLOWFRAME == true)
    ALLOWFRAME = false;
    Bitmap PassFrame = AForge.Imaging.Image.Clone(eventArgs.Frame);
    ProcessFrame(PassFrame);
    PassFrame.Dispose();
    private void ProcessFrame(Bitmap frameIn)
    lock (FRAMEKEY)
    if (OLDIMAGE != null) { OLDIMAGE.Dispose(); }
    //Call comparison method if flag is set.
    if (COMPON == true)
    Difference TmpltFilter = new Difference(TMPLTCAP);
    TmpltFilter.ApplyInPlace(frameIn);
    OLDIMAGE = CurrImagePic.Image;
    CurrImagePic.Image = AForge.Imaging.Image.Clone(frameIn);
    OLDIMAGE.Dispose();
    else
    OLDIMAGE = CurrImagePic.Image;
    CurrImagePic.Image = AForge.Imaging.Image.Clone(frameIn);
    OLDIMAGE.Dispose();
    //Toggle the flag back to false to show it's safe (i.e., comparisons have stopped)
    //for the result-recording method to copy from the picture box if it is attempting to copy
    if (RCRDPIC == true)
    RCRDPIC = false;
    ALLOWFRAME = true;

    As you are using third party tools and controls, and I cannot find posts on parallel cases using native VS controls, have you asked in the Aforge forums about your memory issue?
    http://www.aforgenet.com/aforge/framework/

  • Needs help to process data from a form in php

    Hello there,
    Under "About us", is the contact us page where I would like
    to collect data. But I could not get it processed.
    I used but am very new to php. Anyhow, what I want to process
    is to send all the data collected to my email address, and at the
    same time, to display a simple Thank You page. I am attaching my
    code.
    I certainly HOPE someone can help me out as I have been
    trying for quite a while now and need to get it done ASAP...
    Many Thanks,
    matt
    Text

    Hi Sayaf
    It sounds like you need to use "Array Subset.vi" to split the 2000000 into 250000 element blocks.
    Set the index on Array Subset to 0 and then increment by 250000 after processing and displaying each block.
    Good luck
    Neil

  • Need help to find out where my forms are stored locally on my PC

    Is there an easy way to find out where my forms are stored?

    Hi;
    What is it you would like to do?  I am guessing you are referring to forms in the FormsCentral desktop application and not the web site.  The forms in the Desktop application are not stored in a way you can access or use them other than through the application.  You can export and save locally any form as a "FormsCentral Design Template" which can be shared with anyone and re-imported into FormsCentral.
    If you can give me more details about what you would like to do I can help further.
    Thanks,
    Josh

  • Need help adapting David Powers PHP email form script please!

    Hi all,
    I'm fairly inexperienced with PHP and I'm trying to adapt the David Powers email form script from THE ESSENTIAL GUIDE TO DREAMWEAVER CS4 WITH CSS, AJAX, AND PHP.
    I've created a basic form so that visitors to the site can request a telephone call back from the site owner. The form asks the visitor for their name, telephone number and to select a time of day suitable for the telephone call to be made using radio buttons selecting between morning and afternoon.
    I'd like to achieve my goal with minimal validation error messages and would like to redirect to another page when a message is sent successfully. It is also important that in the spirit of the David Powers script I'm trying to work with, that it filters out suspect input, avoids email header injection attacks and blocks submission by spam bots.
    There may be a really simple solution to this since I don't want users to be able to enter an email address at all but I don't know enough to be able to figure it out just yet.
    I'd be grateful for any advice.
    See below for the code for the form including PHP so far...
    Thanks to everyone looking in in advance
    Karl.

    GEAtkins wrote:
    > I am using the redirect to a personal page from page 515
    of The Essential
    > Guide to DWCS3 in the following form:
    $_SESSION[MM_Username].php in the "if
    > login succeeds" field.
    Thank you for reminding me. There's a mistake in the book,
    which I
    discovered over the Christmas period, so forgot to send to
    friends of ED
    for the errata page.
    Don't use $_SESSION[MM_Username]. Use $loginUsername instead.
    It then works.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • I NEED HELP! Making a flash email form using php.

    Hi, my name is Sean, I'm making a flash contact form using php for a website.
    I'm having a hard time with the php. Can some one help?
    Click here to download my source.

    Satellite A505-S6005 
    ACPI Flash BIOS version 1.40 for Satellite A500/A505 (PSAT6U/PSAT9U)
    When you execute the download file (sat6v140.exe) it decompresses into several files in the sat6v140 folder. 
    Among those, is the readme.txt attached, which explains how to create the CD.
       Burn a CD or DVD from an ISO file
    -Jerry
    Attachments:
    readme.txt ‏14 KB

Maybe you are looking for

  • "has encountered a problem and needs to close" 7de8_appcompat.txt

    Everytime I try to browse the internet I get "Firefox has encountered a problem and needs to close" the tech report shows C:\DOCUME~1\Owner\LOCALS~1\temp\7de8_appcompat.txt

  • Migratiing files from a MacBook Pro to a new iMac via firewire connection

    The firewire connection does not appear to work between my older MacBook Pro running 10.4.11 and my new iMac running 10.5.6. I've been trying to use migration assistant and it never gets passed "waiting for old mac to restart". I 've put the target m

  • After update to iOS 7.0, iTunes doesn't work on my iPhone 4

    The iTunes-App still opens on my iPhone - however, there's no content to be seen - I cannot search or download any items - it just stays blank. When I connect my iPhone to my laptop and open iTunes, there's no problem at all - my iTunes database of t

  • Special Ledger and RemoteCubes

    Hi Gurus, Someone has used RemoteCubes on Special Ledger?. Kind Regards, Juan C Bencomo

  • Output Device Redirector

    I have defined a class that calls my native methods that show up on my proprietray graphics device that implements these methods: void clearScreen(); // Writes the background color (black) from 0,0-Width,Height void setPoint(Point2D xy, Color c); //S