Block Level Sequenece

Hi All,
How can we create block level sequences,and which type of trigger we have use.
i have created DB level trigger,but it is not inserting in DB.
If any one is having the coding you can plss send me sir,
this is very urget
Thanks,
Siva

i have created DB level trigger,but it is not inserting in DB.It might help if you explain more about what you've done and what didn't work.
You can use :sequence.my_seq.nextval in the Initial Value property of an item to default it to a sequence value.

Similar Messages

  • When-validate-item firing on block level.

    Hi all
    i have six fields and when-validate-item trigger is working on block level, i want to display records in one field,i want when-validate-item trigger work on item level not on block level,any help will be greatly appreciated.
    here is the code.
    When-Validate-Item Trigger.
    declare
         Str_Space VARCHAR2(20);
    begin
    Str_Space := ' ';
    :ins1.ref := :ins1.branch || Str_Space || :ins1.class || Str_Space || :ins1.year || Str_Space || :ins1.serial || Str_Space || :ins1.cno || Str_Space || :ins1.edno;
    end;
    sarah

    Francois Degrelle.
    just look the following code.
    DECLARE
         Str_Space VARCHAR2(20);
    begin
         Str_Space := ' ';
    :ins1.ref := :ins1.branch || Str_Space || :ins1.class || Str_Space || :ins1.year || Str_Space || :ins1.serial || Str_Space || :ins1.cno || Str_Space || :ins1.edno;
    END;
    by using the above code i am passing branch,class,year,serial,cno and edno to Ref column( 1 G01 2009 13112 00 01). and Str_space variable is creating space for each item.i want the above code work at item leavel instead of block level.Is it poassibl?
    sarah

  • Change visual_attribute on current item at block level

    Hello everybody.
    Is there anyway to apply visual_attribute on current item at block level ? Explanation: i have block with a lot of items, so it's really hard to create many POST-TEXT-ITEM triggers on every item and apply visual_attribute on it...
    Thx in advance.
    Adnan
    Edited by: adnanBIH on Dec 7, 2009 11:38 AM

    Hi,
    You can set the visual attribute using the following as per your requirement:
    This is for item instance
    Set_Item_Instance_Property( 'Your item', CURRENT_RECORD, VISUAL_ATTRIBUTE,'Custom_attribute'); for item
    Set_Item_Property( 'Your item', VISUAL_ATTRIBUTE,'Custom_attribute'); regards
    knick
    Edited by: knick on Dec 7, 2009 10:46 AM

  • Block level changes on linux when a datafile is reduced by resize

    Hi All,
    Does anyone know what happens at the block level on Linux when an oracle datafile has its size reduced. For instance, if I have a 6gb datafile with has had the extents written to but the current HWM is 2gb and i then reduce this datafile size from 6gb to 2gb. On the file system the file is resized to 2gb but what actually happens to the blocks on the OS? The reason I am asking is because I am running Linux on vmware and the vmware file is replicated at the block level. How much additional data would be replicated if I reduced the datafile with a resize. Would it replicate the 4gb difference, or is only the end of the datafile changing and if so are only a few blocks changing. Oracle seems to reduce the file size quickly so I am assuming it is not changing many blocks. Any ideas?
    cheers,
    Matt
    Edited by: user10993370 on Jul 30, 2011 5:59 AM

    Hi Matt,
    Are your datafiles on ASM? Raw? Filesystem?
    I have not tested it, but I suspect that Oracle simply re-writes the extent map, whether that's in ASM, on the raw device, or on the filesystem.
    -Mark

  • How can we disable Block Level Trigge using Form Personalization

    Hi,
    I want to disable block level trigger(WHEN-NEW-RECORD-INSTANCE) using forms personalization at responsibility level.
    Can any one please give me the answer.
    it's urgent
    Thanks and Regards,
    Dhana

    No, Firefox is user choice rules over the "wants" of individual websites as far as disabling contextual menus and the keyboard commands.
    Placing a transparent image over the image will keep the less technical user from saving the main image. If they do try to save it all they'll get is the transparent image overlay.

  • When validate trigger block level

    Hi,
    I Have a form application. On the entrance page If a user forget to enter his name or Password the form prompt the message to aware him about what is missing.
    SO I wrote the folloing code on when validate trigger block level, but it did not work according to my needs, should I replace this trigger with other?
    Sharbat
    BEGIN
         if:Block1.User is null then
         message('Please enter the user name);
         raise form_trigger_failure;
         if:Block1.password is null then
         message('Please enter the password'););
              raise form_trigger_failure;
              end if;
    end if;
    end;

    use
    if:Block1.User is null then
    message('Please enter the user name);
    raise form_trigger_failure;
    end if;
    on key-next-item of user textbox
    and
    if:Block1.password is null then
    message('Please enter the password'););
    raise form_trigger_failure;
    end if;
    on the key-next-item of the password text box

  • Block Level Recovery in MAXDB

    Dear Friends,
    I am a Oracle DBA .These days i learning  recovery in maxdb as per Project's requirement.
    I have found various scenario's for recovery in maxdb like  but didn't found the Block Level Recovery scenario like in Oracle.
    Can you  please help me out with various scenario's of  Block Level Recovery in Maxdb .
    Regards,
    Sahil Garg

    > I have found various scenario's for recovery in maxdb like  but didn't found the Block Level Recovery scenario like in Oracle.
    > Can you  please help me out with various scenario's of  Block Level Recovery in Maxdb .
    There isn't something like that with MaxDB.
    Markus

  • Form level Trigger Vs Block Level trigger

    I have a form with single Database Block. I need to write a
    transaction Trigger for this Block. I need to know r there any
    advantages of writing the triggers at Form Level rather than at
    Block Level.
    Thanx in advance
    --- Moneesh Walia
    null

    Hello,
    If you have to handle this stuff in more than one block, it seems more generic to put the code in a form-level trigger if you don't want to duplicate it several times.
    Francois

  • Scrollbar on block level

    Hello,
    I'm trying to migrate a application from forms 4.5 to forms6i. If I want to run a form which has a scrollbar on the block level the runtime crashes down.
    I could compile and generate the form without any errormessages.
    It works if I set the scrollbar property on no. Does anybody know a solution for this problem?
    Thanks,
    Dirk

    You can use a materialized view to ensure database integrity. Check for constraint violations in the MV when you commit the form.
    need some help

  • Pre-insert block level, Seq.Nextval leaving gaps problem

    Hi...form friends,
    I used DB sequence in pre-insert block level trigger.
    SELECT seq1.nextval INTO :abc.log_id FROM dual;
    Everything works fine,except leaving gaps randomly .
    It leaves around 10 no.s gaps in-between. And that happens randomly...
    lets say I insert 5 records..then it will be 1,2,3,4,5.
    Then it may jumps to 15,16,25 like...that....
    I searched for this problem...but some say when form failure occurs, it leaves gap of CACHE no. specified....and some say its not possible to use DB seq. with forms perfectly ..!!!!
    Anybody have any idea about this issue ???
    Thanks....

    Putting that functionality in a row level trigger will cause a mutating data exception.
    Locking the table for update is not sufficient, you need to prevent other users inserting as well.
    I've posted a method a few times before which uses dbms_lock and a table of serial numbers which is used in place of the oracle sequence. This provides maximum concurrency and allows for data to be rolled back, but there is obviously a payoff in terms of performance so it should only be used when absolutely necessary. There is a similar example in the link I posted above (which is a far more considered explanation than I've posted elsewhere!), along with some caveats about using gapless sequences and whether there is truly a need.
    One of mine:
    Re: On commit - sequence increases

  • KEY-CLRFRM Trigger at Block Level

    Hi
    Version - Forms Builder (9.0.4.2.0)
    What's the use of KEY-CLRFRM @ block level?
    I have requirement where I need to clear all the blocks except one block in the form when press F8 (clear_form). Is this possible.
    rgds
    shabar

    Hello,
    You could create a form-level KEY-CLRBLK trigger, then test what block raised the trigger (:SYSTEM.TRIGGER_BLOCK) in a If ... Endif structure.
    Francois

  • Block level tracing to a file

    Hi all,
    I would like to output the block level trace in a form to to a file(by default its console)...WHERE DO I SPECIFY THE PATH TO THE FILE? I have checked waveset.properties and SystemConfiguration files but found that we can only specify the trace of an entire workflow..
    "Block trace to a file" is what i want..
    Yash

    From the FAQ on Sharespace
    SUBJECT:
    How to dynamically enable trace for a single workflow.
    QUESTION:
    If you've ever enabled workflow trace in the Waveset.properties file, you know that
    it can generate a lot of output. Is it possible to just enable tracing for a single
    workflow?
    ANSWER:
    There are three ways to turn on workflow trace:
    - Waveset.properties file
    - in the WFProcess definition
    - with a workflow variable
    To enable trace unconditionally for a particular process, you will need to edit the
    XML of the TaskDefinition object.
    Locate the <WFProcess> element and add this attribute:
    trace='console'
    to trace to the console or:
    trace='workflowTrace.txt'
    to trace to a file. You can have more control over when tracing happens by using a workflow variable. The engine will look for a top-level workflow variable named "trace" whose value may be set as shown above.
    For example:
    <Variable name='trace'>
    <cond>
    <eq>
    <ref>accountId</ref>
    <s>adminA</s>
    </eq>
    <s>workflowTrace.txt</s>
    </cond>
    </Variable>
    This turns trace on only if the workflow is operating on a user named "adminA".
    You could also set this in a form field if you want to control trace interactively.

  • Windows could not start block level backup engine service

    Hello,
                  Im
     trying to perform system state backup for one of the server its unable to run. Last week we have performed the system state backup without any issue.
    Operating System:2008
    OS Version: R2 Small Business Server 2011 x64 Edition Build 7600
    RAM-32 GB
    Following event ID is reported in the logs;
    Log Name:      Application
    Source:        Microsoft-Windows-Backup
    Date:          7/2/2013 2:25:35 PM
    Event ID:      754
    Task Category: None
    Level:         Information
    Keywords:     
    User:          SYSTEM
    Computer:      ABC
    The Block Level Backup Engine service has stopped.
    When we try to restart the Block Level Backup Engine service we get error as “Windows could not start the Block Level Backup Engine Service on Local Computer.
    Error 0x800700b7: Cannot create a file when that file already exists.”
    I have already restarted Virtual disk and Volume shadow copy service, but no luck.
    Any help in resolving this issue will be much appreciated.
    Thank you.
    Keshava

    All,
    Here is the solution which worked for me ;
    Services.msc >properties page of Block Level Backup Service Engine
    Changed to Log On tab
    Instead of Log On as Local System Account changed to Log On as
    [email protected] (select the account with admin creds), entered the password of admin and closed the properties page.
    Now restart the Block Level Backup Service Engine and re-run the job, backup completes without any issue.
    Thank you
    Keshava

  • File/Block level backup for AWS Amazon EC2 instances?

    Block level backups would just be the snapshots.  Mostly you don't want to do full backups of cloud instances, it's ideologically incorrect.  File level backups are different.  Find the things that need to be backed up, like configuration files and database data and back that up.  You can use something like Unitrends or StorageCraft.  Or you can manage this yourself.  Script MySQL to back itself up locally, transfer the backups off with RSYNC or similar tools.

    We have a few EC2 instances running on AWS and using snapshots going to a different region as a DR solution, but we don't have a backup solution. I'd like to setup a backup in AWS to backup other EC2 instances. I need the ability to restore MS-SQL and Files to these EC2 instances.
    What are others using?
    This topic first appeared in the Spiceworks Community

  • Block level filters on measure object

    Hi,
    Wanted to know a way to suppress rows in a crosstab with all zero's
    I.e. if the measure value for a complere row is zero , it should not be shown.
    Or indirectly, how do I apply block level filter on a measure object in webi?
    I am using block level filters on dimension objects but could not find how to do this on measure object to achive what I wanted.

    Hey David Thangaraj,
    Filtering Measure objects is not possible.
    Use Alerters:
    Before creating Aleters, do sort on your Measure column.(ASC/DSC)
    1. Name Alerter
    2. Condition: Measure = 0 then <Format>
    3. Make Fore and Background same <White & White>
    4. Remove Borders
    5. Save (OK).
    Now apply this Alerter condition on toal row, means on all columns/objects there in Report/table/block.
    OR
    Select the Whole Block:
    Go to Properties:
    Uncheck : Show when empty
    and Show measures with empty values & Dimensions check boxes also. (Am not exactly remembered text)
    Hope this way you can do that.
    Gracias...!!

Maybe you are looking for

  • SWF file not showing in browser

    Hi all, I have inserted a swf file into a webpage in dreamweaver CS5 that needs to have a transparent background. I have done all the necessary things in flash and set the "wmode" to "transparent" in the parameters section in DW. This is where the pr

  • Multiple page PDF's for iTunes playlists

    In the past I've been able to create multiple page PDF's of playlists, but for some reason in iTunes 10.1 it will only show me the first page. At the bottom of that page it'll say page 1 of 10, but the other 9 pages do not appear in the sidebar. I al

  • System is ignoring a existing PR in MRP

    Hi all, I'm facing a problem here when executing MRP. System is ignoring a existing PR for a material and generating a new planned order... When checking the status in MD04 I can see the old PR with exception 07... My problem is that this PR is old b

  • Ordering Prints from Shutterfly - Blank White Dialog Box

    I am trying to order some prints through Photoshop Elements using Shutterfly. I select my prints I want to order, hit order prints from shutterfly. A white dialog box appears overtop of Photoshop elements where I can login to shutterfly. I successful

  • Photo of the day feature

    Can you create a feature that allows the site owner to load up 30 images and they only change one every 24 hours so I can have a photo-of the day?