Display the records in forms when creating in a database

hi to all
i have a problem in forms, run in c\s using form6i..
How can i display the records when i create a records to database and automatically display in forms when i open the forms or when creating a records?
example:
in form#1 , this is where i create records, i create records =A it will insert in database .when i update record A. I change A to B..then form#2 will also change to B and appear or dispaly in forms.
in form#2, this has also a text item, when i open this form, it will appear the A records here, it will also update....
what should be the best trigger to used and how to do this? plzzz help
tnx in advance
mica

How can i display the records when i create a records
to database and automatically display in forms when i
open the forms or when creating a records?
example:
in form#1 , this is where i create records, i create
records =A it will insert in database .when i update
record A. I change A to B..then form#2 will also
change to B and appear or dispaly in forms.Yours question is not clear to me , you didnt mention forms A and B contain the same underlying table or both have diffrent underlying table.
My assumption both have diffrent table if its the case then use MERGE DML (introduced within 9i) and get refreshed it by TIMER (execute_query) within forms B.
You need to clarify more what you wana achieve.
Khurram

Similar Messages

  • Webutil-Problem (not the usual "PRE-FORM", "WHEN-NEW-FORM-INSTANCE" etc.)

    Hello,
    We have an application with lots of modules, where we use webutil to create text files on the client for data exports. The export is called in a WHEN-BUTTON-PRESSED Trigger and usually works fine, but we have the following problem:
    If two modules, where webutil is used, are opened at the same time and one module is closed, webutil does not function anymore in the other module. If we then try to create a text file after closing on module, we get the following error-message:
    Oracle.forms.webutil.file.FileFunctions bean not found.
    WEBUTIL.FILE.FILE_SELECTION_DIALOG_INT will not work.
    It’s not only the FileFunctions bean, all other webutil functions do not work also anymore in the remaining module.
    This is not the usual “PRE-FORM”, “WHEN-NEW-FORM-INSTANCE” etc. Webutil-Problem.
    As I said before, webutil works, but when we close one module with webutil used, it does not work in another open module anymore.
    Any Idea, why this happens and how to solve the problem???
    Kind regards
    Udo

    Hello,
    Yes, both modules work in the the same session and session is not disconnected, when one of the modules is closed.
    Webutill.pll is attached on both forms and all forms in our application using webutil usually work fine with the exception mentioned above.
    It's a bit difficult to explain, what happens in our application, but I try:
    Our application consists of modules that call other modules with call_form or go_form , when the module is open, all in the same session. "Global" Parameters are passed with SHARE_LIBRARY_DATA. Usually the calling forms stays open.
    In the following constellation webutil does not work anymore at a certain point :
    - Open module A (with webutil attached) and webutil works
    - Then module A calls module B (with webutil attached) and webutil works in module B
    - GO_FORM (module A) and webutil still works (while module B is still open)
    - CALL_FORM (module C) (in our case webutil is not attached to this module, but I think that is not the problem) module C closes module B (while module A stays open)
    - After making a choice in module C, module C closes itself with EXIT_FORM.
    - Go back to the open module A, make a new query with the choice made in module C and webutil does not work anymore in module A
    Regards
    Udo

  • Where is the Record Update Form Wizard in DWCC?

    Trying to follow online help but it doesn't relate to DWCC.   A tutorial I found for CS6 suggests that it's in Insert > Data Objects > Update Record > Record Update Form Wizard but in DWCC there is no "Data Objects" option in the Insert menu.
    By the way, I'm looking for the wizard not the straight Update behaviour which I'm aware is in the Server Behaviours panel.
    Thank you.
    NJ
    EDIT:  Just spoke to Adobe "support" by chat about this and they were absolutely useless. The directed me to the article that I've highlighted above as being for CS6, which isn't helpful because "Data Objects" isn't in the Insert menu in DWCC, and when I pointed that out they gave me this link to try:  http://www.adobe.com/devnet/
    Seriously?  Is this the best I can hope for from Adobe support?  It was clear that the operative was just doing Google searches for the answers as opposed to actually knowing the software that they represent.  Really disappointing support.

    Hi Jon,
    "Database functionality was removed from DWCC."  - I use database functionality a lot so this is a real let down.  Why has it been removed when it seems so integral to a lot of modern websites and web applications?
    I've got the Legacy Extension, or Depracated_ServersBehaviours panel extension, but that does not bring back the Record Update Form Wizard.
    Tutorials as far as CS6 reference the Record Update Form Wizard but I'm guessing that it has just been completely dropped in DWCC - not that anyone from Adobe know that one way or another.  The official "support" I received earlier was a complete joke (some guy doing Google searches whilst saying - "I'm just verifying your account").
    I'm quite handy with Google myself so maybe there's an opportunity for me to move into a career as an Adobe support technician.
    I'll have to find a third party extension then I guess.  Thanks for the advice.

  • Displaying the records records which are coming more than once

    hi
    create table temp(comp_id int,branch_id int);
    comp_id | branch_id
    ---------+-----------
    1000 | 1
    1000 | 1
    1000 | 2
    1000 | 2
    1000 | 3
    2000 | 1
    2000 | 1
    2000 | 2
    2000 | 3
    how can i write a query which displays the records records which are coming more than once on the basis of fields comp_id and branch_id. e.g. 1000 | 1 should be displayed because it is coming more than once. 1000 | 3 should not be, because it has a single entry.

    select comp_id, branch_id, count(*)
    from temp
    group by comp_id, branch_id
    having count(*)>1
    Please note this forum is not a SQL class and it is not the place to have your homework done.
    Sybrand Bakker
    Senior Oracle DBA

  • How do I keep the website's icon when creating a desktop shortcut as opposed to the firefox logo?

    When I click a website's icon in the address bar in Firefox and drag it to my desktop to create a shortcut to said site, the shortcut is created with Firefox's icon. I want to know how to keep the site specific icon when creating these shortcuts. I know that once the shortcut is created you can go into properties and choose from several generic icons but I don't want those cheesy icons. Can anyone help?

    If you drag a link or favicon on the left end of the location bar onto the desktop to create an internet shortcut then that shortcut gets the icon of the default browser.<br />
    If you want a different icon (favicon) then you have to assign that icon yourself to the desktop shortcut (right-click: Properties).<br />
    You can usually get the favicon if you append "favicon.ico" to the main domain of a website (e.g. http://www.mozilla.com/favicon.ico ) to display the favicon in a tab and save that image to a folder or see if you can find it in "Tools > Page Info > Media".<br />

  • Printer preview do not display the newest PO form

    Hi experts,
    I have encountered a problem in SRM EBP. When I changed a PO form's delivery address, and then print
    the preview button, the pdf outputer do not display the newest PO form with the updated address, instead
    with the old address. While if I wait for about 1 hour or just reenter the display po menu, the preview
    displays the newest PO form. So my question is does it because the program which calls the smartforms
    read data from cache? And when a smartform is used in a web application, can I just set some attributes
    of the form to avoid the problem? Thanks in advance.

    Hi Michael,
    Thank you for your answer.  I have debuged the calling form process, the actual situation is wired.
    When I changed the ship-to-address on the web, the adrc is updated immediately. But the connection
    between the po and the ship-to-address is not updated. So the output preview just do what it should do,
    read data from the database then display it.  My question is why when the adrc is updated, then
    connection between the po and the ship-to-address is not updated immediately, and when is the exactly
    time that the connection can be updated.

  • Does LabView display the Bluetooth signal strength when running on Windows XP?

    I am interested in getting the Bluetooth signal strength in a Windows XP application. I would like to use the Microsoft bluetooth drivers for my application. First, Does LabView display the Bluetooth signal strength when running Windows XP? Secondly, If it does what Windows API(s) does it use to get access to this information?

    Hi,
    It does not seem like the Bluetooth VIs allow you to display the signal strength and I can definitly enter that as a product suggestion for the Bluetooth functionality in LabVIEW. For now, I would suggest going through the Windows API and searchingn for RSSI - Received Signal Strength Indication. I did not have a lot of luck in my searches through Microsoft, but you can give that a shot and post back with any more headway you make.
    Also, you can try going to SourceForge.net. Just doing a search for Bluetooth and RSSI popped up several hits of code that has been developed for Bluetooth applications. Then, you can see about creating a DLL call to a particular function that will return RSSI information to you, to which
    you can then use in LabVIEW with the Call Library Node.vi.
    Hope this helps and best of luck!
    Kileen C.
    NI

  • How can I maintain the classification in UI when creating a new BP?

    SAP CRM 2007 (UI)
    Hi,
    In SAP GUI the classification can be maintained in tab “classification”.
    How can I maintain the classification in UI when creating a new BP?
    Thanks for your support.
    Regards,
    AV

    Hi Anand,
    thanks for your prompt answer.
    By default all ship-to-parties are assigned to classification “Customer”. How can we assign a different classification to ship-to-parties in UI? The view “Account classification” seems to be different from the tab “classification” in SAP GUI.
    Regards,
    AV

  • DISPLAY THE CALENDER IN FORMS 6I

    PLS EXPLAIN HOW TO DISPLAY THE CALENDER IN FORMS 6I. ALSO I WANT TO PICK A DATE TO FIELD FROM CALANDER
    THANKING YOU
    REGDS, LAKMAL

    Hi Acpoh,
    Please DON'T SHOUT.
    I'm a bit confused. In the Subject you want to know about calendar in forms 9i. In the body you want to know about calendar in forms 6i.
    Using the "Search forum" function with the search terms "show calender 6i" I got 1500 answers. This (1500) seems to be the maximum number of results returned, so maybe there are more. If you in reality meant 9i, make a search yourself with the above search terms and substitute 6i with 9i.
    Maybe the information in this thread will fix your problem:
    Calendar in Forms 6i
    You will get answers a lot quicker if you use the "Search forum" function to see if the problem you have has already been discussed (and answered), before you post your question.
    mvh Christian

  • When using Adobe Photoshop Elements, is it legal to use shapes etc. (displayed in 'Artwork and Effects') when creating a product to be sold? Thank you.

    When using Adobe Photoshop Elements, is it legal to use shapes etc. (displayed in 'Artwork and Effects') when creating a product to be sold? Thank you.

    Thank you very much for answering my question. Have a great day.

  • Outlook 2007 Meeting Invite show optional attendees on form when creating the meeting

    Hi - When I create a meeting I see the "to" box and the list of attendees - but cannot differentiate on the form who is required vs who is optional.  How do I display the attendees and their role as they are displayed in the pop up to select
    attendees.. meaning there is a line for required, a seperate line displaying optional, and a seperate line displaying resources.
    thank you.

    Hi,
    In Outlook 2007 when we are creating a meeting, we can't differentiate between the Required Attendee and the Optional Attendee directly from the "To" field. Instead, we need to switch to Scheduling Assistant to see the difference:
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to clear the previous  filter text when creating new record??

    Dear All,
    my question is i i created table having filter and sorting.
    when i m searching data through filter text data is coming but i want to clear that text(filter text) when i am creating new record.
    for my case when i am creating new record all blank field is coming but in that filter text box previous data is coming which one i was searching.
    but i need when i will create a new record tat filter text should be clear.
    Thanks
    Damby

    Damby, please tell us your jdev version.
    Check my blog http://tompeez.wordpress.com/2011/10/29/jdev-how-to-reset-a-filter-on-an-aftable/ you can add this to the button you use to create the new record.
    Timo

  • Display multiple records in forms 6i

    hi every body
    will anybody plz tell me how to display multiple records in tabular view of forms 6i.for example say i have a field in a block of a form.and i have to display multiple records in another block in the same form depending upon the value of the mentioned field in the above block.
    will anybody help me??

    Why are you manually populating your data block when Oracle Forms will do this for you? Oracle Forms is tightly integrated with the Oracle Database. You should just base your Forms data block on the ISSUED table. Then you can filter the records displayed by setting the WHERE Clause property to ID = :BLOCK1.ID or you can dynamically set it with code using the SET_BLOCK_PROPERTY('BLOCK_NAME',DEFAULT_WHERE,'ID = :BLOCK.ID') built-in.
    Then, the only code you would need in your Button's When-Button-Pressed trigger would be:
    BEGIN
      GO_BLOCK('BLOCK2');
      EXECUTE_QUERY;
    END;This is the point of InoL's reply. When a Form is based on a table, you can use the "Enter Query" and "Execute Query" built-in features to query and display records.
    Sounds like you might be new to Oracle Forms development. If that is the case, you might want to go through a few Forms Tutorials to learn what Forms can do for you. ;) Just search the internet for "Oracle Forms Tutorials" and you will find many!
    Craig...

  • Please help me! display the record from the database.

    Hi, all, please help me with the following question. I run my code on the web, the record display on the screen, but when I run again, even I did not put any data into the "memo form", the system display the previous record again which I do not need to post again. Could you please tell me how to correct the code?
    <%@ page language="java" contentType="text/html; charset=Shift_JIS" %>
    <%@ page import="beanYama.*,java.sql.*,java.util.*,java.text.*" %>
    <HTML>
    <HEAD>
    <TITLE>Form Example</TITLE>
    </HEAD>
    <BODY BGCOLOR="#ffffcc">
         <%!      String userid="";
              String memo_create_day="";
              String memo="";     
         %>
         <% if (request.getParameter("userid")==null && request.getParameter("memo_create_day") == null
              && request.getParameter("memo") == null) { %>    
         <LEFT>
         <H2>���`�� �� ����</H2>
         <FORM METHOD="GET" ACTION="memocorrect.jsp">
         <P>
              ���`��1��: <input type="text" name="userid" size=26>
         <P>
              ����: <input type="text" name="memo_create_day" size=26>
         <P>     
              ����: <input type="text" name="memo" size=100>
         <P>
              <input type="submit" value="Submit">
         </FORM>
         </LEFT>
         <% } else { %>  
    <%
    userid = request.getParameter("userid");
    memo_create_day= request.getParameter("memo_create_day");
    memo= request.getParameter("memo");
    %>
    <% } %>
    <%
         boolean proceed = false;
              if(userid != null && memo_create_day != null && memo != null)
                        proceed = true;
         Class.forName("org.gjt.mm.mysql.Driver");
         Connection conn=DriverManager.getConnection("jdbc:mysql://localhost/progress?user=ntjs&password=ntjs&useUnicode=true&characterEncoding=Shift_JIS");
         String sql = "insert into zhangmemo (userid,memo_create_day,memo) values (?, ?, ?)";
         PreparedStatement stmt = conn.prepareStatement(sql);
         if (proceed) {
         stmt.setString(1, userid);
         stmt.setString(2, memo_create_day);
         stmt.setString(3, memo);
         stmt.executeUpdate();
         if (userid==null && memo_create_day==null && memo==null) {
         out.println("<b>Please enter your memo</b>" + "</b>&nbsp"+"<b> </b>");
         stmt.close();
         conn.close();
         else {
         Statement stmt1=conn.createStatement();
         ResultSet rsq=stmt1.executeQuery("SELECT userid AS userid1, memo_create_day AS memo_create_day1, memo AS memo1 FROM zhangmemo");
         while(rsq.next()){
         out.println("<b>���`��:" + rsq.getString("userid1")+ "</b>&nbsp"+"<b> </b>");
         out.println("<b>����:" + rsq.getString("memo_create_day1")+ "</b>&nbsp"+"<b> </b>");
         out.println("<b>����:" + rsq.getString("memo1")+ "</b>&nbsp"+"<b> </b>");
         stmt.close();
         stmt1.close();
         conn.close();
    %>
    </BODY>
    </HTML>
    Thanks a lot!
    Nina

    1. Please learn JSP Coding standards. Your code is a mess.
    2. It may be because you are setting your String variables to "" empty string which is not the same as null. Try doing the following...
    <HTML>
    <HEAD>
    <TITLE>Form Example</TITLE>
    </HEAD>
    <BODY BGCOLOR="#ffffcc">
    <%
      String userid = request.getParameter("userid");
      String memo_create_day = request.getParameter("memo_create_day");
      String memo = request.getParameter("memo");
    %>
    <% if userid == null && memo_create_day == null
    && memo == null) { %>
    <LEFT>
    <H2>���`�� �� ����</H2>
    <FORM METHOD="GET" ACTION="memocorrect.jsp">
    <P>
    ���`��1��: <input type="text" name="userid" size=26>
    <P>
    ����: <input type="text" name="memo_create_day" size=26>
    <P>
    ����: <input type="text" name="memo" size=100>
    <P>
    <input type="submit" value="Submit">
    </FORM>
    </LEFT>
    <%
    boolean proceed = false;
    if(userid != null && memo_create_day != null && memo != null)
    proceed = true;
    Class.forName("org.gjt.mm.mysql.Driver");
    Connection conn=DriverManager.getConnection("jdbc:mysql://localhost/progress?user=ntjs&password=ntjs&useUnicode=true&characterEncoding=Shift_JIS");
    String sql = "insert into zhangmemo (userid,memo_create_day,memo) values (?, ?, ?)";
    PreparedStatement stmt = conn.prepareStatement(sql);
    if (proceed) {
    stmt.setString(1, userid);
    stmt.setString(2, memo_create_day);
    stmt.setString(3, memo);
    stmt.executeUpdate();
    if (userid==null && memo_create_day==null && memo==null) {
    out.println("<b>Please enter your memo</b>" + "</b> "+"<b> </b>");
    stmt.close();
    conn.close();
    else {
    Statement stmt1=conn.createStatement();
    ResultSet rsq=stmt1.executeQuery("SELECT userid AS userid1, memo_create_day AS memo_create_day1, memo AS memo1 FROM zhangmemo");
    while(rsq.next()){
    out.println("<b>���`��:" + rsq.getString("userid1")+ "</b> "+"<b> </b>");
    out.println("<b>����:" + rsq.getString("memo_create_day1")+ "</b> "+"<b> </b>");
    out.println("<b>����:" + rsq.getString("memo1")+ "</b> "+"<b> </b>");
    stmt.close();
    stmt1.close();
    conn.close();
    %>
    </BODY>
    </HTML>

  • Internet Explorer7 cannot display the Webpage in forms 10.1.2.3

    Hi all,
    I have installed forms 10.1.2.0.2 to my laptop under Windows Vista Home Premium and followed the following steps :
    1- changed virtual memory to (minimum of 2048 and maximum of 4096)
    2- I updated forms 10.1.2.0.2 it to forms 10.1.3 using pathch 3 (patch ID 5983622)
    3- I changed the application server Url in forms builder by choosing Edit, preferences, runtime and click on "Reset to default" button and added ?config=jpi at the end of the line.
    when i run the form I got the message "Internet Explorer cannot display the Webpage"
    when I called the link http://Computer_name:8889/forms/frmservlet?config=jpi
    I got a message asking me to allow downloading java plug-in 1.4.2 ( which I know that it is not certified with Vista), So i refused downloading and updated the formsweb.cfg file as Steve Cosner said in his thread Vista Jinitiator problem
    and added these new lines to the formsweb.cfg file:
    [[jdk15]]
    jpi_classid=clsid:CAFEEFAC-0015-0000-FFFF-ABCDEFFEDCBA
    jpi_codebase=http://java.sun.com/update/1.5.0/jinstall-1_5_0_12-windows-i586.cab#Version=1,5,0,12
    jpi_mimetype=application/x-java-applet;jpi-version=1.5.0_12
    jpi_download_page=http://java.sun.com/javase/downloads/index_jdk5.jsp
    baseHTML=basejpi.htm
    baseHTMLjinitiator=basejpi.htm
    baseHTMLjpi=basejpi.htm
    baseHTMLie=basejpi.htm
    When i run the form I got the same error message "internet Explorer cannot display the Webpage "
    Again I called the link : http://Computer_name:8889/forms/frmservlet?config=jpi
    then I got a message asking to allow loading and installing JRE 1.5.0_12 , and I allowed downloading and installation
    After all of this, the form doesn't run and I get the same message "Internet Explorer cannot display the Webpage "
    Is this a forms related problem or an Internet Explorer problem
    Please help
    Mostafa Abolaynain
    Edited by: Mostafa Abolaynain on Jun 5, 2009 12:06 AM

    jemar98 wrote:
    We have a custom application built alongside Oracle Ebusiness Suite 12.
    Launch a form from the Menu Navigator
    Click in any field in the form
    Focus does not change to the field that was clicked
    Focus can be retained by pressing any keyIs this issue with all custom forms or specific ones?
    Did you use the TEMPLATE.fmb file when building your custom forms?
    Can you find any errors in the JRE Console Window?
    Please obtain the FRD log file and see if you can capture more details about the error -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FRD+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

Maybe you are looking for