How To Save Modified Fields After query From The Database

I Have This Customer Information Form That's Sort of an Ordering Forms , I Made It By LiveCycle v9.0
And I Want To be able to search for Specific Record and Modify it and Save It Again to The DataBase
I believe That We All Saw The (( Data Connected Forms Presentation )) For Pual Guerette
At One Part Of The Presentation (Minute 0:26:00 specifically) When He Try To Search A Specific Record In the Database
And He Got all this annoying Messages Then The Record what He looking Shows up ; He Said That We No Longer able to Modify The Record After We Doing the Search
My First Question Is Why ???
Is there anyway After I got that Specific Record I Want from the Database I Can make my modification on it and update it Back in the DB.
OR i Have to Browse the whole DB looking for it Specially that I got this (ID Auto Increasment Number field Issue) Which leads me to ;
My Second Qustion;
Why I Can't just connect ''The Form Order Number'' to an Auto Increasment Number field in the DB
Obviously i can't, So Can I do Anything to achieve this goal ??
I Believe that we can Find some scripting to make that Happen 
I Will Be So Grateful If There Is Any Helpful Answer
FYI: I'm Not Java Expert So If There Is any Coding That's Can be Helpful Please POST ALL OF IT if you can ,,,,

Hi,
The information there is excellent and I would strongly recommend it.
I don't have any public database examples and I am not inclined to spend time preparing an example if you are not prepared to read up on the methods.
Stefan's site is the only link I have for databases.
Good luck,
Niall

Similar Messages

  • How do i play games after downloading from the app store on my laptop

    How do i play games after downloading from apps on my windows 8 laptop??

    iOS applications can't be run on a computer.
    (100210)

  • Displaying photographs , after fething from the database

    i want to display some photograph in to a swing application after fetching these photo graph from the database table , i dont know what swing component will be better for it and i m designing this in netbeans , so please assist me with that , how to go now and please note that it is dynamic so component should be like that :(. i m trying to create a photo album where i upload the multiple photograph first then i would like to show them each photograph will a text box when some one write some text in that text box and press enter i would like to save that text with that photo graph , I AM DONE WITH THE PHOTO UPLOADING TASK BUT DONT KNOW HOW TO DO THE REST LIKE DISPLAYING THE PHOTOGRAPH WITH THAT TEXT BOX

    1st of all, I will assume, since you are mentioning NetBeans so prominantly in your post, that you are trying to use the GUI developer in NetBeans--my advice to this would be: "Stop it. Stop it right now!" You need to learn how to develop a basic 2D application in Java manually--at your experience level the path you are on, using the GUI developer in NetBeans, will only lead you down a path of frustration, confusion, and eventual failure. It is a tool for the most minimal of developement or for the advanced user to use--IMO any other use of the GUI developer in NetBeans will only hinder your process.
    Suggestions on what to use so far have been very good--read them over and consider them.
    Here are my comments on the actual development:
    Since you are using a DB, you have a lot of versatility--are you saving a thumbnail or small scale of your images? I would suggest you do so to allow some type of preview so all of the full images do not have to be fetched from the DB every time.
    You should consider what is a basic element for your picture entry--picture and comment box? This can easily be implemented using 2 JPanels and a textbox--JPanel as a container for the 2nd JPanel seperate text box. You can make these into a class and populate them from the DB easily.
    Don't be afraid to get a pencil and piece of paper out and manually design what you want each photo entry to look like--a few minutes of planning on the front end will save you hours of frustration and redesign later down the line.

  • How do i store and fetch image from the Database(Access)

    i am facing one problem in inserting the image into the database.the steps i followed as
    1)i have created one database(access) as "Image" and into that one table as "Image" and field as "image"
    type of the field is ole object.
    2)i have inserted one image into the image field through "database.vi"
    3)now i am trying to get the image from the database by "Fetching Example.vi"
    4)it will succesfully retrieve the image from that field .
    5)but when i close the both programs and reopen those that time i am unable to get retrieve the image.
    Attachments:
    Add_to_Database.vi ‏78 KB
    Fetch_from_database.vi ‏67 KB

    I would like to suggest different approach for saving the images in the database.
    I was working on Medical Imaging Company. The way we save the images in real-time was by writing the name and path of the images to database.
    The images themselves where saved directly to disk.
    I don�t think that access is very good in taking care of GBytes of data.
    It happens some time that the database gets damage. If you have the images separately you can create fix procedure. (We had one).
    Good Lack,
    Amit Shachaf,

  • How to save only newly added elements from the trailing list

    Dear,
    I have a shuttle bean with left and right trailing lists.
    At some point I save the right trailing list content to DB. Then I add additinal elements to the trailing list. Trying to save again gives me oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key
    exception.
    What is the approach I can take to only save newly added elements from the shuttle?
    I am wondering if I can put the extra logic (what logic would that be - do I need to check the PK value that is already in the database?) in the AM method with which I save the shuttle like here (TicketID and ResponsibilityID are primary key)
    if (items != null)
    Object ia[] = items.toArray();
    for(int i=1; i<ia.length; i++)
    Row rowApproval = vo.createRow();
    vo.insertRow(rowApproval);
    rowApproval.setNewRowState(Row.STATUS_INITIALIZED);
    Row row = vo.getCurrentRow();
    row.setAttribute("TicketId",items.get(0));
    row.setAttribute("ResponsibilityId",items.get(i) );
    row.setAttribute("Status",items.get(i));
    or should I do something in the EO?
    Thank you
    Anatoliy

    Hi,
    Can you please clarify - do I have to make a loop? I mean for every record/element in the trailing list
    I run the VO (that I will create) VO.executeQuery?Yes you do need to execute the VO for every record....by passing the different parameter in each iteration.
    Regards,
    Gyan

  • How to pull in a 'Public Function' from the database.

    Hi,
    We're using OWB 11.1.0.7.
    I'm trying to import a public function into OWB from our database.
    When I go to the Global Explorer and right click on 'Functions' all I get are 'New' and 'Add/Remove Experts Here'.
    When I select 'Add/Remove Experts Here'. It just gives e an option to select the Public Project object.
    When I do, nothing happens.
    Selecting 'New' just wants me to create a function from scratch, which is not what I want.
    I just want to import a function into the 'Custom Functions' under 'Public Transformations' from my database.
    Anybody?

    Since function in your DB is specific to DB schema you need to import that function in OWB into module that is defined for that schema. After that you can copy/paste that function in Global Explorer custom functions.

  • How to compile a piece of code from the database

    I've created my own object navigator which is also able to view the code of a certain object. (HTML)
    I'm trying to create a function to compile this code again to the database.
    I've tried "execute immediate" but this has the downside that It can only parse 32kb of text and that every object I create in this manner will not compile correctly. ("success but with compilation errors")
    How can I compile my own objects?

    If your objects already exist in the database, try
    EXECUTE IMMEDIATE 'ALTER FUNCTION function_name COMPILE' ;
    Of course if you make changes, one of your options is to compile using SqlPlus (using a script).
    You could also create an external proc (Java or C) to compile the objects.
    I've created my own object navigator which is also able to view the code of a certain object. (HTML)
    I'm trying to create a function to compile this code again to the database.
    I've tried "execute immediate" but this has the downside that It can only parse 32kb of text and that every object I create in this manner will not compile correctly. ("success but with compilation errors")
    How can I compile my own objects?

  • How to save a new jpg image from the clipboard

    It seems like it should be simple but I can't find anywhere this has been documented.
    I have an image on the clipboard and simply want to save it as a new image.
    I've been using Image Events and I can get a file saved but it's always empty.
    Can someone please post some sample code to do this?

    I'm sure there's a more elegant way to script this, but here is a script I just wrote real quick that should at least give you a start to an alternate way of dealing with clipboard data without having to launch Preview...
    <pre style="width:630px;height:auto;overflow-x:auto;overflow-y:hidden;"
    title="Copy this code and paste it into your Script Editor application.">--see if clipboard is a file
    set filePath to ""
    try
    set clipPath to the clipboard as «class furl»
    set filePath to clipPath as alias
    end try
    if filePath is not "" then
    set newFile to getFileName("copied")
    do shell script "cp " & quoted form of POSIX path of filePath & ¬
    space & quoted form of POSIX path of newFile
    return --end
    end if
    --see if clipboard is image data
    set jpegDATA to ""
    try
    set jpegDATA to the clipboard as JPEG picture
    end try
    if jpegDATA is not "" then
    set newFile to getFileName("new")
    set theFile to open for access newFile with write permission
    write jpegDATA to theFile
    close access theFile
    return --end
    end if
    beep 1
    display dialog ¬
    "No file or image data found on the clipboard." with icon ¬
    note buttons {"Whatever"} default button 1
    on getFileName(type)
    choose file name with prompt ¬
    "Select a name and location for the " & type & ¬
    " jpeg:" default location (path to desktop) default name ¬
    type & ".jpg"
    end getFileName</pre>
    Hope this helps...

  • How to save modified Virtual Compnents to database

    I am wondering if there is a way to save modified Virtual Components back to the database as a new component model? I have not seen a way of doing this. For example, if I create a Relay using the Virtual Relay, is there a way to save my newly created Relay as a new Part in my database for future use?
    Also, while I am on this subject, if I download someone else's schematic with a part model that is not in my database, how do I go about saving that particular part to my database?
    Thank you very much in advance for any reply or suggestion you may have.
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day

    Hi Lacy,
    Any interactive component will not allow you to save back to your database for the purpose of simulation. if you only care about the create a schematic you can always use the symbol by going through the component wizard.  Interactive components referred to component that changes state while simulating, for a relay you see the symbol toggle on the screen as you simulating the circuit.  The models for these components have special code and when you save them to your database the engine no longer recognize the code therefore will not work.
    If someone send you a schematic you can double click on the component and there should be a "save to database" option.  This feature was added in V8 if I recall correctly, double check for yourself if you have this option.  If you don't have this feature, you can extract the netlist by selecting Transfer-->Export netlist and you can open the file with Notepad, in the netlist file you will find the model which you can copy and create a new component yourself.
    Tien Pham
    EWB Support
    Tien P.
    National Instruments

  • Is it possible to read , send emails from the database in oracle8.

    Hi,
    My present project needs me to send emails from the database through procedures. There is an oracle package UTL_HTTP in oracle8 which could be used to read emails from database. So kindly tell how to go about sending an email from the database. Is this feature available in Oracle8i.
    Thank you.

    Okay , Here's my Javascript wgich is in an onload process.
    Javascript variable addr_str displays the correct result.
    My hidden field is called P101_CHECKVAL.
    <html>
    <title>CodeAve.com(JavaScript: Display All URL Variables)</title>
    <body bgcolor="#FFFFFF">
    <script language="JavaScript">
    <!--
    // Create variable is_input to see if there is a ? in the url
    var is_input = document.URL.indexOf('P101_CHECKVAL:');
    // Check the position of the ? in the url
    if (is_input != -1)
    // Create variable from ? in the url to the end of the string
    addr_str = document.URL.substring(is_input+1, document.URL.length);
    // Loop through the url and write out values found
    // or a line break to seperate values by the &
    for (count = 0; count < addr_str.length; count++)
    if (addr_str.charAt(count) == "&")
    // Write a line break for each & found
    {document.write ("<br>");}
    else
    // Write the part of the url
    {document.write (addr_str.charAt(count));}
    // If there is no ? in the url state no values found
    else
    {document.write("No values detected");}
    -->
    </script>
    </body>
    </html>
    Everytime I put the HTML_get code into the javascript, it basically tells me I have an error on the page. So what exactly do I put that sets P101_CHECKVAL equal to the value of addr_str?

  • Pulling a PDF file from the database

    How would I display a pdf file from the database, or should I convert it to an image and if so how do I convert it into an image?

    Hi Phil_Kenya,
    Some samples here:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/db1556be-0f71-41cb-92de-b95f1e1ca3a3/how-can-i-load-a-pdf-file-in-my-database-filemdf-in-aspnet-web-project?forum=csharpgeneral
    http://stackoverflow.com/questions/7747796/displaying-pdf-files-in-a-web-page-from-a-sql-database-directly-without-needing
    I suggest you post this issue to the language development forum like above case, I think you would get more dedicated support.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make non editable field after requestor created the shoping cart

    Hi,
    i need to make non editable field (Price field) after requester created the shooping cart.The field should be  non editable only for requster .
    this i need to make when workflow triggers when the buyer sends  back the shopping cart to requester.
    one solution which i found:depend on the status of the shoping cart
    but i dont know whether it is correct way.
    if not please suggest me the solution.

    Hi,
    You can implement the BADI" BBP_UI_CONTROL_BADI".
    You can check for the role of the user who has logged in(e.g. for user REQUESTER,there will be a distinct role to idnetify that the user is a requester) and then acc set the display properties for the field PRICE.
    For sample code pls refer the foll links:
    Sample code for BBP_UI_CONTROL_BADI
    Re: Hiding Shopping Cart Fields in SRM 3.0
    Re: How to Hide the attributes from template BBPSC01?
    Re: How to validating total value in shopping cart
    Re: Price filed in Shopping cart should be in display mode
    BR,
    Disha.

  • How to Launch a Query from the Easy Access Menu

    Hello Experts,
    Once I have created, saved and tested my query how can I set it up so that my users can either type in a transaction at the Easy Access Menu or select my query from the Easy Access Menu and launch the query input screen that displays fields for:
    Reporting Period
    Selection Criteria - Personnel Number, Employment Status, Personnel Area etc.
    Program Selections - company code
    Output Format
    Thanks.
    Regards,
    Jeanette

    Hello Jeanette
    You may refer to following thread
    Assign transaction code to SAP Query (created via SQ01)
    Hope this helps
    Best Regards
    Reddy

  • How do you access updates to apps from the App store after changing to a new ID because the password on the old ID was changed and you don't know what it is now?

    How do you access updates to apps from the App store after changing to a new ID because the password on the old ID was changed by the former husband and you don't know what it is now?  And you set up your own new ID and account but can NOT access the updates, from the App store for the many apps that you already have, because they require that you sign in with that former now inaccessible ID and account and password?  Call it a problem of modern times and changing relationships, if you want to be charitable.

    So I guess it will only be new apps that I download that are allowed to give me their updates while 13 updates wait for me on an ID I can no longer access.
    Yes...  sorry.
    In the future, if need be, you can re download your purchases for free  >  Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Good rule of thumb is to back up your purchases regardless  >  Mac App Store: Backing up your app purchases

  • How to call a query from the backing bean ?

    Hi all,
    Another question for you guys :
    I made a jspx page with an input form and a submit button.
    When I click the submit button, the action my_action in my backing bean is executed.
    This is the code :
    public BindingContainer getBindings() {
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public String my_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("EmployeesView");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    I hoped that the query 'EmployeesView' was executed in this way, but I get the following exception :
    java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding cannot be cast to oracle.binding.OperationBinding
    So how should I execute the query EmployeesView ?
    Second part of the question : What if I typed the name an employee in my form, and I want to
    execute a query that selects all the Employees with that name ?
    How do I make a query with a variable as input in the WHERE clause ?
    Thanks in advance.
    Edited by: Facehugger on 7-apr-2010 11:15

    I'm still trying all the stuff you guys says, but still no result.
    This is my backing bean :
    +// the button action+
    +public String my_action()  {+ 
    +// get the selected rows from the multiselect table and store the objectid's in an String array+
    RowKeySet rks = graph_table.getSelectedRowKeys();
    Iterator itr = rks.iterator();
    Object key;
    int nbr_objects = 0 , i = 0;
    if (rks.size()>0)  nbr_objects = rks.size();
    +String[] objectid = new String[nbr_objects];+
    while(itr.hasNext())
    +{+
    key = itr.next();
    graph_table.setRowKey(key);
    Object o = graph_table.getRowData();
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) o;
    Row row = rowData.getRow();
    +objectid[i] = row.getAttribute("Objectid").toString();+
    i+;+
    +}+
    +// now get all the x and y values for these objectid's from the database out of the table history.+
    BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
    for (int j=0 ; j<nbr_objects; j+){+
    +// get X and Y values for object number j+
    DataPoints history = new DataPoints();
    OperationBinding operationBinding = bc.getOperationBinding("retrieveHistory");   ===> operationBinding stays NULL ???+
    +operationBinding.getParamsMap().put("OBJECTID", objectid[j]);+
    Object retVal = operationBinding.execute();
    +// ==> retVal should contain a List of all X and Y values for the provided objectid.+
    +// while (retVal has values)+
    +// {+
    +// List_of_x_values.add(retVal.valueX);+
    +// List_of_y_values.add(retVal.valueY);+
    +// }+
    history.add(List_of_x_values);
    history.add(List_of_y_values):
    +// call the soap method to do some calculations+
    methodname.forecast(history);
    +}+
    +}+
    In my application module :
    public void retrieveHistory(String objectid) {
    getHistory().setWhereClause("OBJECTID = '" + objectid + "'");
    System.out.println("current query : "+getHistory().getQuery());
    getHistory().executeQuery();
    public ViewObjectImpl getHistory() {+
    return (ViewObjectImpl)findViewObject("History");+
    The query for the VO History : SELECT * FROM HISTORY
    Please anyone ?
    Edited by: Facehugger on 9-apr-2010 14:19

Maybe you are looking for

  • Trouble with connecting Mac with printing Network of PCs

    Massive Frustrations. I am trying to connect my MacBook Pro with OS X to my existing PC Network. I matched up the workgroup name and the sharing folders seems to be working. The printers are listed and everything seems to be running, but when I tried

  • How do I define memtoleave parameter with -g switch?

    hi out there On our Windows 2003 servers w. sp1 and running MS SQL Server 2000 w. sp4 we see from time to time that we get this error "cannot allocate 64k continous memory" or "SQL Server could not spawn process_loginread thread" which could be cause

  • Problem Creating Postscript File with FrameMaker 7.2

    My usual book easily goes more than 500 pages with lots of graphics (eps) and text. I am trying to create pdf. My problem is I am unable to print book in one shot - always received error messages. If I break the book and print selected files, I am ab

  • Clicking on Firefox or Thunderbird icons to open the programs opens them twice

    I have also noticed it happening lately when clicking on my Password Safe icon. 32 bit Vista, Firefox 3.5.2. == This happened == Every time Firefox opened == Several weeks ago.

  • Best way to disconnect from external screen?

    This problem has been on-going, but I am only now asking for help. It has recurred over now 3 reinstallations of 10.5. I have an external (Dell) screen, and I run my MBP (Core Duo 2GHz) with the internal screen closed. I have not been able to figure