Forms 6i update and query question

Hello world
I created a form in Forms 6i for the purpose of upgrading the existing data in my database and add data to empty columns in the same table. To create this form, I used the forms Assistant. In this form, I have 2 blocks of data that are associated as follows:
BACK. SCHOOL_ID = UNO. SCHOOL_ID AND BACK. CLASS_ID = UNO. CLASS_ID. My first block is the main block called UNO and contains the following items: 1) teacher_id, grade 2), class_id) 3, 4) class_name. Teacher_id I bring when the user enters their credentials before entering the form. Class_id group has a record where I show all classes offered by this user. My second block called DOS is the retail block and have the following: 1) class_id,) 2 teacher_id, student_id) 3, 4.) grade_q1, 5) grade_q2, 6) semester_ex1, 7) grade_q3, 8) grade_q4, 9) semester_ex2, semester_1, 10)) 11 semester_2, 12) Final. Rules of forms to create a form that is used to update records in a table, says that the master block must be marked 'NO' in the option delete, insert and update. I have this as it should.
My problem is that every user after the update a record, should continue to update other classes that belong to the same user, but when that user tries to go to class_id in the main block and run the search option by pressing F9, the user receives a message saying that this article is protected from editing, and the only way it works is that if you press on the button F7 to enter a query, then F8 to run this query, but the user must re-enter the new user.
Is it possible to allow the user to find another class which belongs to the same user without having to retype your credentials again?

Hello

He or she has to do, is use the arrows keys to continue searching for the other classes.

Why not use Lov...?

Create KEY-LISTVAL trigger for the United Nations. CLASS_ID with code similar to the following:

IF SHOW_LOV ('LOV_NAME') THEN  -- CLASS_LOV
        SET_BLOCK_PROPERTY ('DOS', DEFAULT_WHERE, 'CLASS_ID= ' || :UNO.CLASS_ID);

     GO_BLOCK ('DOS');

     EXECUTE_QUERY;

ELSIF SHOW_LOV ('LOV_NAME') THEN  

......

END IF;
 

Re: Show_lov in Enter query mode does not.

I hope this helps...

Kind regards

Abdetu...

Tags: Oracle Development

Similar Questions

  • Forms v4.5 and FFI question

    All,

    We have a legacy in Forms 4.5 application. It is going to be retired soon, but I need urgent change in its current form.

    We have a C program that performs certain file operations. I have the
    the source code and can change and compile it in a dll. The problem
    Is that Forms 4.5 seems not to find it and guard pick up the old man
    one. I put the dll in the same directory as the fmx files, but no joy.
    Is there a way I can tell where he seeks forms and even how I can
    specifically, force it to use and load a specific file?
    Where ora_ffi.find_library and ora_ffi.load_library alike?

    This is the code of the PL/SQL procedure body
    FFI_E2SBASE PACKAGE BODY IS

    /*

    Define the different handles

    */

    lh_ffie2sb ora_ffi.libHandleType;

    fh_e2sbase ora_ffi.funcHandleType;

    /*

    Define internal versions of the functions

    *

    * The interface function, notice how the C pointers correspond to variables IN OUT

    */

    FUNCTION i_e2sbase (funcHandle IN ora_ffi.funcHandleType,

    e2sbase IN OUT VARCHAR2,

    BuffLen IN THE PLS_INTEGER)

    RETURN PLS_INTEGER;

    -interface for the function internal interface C

    PRAGMA INTERFACE (C, i_e2sbase, 11265);

    -The body of the Externalised function

    FUNCTION e2sbase (e2sbase IN OUT VARCHAR2, BuffLen IN OUT PLS_INTEGER) RETURN PLS_INTEGER IS

    /*

    * Declare the buffer supplemented up to the maximum possible length of the string

    * It's a var In Out e2sbase may already have some

    * content

    *

    * This RPAD guarantees that the VARCHAR string occupies contiguous memory

    */

    e2sbase_l VARCHAR2 (600): =.

    RPAD (SUBSTR (NVL (e2sbase,' '), 1,600), 600, CHR (0));

    /*

    * Buffer memory for the Int without filling required here.

    */

    BuffLen_l PLS_INTEGER: = BuffLen;

    RC PLS_INTEGER;

    BEGIN

    /*

    Dial the internal version of the function with the local buffers

    */

    RC: = i_e2sbase (fh_e2sbase, e2sbase_l, BuffLen_l);

    /*

    * Reset the real variables with the contents of the buffer

    */

    e2sbase: = substr(e2sbase_l,1,BuffLen_l);

    BuffLen: = BuffLen_l;

    RETURN (rc);

    END;

    /*

    * Package Body Block, handles loading the DLL into memory and recording of the

    * Functions

    */

    BEGIN

    BEGIN

    /*

    * Try to find the already loaded DLLS

    */

    lh_ffie2sb: = ora_ffi.find_library('e2sbase.dll');

    EXCEPTION WHEN ora_ffi. FFI_ERROR THEN

    /*

    * Not found Ok lets load

    * The argument null to LOAD the library is the location of the DLL, so if

    * the DLL is not in

    * the working DIR or not in the path somewhere we might want to

    * put something here.

    */

    lh_ffie2sb: = ora_ffi.load_library(,'e2sbase.dll');

    END;

    /*

    * Now sign up for the e2sbase

    */

    fh_e2sbase: = ora_ffi.register_function (lh_ffie2sb,

    "e2sbase", ora_ffi. C_STD);

    ora_ffi.register_parameter (fh_e2sbase, ORA_FFI. C_CHAR_PTR);

    ora_ffi.register_parameter (fh_e2sbase, ORA_FFI. C_INT_PTR);

    ora_ffi.register_return (fh_e2sbase, ORA_FFI. C_INT);

    EXCEPTION

    /*

    * Error handler FFI generic to unwind the stack TOOL_ERR

    */

    WHILE OTHERS THEN

    for iCounter in 1.tool_err.nerrors

    LOOP

    message (tool_err.message);

    tool_err.pop;

    END loop;

    END FFI_E2SBASE;

    To force forms to load the DLL to a specified directory, use the following syntax:

    BEGIN
    BEGIN
    -Try to find the already loaded DLLS
    lh_ffie2sb: = ora_ffi.find_library ("e2sbase.dll");
    EXCEPTION
    WHEN ora_ffi.ffi_error
    THEN
    -Okay, not found can load
    -The argument null to LOAD the library is the location of the DLL, so if
    -the DLL is not in
    -the working DIR or not in the path somewhere we might want to
    -put something here.

    lh_ffie2sb: = ora_ffi.load_library ('C:\MyDirectory\', 'e2sbase.dll');
    END;

    Better yet, create an environment variable and use l_path: = win_api_environment ('MY_ENV_VAR', FALSE);

  • Form of WSAuthorizationException and update the issue?

    HI Jay

    Error
    Exception of XPRESS:
    Cannot call getObject on class com.waveset.ui.FormUtil method == > com.waveset.util.WSAuthorizationException: discover and access denied to the subject stst00d on user: stst00d.*


    I get this error in the console users idm when I click Show Inbox item.

    and 2. I have the box whenever I am clicking on that form to get refreshed and become refresh the data that I entered in the text box, so I want to keep the data if I check or uncheck the box?

    ?
    I use Sun idm 7.1

    want to help its urgent to remove this error.

    Here's the example form, I created and all values are sticking to their place when to check and uncheck the box.nc

    In your code, you used the text box with VALUES and whenever that form get updated and set the values that you set.

    Use the code below for reference. nothing special you need to do...






    10


    100


    true



    Please enter comments













  • I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers?

    I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers

    ?

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (143315)

  • Best practical Question - update the query (see object) based on the drop-down list selection

    I have a question about the most efficient way to perform the following task:

    I create a page that contains several DVT components to display data based on specific requests.  Top of page I am hoping to have a drop down menu (selectOneChoice) that contains dates different and based on what the user selects (i.e. 2010, 2011, 2012, 2013, etc.), this will update the query in the view object of some (i.s. WHERE Date = '2011', or WHERE Date = 2013"), and then you view the appropriate data in the DVT.  What is the best way to do this - from a point of view bean managed / page, as well as the View object?  Advice/documentation would be appreciated.

    Thank you!

    When you drag the vo executeWithParams one another that will create links for operations such as 'executeWithParams2', 'executeWithParams3 '. On the method that you use to update a view by calling the executeWithParams operation, you call the other operations too.

    Timo

  • questions about the updates and drivers

    I have 2 questions.

    1. How can I reinstall an update failed to install the first time?
    2. If I can get the driver I need mass storage?

    Hello Sherry,

    Question #1: Go into Control Panel, click Windows Update, and then run the Check for Windows Update manually. Download and install the missing update. If you know that you have missed one, but his shoeing not try refreshing the page until the missing update reappears and you can install it then.

    Question #2: The short answer is to go the manufacturer of the mass storage device and look for driver that corresponds to your operating system. For this, you will need the brand and the specific model of your computer, the version and the depth of your Windows 7 system and brand and the specific model of your mass storage device number.

    These instructions are generic as your questions were also. I don't want to insult your intelligence by giving you more that you need, please post here with any details you need.

    Kind regards

    BearPup

  • I have Lightroom 6 stand alone software and my question is should I update to Lightroom with updates to Lightroom CC?

    I have Lightroom 6 stand alone software and my question is should I update to Lightroom with updates to Lightroom CC?

    Hi jamesb,

    You can make the autonomous of the Lightroom updates.

    Go to help > check for updates or check out this link: http://blogs.adobe.com/lightroomjournal/2013/06/keeping-lightroom-up-to-date.html#lrcc2015

  • I have some pluggins I used in after effect 2014 CC and when I updated to the new version 2015, pluggins commentator does more work because they are not be updated yet, my question is how can I go back to the old version

    I have some pluggins I used in after effect 2014 CC and when I updated to the new version 2015, pluggins commentator does more work because they are not be updated yet, my question is how can I go back to the old version

    cc desktop application allows to install the previous versions.

    Here's how (about 1/3 of the bottom of page), download and install Adobe Creative Cloud apps

  • I don't have a box forms option?  I have updated and still no choice?

    I don't have a box forms option?  I have updated and still no choice?

    Hello

    You use very old version of muse adobe, checbox option has been introduced in the month of August, release of 2014. So I would say that you upgrade your Muse to the latest version and you should have the version. You one to refer to this article which lists all versions and their content,

    Adobe help Muse | Release notes | Adobe Muse CC

    Upgrade of Muse, download Adobe Application manager

    http://www.Adobe.com/appsmanager/index.html

    Sign in using your Adobe ID, and you should be able to upgrade to Muse.

    Let me know if you have any doubts.

  • CS5 update after DW8 - questions of images and the jump site

    Hi, I hope you can help me as I have been on it now for two days in a row.

    I recently started using CS5 for the design of my sites and I really like it, I already used DW8 and had no problem with it, but wanted to deal with changes so the upgrade.

    My problems started when I started to download my site, in the first instance that a space began to appear after the pictures folder? and the images have all broken, I finally corrected this problem.

    I have written code that turns the page of cover image each time there is an update, and this file of code/does not seem to download on the web, so no image is not showing or rotation.

    Also, my new site keep jump a bit, I used the same pattern on another site and it works very well, built in DW8, but now this new site with the same model causing me so many questions and im wondering if it was money well spent

    I would like to know how to solve these problems and how to prevent what is happening in the future?

    This is the site with the questions-www.theadproject.co

    Same model used at www.mattaesuball.com

    IM new to ask for help in these forums, so please let me know what I can give you in order to get what I need wise help. Thank you

    Me and Matt wrote:

    In addition, my new site keep jump slightly.

    It's because of the scroll bar HHR browser (correctly) appearing on the pages where the content is deep more than one screen.

    Solution for horizontal shortening between pages (scrollbar scrolling/no bar) is usually to force a scroll bar on every page regardless of content by adding the following to your stylesheet CSS.

    HTML {}

    Overflow-y: scroll;

    }

    http://CSS-tricks.com/eliminate-jumps-in-horizontal-centering-by-forcing-a-scroll-bar/

    I see that your separately embedded CSS rules in thesection of each page. Have you thought about it outsourcing all in a single CSS file and the link to this one file each page? Then, simply update the CSS in one file each time and each page will be updated.

    Note: there is a typo in the title (which currently reads"The Ad Projcet") of http://www.theadproject.co/face2.html

  • got the computer, needs update and my name instead of the former owner, please help

    Purchased from personal, but he left all her things, but has not received the disc to reinstall or updaye, then, how can I do this without crashing the computer?

    Thank you.

    Buy a used computer, it's always a good idea to reinstall Windows to restore to condition buy and go from there.  It eliminates any malware content and possible questionable.   In the last semi computers OEM (Dell, Hp, Acer, etc.), there is a recovery partition on the hard drive that can restore your machine bought as a condition.  The manufacturer saves a dollar or two for the supply of the discs.  Usually it's hit a key or combination of keys when the first splash screen appears when you start the computer.  Go to the manufacturer's website, click on the link "Support" and search for "Download" and download the manual for your computer.  It must contain instructions on how to restore it.

    If you decide to keep your current configuration, but to change the name of the owner, please see the following article:
    "How to change name and company information after you install Windows XP"
      <>http://support.Microsoft.com/kb/310441 >

    HTH,
    JW

  • Why can't I minimizes exceeding 2 Notepad in FF? I used to be able to minimize the notebooks as much as I wanted to. FF must have made an update and now I can't do that. Is there a setting I can change that will allow me to do?

    1. Question

    Why can't I minimizes exceeding 2 Notepad in FF? I used to be able to minimize the notebooks as much as I wanted to. When I search on a topic I keep several notebook open until I finished. FF must have made an update and now I can't do that. Is there a setting I can change that will allow me to do it again?

    Also at this time, the length of the sentence, I type has changed.
    There is no limit for how far she can extend to the right.

    Help, please. I'm not very irritable and don't understand Computerese.
    Please explain in English every day.
    Thanks in advance,

    bouquet

    Bouquet,

    Great to hear that your problem is finally solved.

    Regarding 2nd query you have raised, it is not possible to have the program running if you turn OFF the computer (it's like saying you want the bulb to keep bright despite off). When stop you the machine, you turn off the power... so there is no way that the current state maintained. When start the computer again the next time it starts on new.

    But there are 2 options that can help you with your problem: -.

    1 SAVE your changes before you close the program, and choose next time when you start the computer

       File ->Open (This way your work is preserved and you need not start afresh next time onwards)
    

    2. instead of turning off the computer, choose to Hibernate. When Hibernate you (and NOT CLOSE) the current state is preserved. This means that if you leave the notebook running he will remain in the same State when you next start your computer the next time.

    PS: as this forum is for the FF to discuss related issues, I propose that for further assistance e-mail me at my personal mail ID [email protected]' rather than discuss it here on this forum

    Now your problem is solved with kindness mark this as closed discussion (marking/choice of appropriate solution helped you)

  • After the update and restart my computer was like a whole new vista version and the version of office business. All files and emails and contacts and other programs have disappeared!

    I did a system restore to run today.  He had updated 8 minutes before all this happened, but I couldn't say what update caused this.  It's important, so I guess that vista.  All of my Web site and software adobe software for forms and emails, files, photos, everything disappeared as if today, I bought the computer Office exccept was there, but empty. I have even been asked to set up an e-mail account.  I don't know how it happened with an update and cannot lose another day to such a waste of time. I work and am finishing my doctorate so the stability of my work being it is quite serious.  How this happened and how can I keep it doesn't happen. I backup to carbonite.com and have now checked, contacts, emails by the intermediary of today and all the files, but it's scarYYYYY!   I was never warned or the ability to restart or given in error messages.

    Hi Kelly Barr.

    Welcome to Microsoft answers forums!

    Are you referring to (files, emails, contacts and other programs) shortcuts on the desktop?

    When updates are installed on the computer it says system files, this process of service not Microsoft that are running in the background can conflict with updates and tour damage the system settings.

    This problem can also occur if system files are corrupt.

    Try the following in order to recover the desktop icons.

    Even though the desktop icons disappear, the programs are still installed on computer you can launch them.

    Method 1:

    Ø, right click on the desktop

    O select view

    Ø, click show the desktop icons

    Method 2: Click the Start button > select programs > verify if all the programs installed on the computer display > try to start or right click on the program and Select create a shortcut

    Check the updates that triggered this question go by the date.

    1. Click for Start > Control Panel > Classic view > Windows Update.

    2. along the top, click view update history.

    Before you install updates, follow the precautionary steps listed below.

    Step 1: Disable the security software on the taskbar

    Note: Activate security software once theupdates are installed.

    Step 2: Disconnect external devices like printer and scanner, except the mouse, keyboard, and internet connection.

    Step 3: The clean boot computer:- Perform a clean boot (check step 1 in the link)

    http://support.Microsoft.com/kb/929135 ---> how to solve a problem by performing a clean boot in Windows Vista or in Windows 7

    Important: n ' forget not to put the computer to a normal startup after you install updates. Follow step 7 in the link.

    Try to install updates via windows update or you can also download and install the updates manually by accessing the Microsoft Web site.

    Data backup on the computer

    You can use backup and Restore Center integrated in the operating system to back up data.
    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions

    Thanks and greetings
    Ajay K
    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • MY FONT SIZE HAS CHANGED WITH THE LAST UPDATE AND I CAN'T SEEM TO RETURN TO NORMAL.

    WITH THE LAST UPDATE OF THE FONT SIZE CHANGED ON MY EMAIL ACCOUNTS AND PAGES OF MY WORK.  IT OF SMALL, I CAN'T READ IT EVEN WITH GLASSES ON. IT IS MAGNIFIED 150 TIMES.  MY COMPANY, HE CHANGED THE RESOLUTION WHICH HAS CHANGED MY SIZES OF ICONS, BUT DOESN'T HAVE ANYTHING DONE TO MY FONT SIZES.  THE HAD ME ALSO DO SOMETHING WITH MICROSOFT THAT DOESN'T WORK ANYMORE.  SO THEY HAD ME CONTACT MICROSOFT WHO CAN HELP ME BECAUSE I CAN'T AFFORD TO PAY TO GET ANSWERS TO MY QUESTIONS.  I AM ALREADY 3 HOURS LATE FOR WORK IN TRYING TO SOLVE THIS PROBLEM.  CAN SOMEONE OUT THERE HELP ME?

    Hi ELLA SMITH (KELLY).

     

    Welcome to the Microsoft community forums. Please post your query and giving me the opportunity to help you.

    I'm sorry for the inconvenience caused.

    I will guide you on the issue of the police.

    (1) you are on a domain network?

    (2) the Windows updates were installed?

    (3) what happens when you try to change the font sizes, you get an error message?

    I suggest you refer to the link to verify that Windows update have been installed.

    http://Windows.Microsoft.com/en-us/Windows-Vista/see-which-Windows-updates-are-installed

    Method 1:

    You can check follow them the links below, if that helps:

    (1) change the Windows fonts

    http://windowshelp.Microsoft.com/Windows/en-in/help/bdc9d003-777b-4B1E-9664-2957f50870bd1033.mspx

    (2) fonts: frequently asked questions

    http://windowshelp.Microsoft.com/Windows/en-in/help/0caf0419-6990-45de-8D71-67f14a3ae4c71033.mspx

    (3) how to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista

    http://support.Microsoft.com/default.aspx/KB/936212

    Method2:

    un) make system restore, choose the date where the screen resolution and the fonts were ok as your restore point.

    (b) when these updates come to install again, do only ONE AT A TIME. After each installation, check if the screen is ok, and then next update and so on.

    c) in this way, you'll be able to simply update is the cause of this problem.

    If the problem persists feel free to post us. We're here to help.

    Thank you.

  • FRM - 40603:Records is no longer reserved for the update. Query for changes

    Hi I have a form that has been developing 6i and upgraded to 11g form work well in 6i, but when I try to do the same function in 11g get this error

    FRM - 40603:Records is no longer reserved for the update. Query for changes
    When I commit this execute_query (for_update); It is the form to clear values when it loads, the error comes when I try to delete

    How can I do this

    Action: If you want to change the block, you will need to re - interview.

    Captureerror3.PNG

    I use When-Timer-Expired (WTE) trigger

    You have a 'relationship' defined between the blocks of your master and detail? If so, simply update your master block and the block of details will automatically be re-interviewed. If you cannot use a relationship, then you can use can create a timer in the trigger that updates the database, then in the trigger When-Timer-Expired (WTE) you can go to the retail block and run a query. For example: / * the sample on change trigger * /.

    DECLARE
      timer_id  TIMER;
    BEGIN
    ....your code here that performs the update....
      /* Now create an instance of a timer */
      timer_id := Create_Timer ('upd_detail',1,NO_REPEAT);
    END;/* Sample Form Level When-Timer-Expired trigger */
    DECLARE
      timer_id  TIMER;
    BEGIN
      -- Find the timer first
      timer_id := FIND_TIMER('upd_detail');
      IF NOT ID_NULL(timer_id) THEN
          GO_BLOCK('DETAIL_BLOCK');
          Execute_Query;
      END IF;
    END;
    

Maybe you are looking for

  • a bookmark that I used for years any opens

    I used a bookmark for a single site for many years, no other bookmarks made, as I can't open it to all.When you try to open it I get a blank page and up beside the safari or firefox icon apperas forum words spark 1 x 1 pixel. in the tab below is the

  • Questions of Lenovo T420

    I got this today to run, Gopro Studio software. I5 2520 m 250ghz, 4 GHB ram windows 7 pro 32-bit. When I download from the site of the Gopro, it downloads in my downloads folder, then click to run and nothing happens, it's dead.Had an error. 80070661

  • HP Officejet 6200 all-in-One series will not be printed. I get the message that the spooler is not connected.

    I have a HP Officejet series 6200 all-in-One that will not print. I received the message that the spooler is not connected how to fix this problem? Thank you. Margaretjc Moved from feedback Original title: impression of the printer

  • Hatswitch does not work in FSX 2D cockpit mode.

    Hatswitch on my Cyborg Evo Wireless joystick does not switch on different points of view in view of luxury FSX cockpit 2D or 3D FSX virtual.  It operates in FS2004 modes 2D or 3D without any problem.   I tried to calibrate the switch for different po

  • Missing toolbar, wordpad

    The toolbar at the top of the page is missing, with the wordpad which was there too.  I have no left arrow, bookmarks, etc..  How can I get that back?