in the form of retail

db11gxe, apex 4.0, firefox 24,

I have a master form and a tabular form of detail on a page,

the captain is based on the "Patients" table, and the detail comes from "Patient_tests,"

I insert the details of patients into the master and tests in the tabular form of retail

what I want is:

Create a table next to tables item to show the "price" of each test inserted into the 'test' in the form of tables "Patient_tests" column, but I don't know how.

the price is existed in a table called 'Tests' that has the details of the tests.

How to perform this task?

Thanks in advance

Newbi_egy

I changed the display of the test no cloumn "key of Popup LOV(query based). This displays the name of the user instead of the test test only.

The price of the EEG is no changed to:

declare
  cursor c_test(b_test_no in number)
  is
    select price
    from   tests
    where  test_no = b_test_no
  ;
  v_test_no number;
  v_price   number;
begin
   v_test_no := to_number(apex_application.g_x01);
   open c_test(v_test_no);
   fetch c_test
   into  v_price;
   close c_test;

   sys.htp.prn(to_char(v_price,'L999G990D00'));
end;

This example gets the price for the selected test and return the javscript.

Nicolette

Tags: Database

Similar Questions

  • Block of detail automatically updated when the form is saved

    Hello

    I have a form with 2 blocks of tabular data (1 master and 1 retail).

    The retail block also contains a non-base of data element, a checkbox control. User can check or uncheck this box for each record in the detail block.

    My problem is, when the user changes something in the main block and saves (by pressing F10 or by clicking on save button), box block of retail values are lost.

    For a test, I created a trigger validation key at the level of the main block: I iterates over the detail records to collect values of checkboxes before doing a commit_form (the goal was to restore checkbox values right after), but even at this stage the check boxes are all null as if the retail block has already been re-populated and of course non-base of data items reset before the trigger validation key is enabled.

    What Miss me. It is a detail of a relationship block master / detail is updated when the form is saved standard? What are the alternatives to keep/restore my values of checkboxes in this situation?

    Thanks in advance for your help

    L0rd says:

    Hello

    I have a form with 2 blocks of tabular data (1 master and 1 retail).

    The retail block also contains a non-base of data element, a checkbox control. User can check or uncheck this box for each record in the detail block.

    My problem is, when the user changes something in the main block and saves (by pressing F10 or by clicking on save button), box block of retail values are lost.

    For a test, I created a trigger validation key at the level of the main block: I iterates over the detail records to collect values of checkboxes before doing a commit_form (the goal was to restore checkbox values right after), but even at this stage the check boxes are all null as if the retail block has already been re-populated and of course non-base of data items reset before the trigger validation key is enabled.

    What Miss me. It is a detail of a relationship block master / detail is updated when the form is saved standard? What are the alternatives to keep/restore my values of checkboxes in this situation?

    Thanks in advance for your help

    Check any Execute_query code in your form, which produce this issue.

  • Regedit in the form of 11g installation

    Hello

    I recently installed in my Pc Home, GR 11, 2 and 11 g Database forms.
    I have no experience with the forms on the Web, only Client-Server Developer 6i.
    I have a small retail (about 50 FMAS) Application in Developer 6i, and I would like to convert the FMAS to the new version.

    I know that in Developer 6i, in order to start the application and successfully open a fmb in Forms Builder.
    You must configure the regedit.
    There are some variables (FORMS60_PATH...) where we put the executable path for example in 6i

    FORMS60_PATH: C:\Retail\Bin (if we have the .fmx, the .mmx, the .pll)
    REPORTS60_PATH: C:\Retail\Bin (if we have the RDF)
    UI_ICON: C:\Retail\BIN (if we have the .ico files)


    Now, in my regedit, in HKEY_LOCAL_MACHINE--> SOFTWARE--> Oracle--> KEY_OH609856842.
    in the right pane, I see a FORMS_PATH that contains

    C:\Oracle\Middleware\FRMHome\forms; C:\Oracle\Middleware\FrmInst\FormsComponent\forms

    a REPORTS_PATH that contains

    C:\Oracle\Middleware\FRMHome\reports\templates; C:\Oracle\Middleware\FRMHome\reports\samples\demo; C:\Oracle\Middleware\FRMHome\reports\printers

    and a UI_ICON, which contains

    C:\Oracle\Middleware\FRMHome\reports\plugins\resource

    I would like to open a fmb 11 GR 2 Form Builder 6i. What I would do in regedit?

    It's just these variables FORMS_PATH, REPORTS_PATH, UI_ICON
    at the beginning to C:\Retail\Bin;


    Thank you and Merry Christmas.

    The basic features of the 11 manufacturer are the same as in 6. This is why the registry entries are also fundamentally the same. The only major difference is that is no longer a reference version in the entries. Thus, for example the path to your modules is listed in FORMS_PATH. The most important changes associated with execution and the inner workings of the form. I recommend that you refer to upgrade guides to better understand what you need to do to move from 6 to 11.

    http://docs.Oracle.com/CD/E38115_01/index.htm

  • Get details about the form master / detail

    Hello
    I use forms6i.
    I have a clarification on master form / retail.
    If suppose a form with 2 revenge (block master / details) inside.
    We run the form and enter a few details in the main block, and then in the block of details, and so we try to navigate to the record next to the master.
    If he asks "do you want to save the changes?" before moving to the next main record?

    Why I ask, this is where we use the model, and she asked you want to save.
    (Even without a model also I get the same).
    Just to confirm if it is the default customer forms and may be in my forms goods are prepared, so that it can behave this way.

    You can issue a MESSAGE in the on-CLEAR-DETAILS-the trigger, this "will save" data in the database, without actually committing.

  • When you close the form "Do you want to save the changes" window

    Hello
    I have a master form / detail where in my trigger after QUERY I change the item field data of LOV to a value non-base. When I simply select Master record(NOT in query mode) my detail records pop up in the retail block. This is done in EXECUTE_QUERY in trigger a TIME NEW BLOCK INSTANCE in detail block. But when I close the form he's asked me to save changes even though I haven't changed anything. I have this statement after QUERY Trigger
    SET_RECORD_PROPERTY(:SYSTEM.) TRIGGER_RECORD,: SYSTEM. TRIGGER_BLOCK, STATUS, QUERY_STATUS); This problem doesn't happen in QUERY MODE.

    I tried the two Set_Item_Property('BLOCK.) CODE', ITEM_IS_VALID, PROPERTY_TRUE); This property in the POST_QUERY and the Set_Item_Property ('item_name', VALIDATE_FROM_LIST, PROPERTY_TRUE); in QUERY-MASTER / DETAILS trigger but it did not work.

    Help, please

    Thank you

    If you take the second codepart, you may need to add a CREATE_RECORD in the last ELSE like:

        ELSE
          -- No master-record, found, use has to enter data, FK_ID can be pre-populated from the LoV-Selection
          CLOSE crCheck;
          -- Create an empty reocrd here
          GO_BLCOK('MASTER');
          CREATE_RECORD;
          :MASTER.FK_ID:=:BL_CONTROL.IT_FK_ID;
        END IF;
    

    I hope this helps.

  • Picture of detail showing the first main key documents during the loading of the form

    Hello

    I have a form of creation with a secondary table. The form and the table are two your focus on the entity with an Association between the EOs and a link between the your. When loading the form, the detail table shows records from the first main key. For example, is that master is Depts and retail employees. Primary key of the departments is deptno and deptno is a field of employees. When the form is loaded, the employee details table shows the records for the dept first in the Employees table. I want the form and load the secondary table to be empty on the form. The form is blank, but the secondary table is not. Can someone please? Thank you.

    See: 2.13.4 control if the data appears initially in the ADF Developer's Guide:

    http://download.Oracle.com/docs/HTML/B25947_01/devproc013.htm#sthref80

  • Column Salary to come in the form $ does not time?

    Trying to get this works, but can't. Help, please. You will need to get the column Salary to come in the form $ instead of the time. Whenever it is multiplied by 12, it ends by multiplying by time and not by $12. So I'll take 48 h 0 m instead of $48. There are some pictures of what I am trying to accomplish. There's a picture of what is happening and another pic of my formula before you enter the time in time and get the product duration under treatment. Help, please. Thank you

    E SALVATION '

    You multiply at a range of a number. The result is lasting. That makes sense, if you do 15 minutes (duration) of exercise every day for five days (number) you have made 1.25 hours (duration) of exercise.

    For a numeric result, you need to multiply a number (hours) by a number of $ / hour. Your friend here is DUR2HOURS, which converts a duration in a number representing the number of hours:

    Kind regards

    Barry

  • What happens if the former owner is deceased?

    No there is no way to reactivate if the former owner has passed?

    No, unless you have the news story as Apple ID and password of the deceased person.

  • Lock - contact the former owner - activation mission impossible?

    Hi Apple community!

    I bought an iphone 5 recently, which is locked (bought cheaply but) activation of the former owner. Of course, the person who sold me the unit doesn't have any info on the phone. BUT! I want to get in touch with the previous person to return the unit or get the activation lock removed.

    So I called the Apple Support and the representative understood the situation but he couldn't help me. He told me what network it is locked (carrier). After that I contacted the carrier and they said that they are not able to access users account.

    To be clear, I did not for all data, I asked Apple and the carrier to contact the owner to inform him I have his camera and if he wants it back because it's useless for me.

    Is there a way to get in touch?

    Because, if not, can someone explain to me what the purpose of blocking of Activation option? Should ' t that he be that owners get their goods?

    I know I'll get answers like "BACKSPACE" and "you should buy this in the first place", but please understand that I'm looking for help and a solution.

    Thank you very much!

    You could turn the iPhone to the police.  They may seek the rightful owner or have a current report of loss.

    In most jurisdictions, property unclaimed within a period of time can be returned to the person who makes it. It would be useless to you, but at least there is a chance, that it is up to the buyer.

  • Current device is registered with the former owners of Apple ID, not allow me to connect with my Apple ID?

    Current device is registered with the former owners of Apple ID, not allow me to connect with my Apple ID?

    The former owner must unlock with their password, or give you the password. Otherwise, the phone doesn't help you and no one can help you. Get your money back if you can.

    What to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

  • Display an alert in the form of sheet on another alert

    I have a routine to display an alert when you click the help button in a NSAlert (see this post).

    Is it possible to display this alert to help in the form of sheet on the first alert?

    I found the beginSheetModalForWindow method, but does not know how it works in AppleScriptObjC...

    
    
  • Safari doesn't allow me to file the forms or connect to sites on my iPad Pro

    I are looking for an answer online for a few months and still not found anything.  All of a sudden, after that back two updates (don't remember details) my iPad Pro stopped allowing me to ship to form and you connect to Web sites for which I have passwords.  I had to install Chrome on my iPad to access websites that require log ins (and don't really like to do that).

    When put passwords in (and Yes, they are correct), it brings back me to the page password prompt as if I did not enter anything.  There is no message "incorrect" password

    When I go to fill out a form online (of any kind) it DOES not when it is clicked.  Simply, it remains stagnant or tells me that the CSRF token is invalid and that I must return the form (when there is a recaptcha or similar item to check that I'm not indeed not a robot.  I assure you, I'm very human).

    I really hope someone out there can help me with this problem.  It is about me.  None of my other devices (including phone or Mac) have been affected in this way then it seems to be a problem of the iPad.

    Please help this frustrated lover of Apple

    9.3.4 iOS was released today.

    R

  • Why Thunderbird 38.1 suddenly treat the addresses of the list in the form of individual addresses, & dismiss them because they are not in the form user@url?

    When you try to send a message to a group set up in my address book, I get an error message [group name < updated the group description >] is not an email address valid because it is not the form user@host. You need to correct before sending the e-mail message. Thunderbird has apparently taken the description section and tried to treat it as an email address. In doing so, it changes the description of and the original format [names, name2, name 3] (with the exception of the hooks) of [< name >, name2, "name 3" >].

    The list of mail has worked with no problems until today.

    Zenos. thanks for the suggestion. Although he did not provide a direct solution, he pointed me a. Being reluctant to try to re-enter an address book with more than 1,000 entries, I saved the book and replaced by a backup copy of a computer when I heard the e-mail function worked as desired. I had the same problem.
    I tried to export the book to save what I could at least and ran into problems, I discovered since came from trying to export "all address books.
    Then, I opened a copy of AB. File MAB in Quattro Pro, where I noted PS split the description section of the list of mail problem in separate cells, from commas in this description. I went back to the address book, removed commas from the description, and my group e-mail went out as gently as might be desired.
    I would note that commas have been this likely description for 15 years or more and only now has caused a problem. I guess that's due to some changes in Thunderbird was last updated. Would be nice if we got warnings about this kind of change.
    Answer to my problem: remove the commas from the description in the properties of the list.

  • Is it possible to return to the synchronization of the former in Firefox, as new synchronization does not work.

    As new synchronization does not work for me, despite the setting it in total compliance with the Mozilla Web site and no one took the trouble to answer the previous post today, is it possible to return to the synchronization of the former?

    To the best of my knowledge, the synchronization of the former is no longer available.

    If you post some details on the problems you are having with the sync, we can try to solve your problem.

  • How to save pictures of Photos in the form of files without losing the GPS data?

    Hello!

    Can someone advice me in the following cases:

    I want to erase my Photos from iPhone and iMac. Before that, I wish I had pictures of my library of Photos saved as a regular directory with files. As Windows does, for example.

    Can someone tell me how to save all Photos in the form of files without losing the GPS data? Thank you!

    Just export them (File menu) in unmodified versions.

Maybe you are looking for

  • It is a weird color blocks while I broswe. How can I get rid of this?

    Even when I type the question and details, there is a constant evolution of the colors behind the text. The colors do not appear on the homepage only during navigation. Nor do they appear in any other app Samsumg Galaxy Android stellar 4.1.2

  • Re: Recovery disk is not recognized

    Good evening. I have difficulties to re - install my Win7 on a Satellite L555 laptop.Last week I cought a virus "system check", which could be removed by anti virus software and a trojan remover. But to make sure that the infection is without any res

  • Windows Update fails to run and get the C800044E error code

    Windows Update does not check the updates and I get the C800044E error code.  So far, thi is what I did: Get the C800044E error code when you try to run Windows Update.  Tried Mr. FixIt, who did not work and tried to do what does not work also: Pleas

  • Canon PowerShot SX500 IS? B &amp; H no longer wears it

    Does anyone know if the sx500 has been abandoned and that therefore what replaces it? Thank you

  • Win XP will not find the driver for my Canon Sx10 camera.

    Windows XP will not load the driver for my Canon SX10 camera. I had the camera for 3 years and have never had a problem with this load. I reinstalled XP and the same problem. Windows recognizes the camera but will not load the driver for it. I'll in