Development of a feature of single line with list items

Hello
I am new to Oracle forms. Currently using Oracle forms 6i.
I am facing a problem when you check the condition of the components of a line while choosing the "item in the list. I basically multiple data block. On the block of data I assigned to the property as 'Item in the list' to one of the element. This list item has three options 'MANUAL', 'AUTO' and 'ADVANCE '. When I choose the 'MANUAL' list item, corresponding line should be editable and the user can insert the record in the same row. But when I choose 'AUTO' or 'ADVANCE' only the specified element say for example the element 'Sr.no" only be editable while all other elements are unchangeable. I tried to use set_record_property for 'MANUAL' and that my point. But writing set_item_property to "AUTO" and "ADVANCE", which spoils the feature then 'MANUAL' for the line/record after having inserted a line 'AUTO' or 'FORWARD '.
Please help as soon as possible because it is urgently needed.

Published by: 1005292 on May 10, 2013 12:43

I agree with Gregor uses WHEN-LIST-CHANGED-relaxation. But I wouldn't set the INSERT_ALLOWED and UPDATE_ALLOWED properties in a WHEN-NEW-FOLDER-iNSTANCE-trigger, but put in the WHEN-LIST-CHANGED-trigger and in the process of filling the block (I don't know how the block is filled, if its done using EXECUTE_QUERY the relaxation would be POST-QUERY-relaxation).

The statement to make it a feature in the Insertable current record is

SET_ITEM_INSTANCE_PROPERTY('BLOCK.ITEM', TO_NUMBER(:SYSTEM.TRIGGER_RECORD), INSERT_ALLOWED, PROPERTY_TRUE);
SET_ITEM_INSTANCE_PROPERTY('BLOCK.ITEM', TO_NUMBER(:SYSTEM.TRIGGER_RECORD), UPDATE_ALLOWED, PROPERTY_TRUE);

Tags: Oracle Development

Similar Questions

  • Arrow line (single line with an arrowhead) in MS Paint Win7

    Is there anyway that I can draw an arrow line (straigt single line with an arrowhead at the end) in the new MS Paint in Win7?

    The following items may be worth a visit:

    Windows 7 - paint help
    http://Windows.Microsoft.com/en-us/Windows7/using-paint

    Windows 7 - getting started with paint - tutorial
    http://Windows.Microsoft.com/en-us/Windows7/getting-started-with-paint

    Windows 7 - How to add an arrow to a screenshot
    http://www.allsandiegocomputerrepair.com/693/how-to-add-an-arrow-to-a-screenshot/

  • Text single line with background Image field

    Hello

    I have the following requirement for a small number of topics on BasicEditField, but I couldn't find answers to my requirement, so post to the same

    My requirement

    1 must be the only editor of line text field with a width and a predefined height.

    2. If a background Image(For better look-rounded edge image like in Broswer)

    3. If the number of characters exceeds the single line, it has scroll horizontally right and from characters to scroll left with the appropriate property of the ellipse.

    4. in entering an Enter key (Center of select navigation Keys), it should call my method to perform an action.

    Enjoy a quick help on this

    Thanks in advance

    Q1. BasicEditField.NO_NEWLINE will stop people pressing enter and get a new line.

    Regarding your second question, I recommend that you check out the two videos on screens and area managers.

    As a general rule, a field is laid out (i.e. tells his manager what size he needs and then this rectangle is placed), then painted.  Exhibitor is managed by managers and put sublayout on the page for the fields.  The more important than sublayout and put thing in page do is specify the scope (width and height) they need, which fiddles and managers to make using the measure.

    Once all fields was laid out, then the visible parts of each field are painted using paint.  I've never used subpaint.

    I hope this helps.

  • How to make a single line with 6-8 images in css?

    I would like to do a header line with 6-8 icons of different sizes and use them as links.  I can't get them to line up horizontally in a container. How can I do this?

    You can do this by making the area the same size icons. that is, all the images are the same size, it's just the icons in the image control that are different sizes.

    If you don't want to do this then probably a good reason to use a table with cells of 6/8 otherwise, you will need to adjust padding/margin on each icon to align individual, doable but somewhat tedious.

  • box with list item

    Hello

    I have items in the form, the user need visible this point with him, me, I do all the visible elements = no

    and make the point list and but all the elements of value in the list

    When the list item chanched and the user select any item of the agenda will be visible = yes

    the form like this

    the list item = bank name

    value in the list (bank_name = 1
    bank_address = 2)

    and I have 2 items in the form

    bank_name
    bank_address

    two of them visible = no

    and I do trigger (WHEN-LIST-CHANGED)

    If: Bank = 1 then
    SET_ITEM_PROPERTY ('bank_name', VISIBLE, PROPERTY_TRUE);

    elsif: Bank = 2 then
    SET_ITEM_PROPERTY ('bank_ADDRESS', VISIBLE, PROPERTY_TRUE);

    end if;


    the qustion is

    When the visible element = Yes once the user has selected in the list

    How can make it appear this itme = no

    When the user has selected the same article?

    Thank you

    Hello
    One idea is to make this conrtol using a list item. Suppose you have two names of items in the list, and then create two global variables / parameters in the form and use it like that...

    Trigger = WHEN-NEW-FORM-INSTANCE
    :PARAMETER.NAME_FIELD:='N';
    :PARAMETER.ID_FIELD:='N';
    

    Now in the trigger MODIFIED the LIST when using the code below...

    IF :list_name='NAME_FIELD' THEN
      IF :PARAMETER.NAME_FIELD='N' THEN
        SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_TRUE);
        :PARAMETER.NAME_FIELD:='Y';
      ELSE
        SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_FALSE);
        :PARAMETER.ID_FIELD:='N';
      END IF;
    ELSIF :list_name='ID_FIELD' THEN
      IF :PARAMETER.NAME_FIELD='N' THEN
        SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_TRUE);
        :PARAMETER.ID_FIELD:='Y';
      ELSE
        SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_FALSE);
        :PARAMETER.ID_FIELD:='N';
      END IF;
    END IF;
    

    HTH.

    -Clément

  • How to display the column single line with function of nested groups

    SQL > select deptno, Max (sum (sal)) SalSum
    2 of PEM
    3 Group of deptno;
    Select deptno, Max (sum (sal)) SalSum
    *
    ERROR on line 1:
    ORA-00937: not a single group group function

    Can you please help me to get the Max (sum (sal)) with Deptno...

    Or:

    select max(deptno) KEEP (DENSE_RANK LAST ORDER BY SalSum) deptno,
    max(SalSum) from  (
      select deptno,sum(sal) SalSum
      from emp
      group by deptno
    );
    
  • Read/write on a single line with 6518 IO Board

    Hello

    I'm trying to control inputs (line 16) and the output (line 16) a card NI6518 with visual C++.
    To do this, I want to read line by line. I tried the following code, but what does'nt seems to work.
    I wrote a class with below method: ReadLine and writing. Perhaps, I get confused with the sense/line output, uInt8...

    Can someone explain to me my error? Thank you very much!

    READ ENTRY:
    bool CTORInterface::ReadLine (int number, bool & value) number 0 to 7
    {
    HTask TaskHandle = NULL;
    CString szNameBoard = "IOBOARD1".
    CString szLineID;
    szLineID.Format ("IOBOARD1/port0/line%d", number); channel with 1 line

    retrieve the handle on the task
    DAQmxCreateTask ("IOBOARD1", &hTask);)

    create an input line
    DAQmxCreateDIChan(hTask,szLineID,"",DAQmx_Val_ChanPerLine);

    Start the task
    DAQmxStartTask (hTask);

    reading
    uInt8 data [8];
    Int32, read, bytesPerSamp;
    DAQmxReadDigitalLines(hTask,1,10.0,DAQmx_Val_ChanPerLine,data,8,&read,&bytesPerSamp,);

    stop the task
    DAQmxStopTask (hTask);

    opening handle
    DAQmxClearTask (hTask);

    value of multiple bits of data extraction
    value = (bool) data [number];

    Returns true;
    }

    WRITE OUTPUT
    bool CTORInterface::WriteLine (int number, Boolean value)
    {

    HTask TaskHandle = NULL;
    CString szNameBoard = "IOBOARD1".
    CString szLineID;
    szLineID.Format ("IOBOARD1/port2/line%d", number); channel with 1 line

    retrieve the handle on the task
    DAQmxCreateTask(szNameBoard,&hTask);)

    create the output line
    DAQmxCreateDOChan(hTask,szLineID,"",DAQmx_Val_ChanPerLine);

    Start the task
    DAQmxStartTask (hTask);

    write the value online

    uInt8 data [1];
    Int32 numWritten = 0, regenMode;
    uInt32 bytesPerChan;
    data [1] = value? 1:0;
    DAQmxWriteDigitalLines(hTask,1,1,10.0,DAQmx_Val_ChanPerLine,data,&numWritten,0);

    stop the task
    DAQmxStopTask (hTask);

    release of the handle
    DAQmxClearTask (hTask);

    Returns true;
    }


  • Splitting of multiple lines on a single line with different fields

    Hi all

    I have a table. A Course_Code have section_codes several other words ('NUM' column is not sectype is just an order!)

    Code---num---Sec_code---Sectype---DESC---WEIGHT
    1603 1 - C 7427 - Coursework - 50
    1603--------2-------7428-----------E------------     Exam----------------     50

    I query this table I want to be able to see the course work, review divided on the same line. i.e.


    Code - Coursework - review
    1603 C = 50 - E = 50

    any help would be great

    Hello

    'Splitting' means take an element (such s as a string 'C = 50') and diviiding in smal; LER objects (such as the chains under "C" and "50"). Are you really trying to divide something, or are you trying to do exactly the opposite (for example, combine smaller chains in a larger string)?

    I think that what you are looking for is a Pivot . Like so many other things, exactly how do depends on your version of Oracle and your needs.
    Here's one way:

    SELECT       code
    ,       MIN (CASE WHEN descr = 'Coursework' THEN sectype END)
           ||  '='
           MIN (CASE WHEN descr = 'Coursework' THEN weight  END)     AS coursework
    ,       MIN (CASE WHEN descr = 'Exam'       THEN sectype END)
           ||  '='
           MIN (CASE WHEN descr = 'Exam'           THEN weight  END)     AS exam
    FROM       table_x
    GROUP BY  code
    ;
    

    It will work in Oracle 8.1 and higher. From Oracle 11.1, you can also use the SELECT... Function PIVOT.

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all tables and also post the results desired from these data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.

  • How to return a single LINE with Multiple value separated by a colon in a SQL query

    Hello

    I have a SQL, as shown.
    select deptno
      from dept
    I want to mofidfy this query, so that it should return me departments with colon delimeted list in a ROW.
    10:20:30:40.......
    Thank you
    Deepak
  • How to merge data from the table with a single line

    Hello

    I have three tables subscription_type, the address and the person. Here are the details of the table

    Person Subscription_type Address                                           

    Person_Id AdressType_id Address_id

    Person_name Description Address_type_id

    Person_id

    Address details


    There are three types of different address - home, postal and previous.

    Each person can have these three different addresses.

    I want to create a view that displays all addresses of three of each person in the table of the person in a single line.

    Any help please

    In your example, there are 2 rows of columns street1, TOWN, SUBURB etc for a single person. To convert this into a single line, with the new columns we could simply use CASES or DECODE in the select as the SQL below. To understand why consolidation function THAT MAX is used - remove the MAX and GROUP BY in SQL keyword and try.

    Select full_name

    , max (case when description = "Home" then end street1) Home_Street

    , max (case when description = "Home" then end suburb) home_suburb

    , max (case when description = end of the "Home" then City) home_city

    , max (case when description = "Home" then postal code end) home_postcode

    , max (case when description = "Home" then end state_name) home_state

    , max (case when description = 'Postal' then end street1) Postal_Street

    , max (case when description = 'Postal' and then end of suburb) Postal_suburb

    , max (case when description = 'Postal' then the city) Postal_city

    , max (case when description = 'Postal' and then end of CP) Postal_postcode

    , max (case when description = 'Postal' then state_name end) Postal_state

    , max (case when description = "Back" then end street1) Prev_Street

    , max (case when description = "Back" then end suburb) Prev_suburb

    , max (case when description = "Back" then city end) Prev_city

    , max (case when description = "Back" then postal code end) Prev_postcode

    address a

    S State

    No p

    Subscription_type att

    where a.person_id = p.person_id

    and a.state_id = s.state_id

    and a.address_type_id = att.address_type_id

    Full_name group

  • Numbered lists... Need a line gap between list items

    Hello. Here's my problem. I use 7 HR. When I use the numbered list feature, there are no blank lines between list items. I think that to look sloppy. I can simulate it by pressing SHIFT ENTER after each line item. Who gives a fine appearance and translated very well to help on the Web, but when I generate my file Word of him, it ends up being an extra line between line items. I guess it's because Word uses its numbered list function, which is to skip lines. He added also that < BR > HR.

    .... I guess I just a need to know how to use HR to generate lists the way I want it, or I need to know how to configure word do not skip lines between list items, so that way it will be just skip a line due to this < BR > in the HTML code.

    I have a feeling that it's simple, but I'm lost.

    Thank you

    When you change the style of lists, you change the OL and UL tags. So in theory, what you do with this style applies to the list as a whole, and not to list items.

    Colum spoke on the creation of a new "other" style (or maybe a paragraph style, but the list items aren't paragraphs, if HR tags like that). Then, while remaining in the Styles dialog box, you would go to Format > bullets and numbers, then select the numbering you want. Format > paragraph, insert a value into the box after to get your space between list items.

    Then apply this new style to your list items.

  • Graphics problems with a single line at the top.

    During bootup until I perfect video resolution, but after starting windows I have a single line of the video of the ideas would be useful. I already checked the wiring, video card and the BIOS settings. Anyone had this problem? This had beat me my head against the wall for a week now.

    I'm just guessing that you have a problem with
    your video driver. Maybe the info will be
    be useful...

    Good luck...

    What happens if you start in Mode safe?

    (315222) a Description of the Safe Mode
    Boot into Windows XP options
    http://support.Microsoft.com/?kbid=315222

    How to start safe mode in Windows XP
    http://bertk.MVPs.org/html/SafeMode.html

    If you start correctly in safe mode... it can
    be worth a try to roll back your video driver.

    (306546) HOW to: use the driver to restore roll back feature
    a previous Version of a device in Windows XP driver
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;306546

  • After installing lightroom cc, the photos show ok in library. When sent to develop module there is a blue screen with 2 white diagonal lines on pic. How is it removed?

    After installing lightroom cc, the photos show ok in library, but when the peak is selected and implemented development module, there is a blue screen with 2 diagonal lines white covering the picture. half of the photo will show when I put side by side feature on. How can I remove this blue screen.

    Edit/Preferences/Performance and uncheck "use graphics processor.

  • How can I "automate" a question of a single line and response? the answer starts with the right margin and ending on the right margin as it is typed. The sequence would be: 1 type question 2. Tab at the right margin. 3 type the answer ending on the margin

    5.6.1 MacBook early 2015 OS X 10.11.3 pages

    Question: How can I easily format a series of "a line of questions / answers" (questions and answers on the same line.)

    How to easily create a long series of a single line of questions and answers to the question aligning it on the left and the end of the response by aligning right?

    For example

    !. Type the short question on the left margin.

    2. tab at the right margin.

    3. type the answer with the end of the answer on the right margin.

    Insert a right tab at the right margin.

    Peter

  • OfficeJet 6835: Connection printer/fax to the single telephone line with answering machine and DSL router

    I change my current 2 lines phone/fax with answering machine setup and router DSL to a single line.  I have the right instructions HP and all the necessary parts and wiring diagrams, but I can't determine which of the now used phone cords is 'special' one provided in the box with your printer.  Instructions for the installation of a line saying I should use this cord between the DSL filter and the 1-line port on the printer for reliable fax.

    How can I identify this original HP cord?  And, in case I can't, what makes it "special"?

    Hi @Atlantico,

    Thanks for joining the Forums of HP Support with your request.

    I understand that you change the way that your fax is installed on your HP Officejet Pro 6835 e-all-in-one printer and you want to be able to identify the phone cord supplied with the printer. I would like to help.

    Usually the phone cord supplied with the printer is black and a 2-wire telephone cord. There are basically 2 types of telephone cords, 2-wire or 4-wire. cords 2 telephone wires are the most basic phone cords and because the fax was built around the analog telephone systems, this is the type of cord they suggest to use.

    You can identify a phone cord of 2 sons looking at the end of the connector that you plug into the phone jack. Please see the attached diagram below.

    Please let me know if that solves the problem, or if you need assistance.

Maybe you are looking for

  • Updates Windows 7: how to see if some are available?

    Hello Can someone tell me how can I tell which version of W7, I am running? My information system shows: 6.1.7600 build 7600 -What is it? Or I need more info to see if I need updates available? Kind regards

  • Vista 32 bit?

    I work at home, connect to my employer and buy a new PC.  My employer will not support Vista 64 bit, but will support Vista 32 bit.  How will I know when you shop, Vista is announced.  Vista 32-bit is a certain edition?  What can I get?  Thank you. M

  • Display of weathermap

    Suddenly the Wxmap Interactive at www.intellicast.com gets stuck w / the word "boot"; and, unable to display items atwww.LLBean.com .  Research since Saturday to resolve. If a player can offer the right keyword technical (a program?  an Add On?) so t

  • is open source j2me or what?

    Hey,. I don't understand, isn't supposed to be gnu Java? I can't find any source for what I like. Should we change our slogin to Goodbye cruel world. instead of Hello World? Well here is my problem like any other creative person out there... can not

  • where can I find the number of contract ACS to create an SR?

    Hey guys,. I can connect our old acs web url and look around, but I can't find where is the contract number to the service request with cisco tac. seek help. Thank you