RESTRICTING THE SIZE OF THE DATA BLOCK REGISTRATION

I have a form with a main block and details. MY requirement is as follows:

The number of records that will allow the bulk of RETAIL data entry should depend on the selection of a certain text value in the header block.

For ex: if I select A value in the header, data can be resumed for only 6 records block details. If you try to enter data in the record of the 7th, then system should display an error message.


Is this possible. Help, please.

Hello
This one, you have to do manually. Create a synthesis item to get total retail entered and records at the top of WHEN-CREATE-RECORD , check if the total number of records exceeds the desired lines.

Kind regards

Manu.

Tags: Oracle Development

Similar Questions

  • Adobe Stock going by calendar month or the date of registration to download the Image 10?

    Hello

    I just signed, uploaded 10 images between 2/12-2/29, then tried to download more today and could not.

    Adobe uses the months of the calendar from the Date of registration to decide when to expire the 10 free downloads.

    Hello

    This is the date of the sign.  However, you seem to have used your 10 February image allowance so that can purchase individual images or wait until the date of renewal for your new allocation.

    Thank you

    Bev

  • I have a trigger to post to the data block request...

    I have a trigger to post to the data block request...
    BEGIN
         IF :SECTION IS NOT NULL THEN
              SELECT DESCRIPTION INTO :BOROUGH FROM C_LOV_BOROUGH WHERE :SECTION = SECTION;
         END IF;
    END;
    Table C_LOV_BOROUGH has many lines

    When I scroll quickly after querying data...
    I get the error ORA-01403, after than scrolling up and down... it disappears... someone can help?

    Use a slider instead of direct SQL SELECT as if you can't find all the lines, would not raise an exception, or use an exception handler to handle all exceptions silk-screened - found.

    DECLARE
     CURSOR c_get_desc IS
       SELECT DESCRIPTION
         FROM C_LOV_BOROUGH
       WHERE SECTION = :SECTION;
    BEGIN
    IF :SECTION IS NOT NULL THEN
      OPEN c_get_desc;
      FETCH c_get_desc INTO :BOROUGH;
      CLOSE c_get_desc;
    END IF;
    END;
    

    Second method:

    BEGIN
      IF :SECTION IS NOT NULL THEN
        SELECT DESCRIPTION INTO :BOROUGH
          FROM C_LOV_BOROUGH
       WHERE SECTION = :SECTION;
      END IF;
    EXCEPTION
      WHEN NO_DATA_FOUND THEN NULL;
    END;
    

    Cursor is safer than direct SELECT SELECT because maybe meet TOO_MANY_ROWS exceptions too... but if you use the slider, he realized the first found line extraction and populate the BOROUGH and if it does not find anything, it won't throw an exception.

  • Regarding the authorized request property if the data block is the database no.

    I'm now a project located on Oracle Forms 10g.

    There is a DataBlock with certain properties such as

    1 block of data in the databases: No.
    2 query allowed: Yes
    3 interrogate the Data Source Type: table
    4 insert authorized: Yes
    5 update allowed: Yes
    6. Remove allowed: Yes

    If the DataBlock is not database data block are then properties no. 2 to 6 relevent?
    I think these properties must be set to NO and the query data Source Type must be None.
    Can someone help me please.

    Yes... The block of database property must be "NO"... I made the mistake of typo... You can also change other properties... No problem in that

  • Validate the data block

    Hello
    I have a block of data with editable fields. If the user changes some data in these fields and click on a button in a different block, then I need to display a message asking the user to save changes (similar to the message when the data is not stored and user tries to close the window). How do validate us this on a click of a button?

    Kind regards
    Suresh

    This code on your button

    if :system.form_status = 'CHANGED' then
    message('Save your changes'); pause;
    end if;
    
  • disable the data block smartbar menu navigation.

    Hi all
    I use forms 9i, at my request, I'll have 10 Web stack and each containing different data blocks with about 10-15 pieces of data on each to view.
    with the connection credentials, I use to turn on or off certain blocks of data by setting the enabled property of the canvas to true/false. but I realized that even if I turn off the Web, it can be activated by the arrow navigation of oracle smartbar default menu next block there is option to disable the block of data element but what I want doesn't want do not display them at all even not the canvas that is not necessary. definition of each element of data visible and enable property is very repetitive task. so is there another way or what should I do on the other I can stop to navigate to data blocks.

    Thank you
    Rahul

    create KEY-NXTBLK and KEY-PRVBLK triggers at the level of the form with just

    NULL;
    

    as a code.

    To disable the functionality of menu as well as the keyboard navigation.

  • Update of the data block on the table

    Hello

    I have a table that already exists with the data. I got another set of spreadsheet data to update the date on the table. The table name is EMPLOYEE.

    The table structure is like this

    > > EMP_ID, FIRST_NAME, LAST_NAME, ADDRESS, PHONE_NUMBER

    Most of the files is not in the data table ADDRESS or PHONE_NUMBER, worksheet contains the updated information that needs to be updated on the EMPLOYEE table.

    Please suggest me a method to update the data.

    I intend to create a temporary table upload the data in the table. and then update the data using tables. Is this right approach please suggest

    Thank you
    Sudhir

    This means that your UNIQUE_ID is truly UNIQUE...

  • Get the serial number automatically in the data block

    How can I get the serial number automatically in the block of data after executing the query statement

    use: blk.slnumber: =:system.trigger_record; in the trigger after change.

  • Test the data block in an OPA

    Hello

    We have developed a rules engine that has more than 6000 + test cases with permutations and different combinations. Could someone please suggest a method to generate the test data for the same thing and also test on the engine of the OPA. Tried to do with the document analysis-If-persists but this does not cover everything.

    Thank you!

    Kind regards

    Varsha

    Tried to use processing batch and it worked. Exit A in a few seconds.

  • Save the record before moving on to the next line in the data block

    Hello

    Form 10g, I have a block of retail, in the block of retail, I want the user first save the current line and then move to the next line, in the validate_record trigger, I checked the system.block_status = new but its does not work and the user is still able to move around the lines below without saving it in the upper rows.

    any tips?

    Ouadi wrote:
    Hello

    Form 10g, I have a block of retail, in the block of retail, I want the user first save the current line and then move to the next line, in the validate_record trigger, I checked the system.block_status = new but its does not work and the user is still able to move around the lines below without saving it in the upper rows.

    any tips?

    Yes. You can make commit automatic when changing the line.

    When-new-folder-instance trigger writing

    commit_form;
    

    I hope this helps...

  • Remove the date block impressions

    I have problem where I put a button on a block table several as you saw in the number shown



    and how the button to remove the contents of a tuple? !

    CLEAR_RECORD will be only 'hide' the line of the display without actually deleting.

    If you want to delete the row from the database, you must use DELETE_RECORD;

  • On the freedom of Navigation in the element of the data block

    Hello everyone.

    I use Forms 9i and oracle 9i database.

    Case: I make a form in which table I use to have all the fields declared as NOT NULL
    forms required of each item property is set to Yes.

    After running the form I can't navigate the fields unless theres something entered in it.

    I tried to adjust the property necessary move, it makes browsing but it doesn't then search fields empty and error comes that once it is sent to the database.

    I want to be like I can freely navigate the fields taking care that they are declared not null in the database
    and I can stop sending data from database if none of them are left blank

    you have 3 options with the 'Reporter required order' 'Yes', 'No' and '4.5 '.

    No is the default.

    If the value "Yes" law enforcement will take place as soon as the form validation and you can move freely on the elements. But in this case WHEN-VALIDATE-ITEM triggers won't shoot up to save the form.

    So together "4.5" you will be able to navigate freely AND WHEN-VALIDATE-ITEM triggers will fire when the element is valid even if the element is empty. This will be useful if you have calculations that you need to perform.

    Tony

  • How to determine the date of registration of imported reviews of miniDV?

    Hello

    I understand that camcorders mini DV automatically date and time stamp video clips during recording - is there a way to see this information once registration has been imported into 10 PE as an AVI file?  I want to document this exact date each clip was shot.

    Thanks for any help!

    To do this, you will need a third party program called DVDate. You should be able to find quite easily online.

  • How can I obtain the data by programming block

    Dear friends,

    I use Oracle Forms version 6.0.8.26.0 and need to know how I can get the data by programming block elements, for use during execution.

    Let's say I have a data block called 'BLK_TEST', what elements are "ITEM1", "ITEM2" and "ITEM3" - I need my form to look inside 'BLK_TEST' programmatically and display its "ITEM1", "ITEM2" and 'ITEM3' elements to the user. I just need to know if there's a top that looks at "BLK_TEST" and for this job. I thought it might be get_block_property.

    Furthermore, is it possible for me to find all the data blocks by programming as well? In the affirmative, please tell me.

    Sincere thanks and best regards,

    Franklin

    You can search in the online help.
    At get_block_property you have firt_item and last_item, which returns the first element of your block, and the last_item of your block.
    You can combine these properties with the property get_item_property(item_name,NEXTITEM) in a loop inside your block and show all the item you need.
    Hope it helps you,
    Fabrizio.

    If this answer is useful or appropriate, please mark. Thank you.

  • Data block size

    Hi all

    I know the data block size is 8 bytes, where n is the number of cells that exist for this combination of dense dimensions. My question is why is a multiplication of n * 8, IE why particularly n is multiplied by 8 not with anything else?

    Thanks in advance.

    Kind regards
    Stéphane

    This must be linked to the maximum amount of data that can store 8 bytes.
    http://wiki.answers.com/Q/Largest_number_stored_as_a_byte
    After a bit of google search, you can see that 8 bytes are large enough to contain the largest type of digital data available.

    See you soon,.
    Alp

Maybe you are looking for

  • Unable to 'Buy the book' photos

    Hi all I really struggle with this... I already bought several books of photos with iPhoto - no problem. Now, I've migrated to Photos, make a new book, he presents a preview correctly, but when I press 'Buy the book' I get the error "the store is not

  • Is MacKeeper something that I should have?

    Is MacKeeper something that I should have on my iMac?

  • For UPEK fingerprint authentication software

    Where can I obtasin the latest version of the software for UPEK fingerprint authentication

  • FPGA Subvi Multiple Instances

    Hey,. It is sort of a basic question, and I don't know how at the height, I'm on the vocabulary of LabView FPGA. I did a machine States that performs a task, and I want two of these state machines is running at the same time. So, I created a Subvi wi

  • Configure 9401 to buffering of input and output

    I have a compact DAQ (9174) and the module 9401.  I found the example to configure the inputs and outputs separately.  But when I try to apply that to my application, I get the error: Device cannot be configured for input or output because the lines