Sequence of begin/end blocks.Delete only if updated.Updte only if row exist

Here is a sequence of events I need to perform.
1) I need to update a table with the systime for a given id.
2) Commit (so that the systime is stored before I delete)
3) Once updated, delete row from that table for the given id so that the row moves to the audit table with the updated systime - added in step 2.
For this I need to keep the following things in mind:
a) Update only if that particular id (passed as IN parameter to the SP) exists. That is validate existence before updating/deleting.
Here are questions ralted to the above scenario:
1) How is this kind of validation usuallty performed?
2) Update and delete will be in 2 separate begin exception end block?
Example
begin
    begin
    update...
       commit
    exception
       rollback
    end;
delete...
commit
exception
rollbacl
endHowever if update fails for some reason, I do not wish to come to the delete option.
How can I take care of that?
Edited by: [email protected] on Oct 20, 2008 9:47 AM
Edited by: [email protected] on Oct 20, 2008 9:48 AM

Mass25 wrote:
The reason why I commit after doing the update is so that when I delete, what I have updated goes to the audit table.But that would only be necessary if it was a seperate session trying to read the data.
If you update data on a table then your own session will see that data at existing on the table whether you have committed it or not, whilst other sessions will only see that data once it is committed.
A commit should be issued when it logically makes sense, not just to try and ensure that the data is on the table for yourself.
What would happen if you update some data, commit it, someone else reads it in their session and then you go and delete it? They have read your updated data whereas if they do a read before you delete then it's more logical that they should have read the pre-updated data.
It seems like you are trying to incorporate more steps than are necessary to perform a simple task.

Similar Messages

  • SQLplus command in a begin/end block

    Hi all,
    is it possible to use a SQLplus command (i.e. "@") inside a begin/end block , so in a plsql script ?
    thanks in advance and regards
    John

    user10899797 wrote:
    is it possible to use a SQLplus command (i.e. "@") inside a begin/end block , so in a plsql script ?Just a quick explanation why not.
    That begin..end block is called an anonymous (nameless, unlike a procedure or function) PL/SQL block. The client (in this case, SQL*Plus) transmits the block to Oracle.
    The server process servicing that client receives the block, parses it and executes it.
    This server process only understands SQL and PL/SQL. Not any language.
    So just as you cannot use .Net/Cobol/Visual Basic/Java/etc commands inside that PL/SQL anonymous block, you cannot use SQL*Plus commands in it.
    Part of the confusion regarding SQL*Plus is using substitution variables. This enables you to create an anonymous PL/SQL block in SQL*Plus that contains substitution variables.
    However, SQL*Plus itself does a very primitive parse of that block before it fires it off at the server - it detects these substitution variables and replace them with the assigned values for these variables. It then transmits this resulting block to the Oracle server for parsing and execution.
    Just remember that PL/SQL is a server-side language that runs inside an Oracle server process and that should clear most confusion in this regard (including whether PL/SQL can read keyboard data or write to a client PC's harddrive, or interactively display progress status on a client monitor).

  • How to start a trigger in a begin/end block ?

    Hi all, I need to start a trigger inside a block begin end in order to manage errors.
    The trigger is created inside trigger_faef_c.sql as
    CREATE OR REPLACE TRIGGER TRIGGER_FAEF
    and I would like to start the trigger in another file "create_trigger.sql" with this format:
    BEGIN
    @trigger_faef_c;
    EXCEPTION WHEN OTHERS THEN
    dbms_output.Put_Line('#255#> Error in trigger_faef_c ' || Sqlerrm );
    END;
    I have this error executing the script:
    PLS-00103: Encountered the symbol "@" when expecting one of the following:
    begin case declare exit for goto if loop mod null pragma
    raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge pipe
    The symbol "<an identifier>" was substituted for "@" to continue
    Can anyone help me please ?
    I have to use EXCEPTION WHEN OTHERS THEN.
    Thansk
    Erik

    Hi Erik,
    I think you mean Create the trigger(?), i.e, executing the trigger_faef_c.sql script.
    SQL*Plus doesn't have exception handling (Someone please correct me if I'm wrong).
    One way to circumvent that is to rewrite the script itself to PL/SQL. Something like:
    Declare
       stmt varchar2(32767);
    Begin
       stmt := 'Create Trigger ....';
       Execute Immediate stmt;
    Exception
       When Others Then
           --Do what?
    End;
    /And then just execute that
    @trigger_faef_c.sqlDon't know if you want to go that way. I use it myself to be able to run the same deployment scripts multiple times, without causing various failures due to "Table Already Exists" and so on.
    But, for triggers, I would never do that, since this has CREATE OR REPLACE.
    For triggers, I just (This time script is plain static SQL)
    WHENEVER SQLEXCEPTION CONTINUE
    SPOOL deployment.log
    @trigger_faef_c.sql
    @other_script.sql
    SPOOL OFF
    EXITRegards
    Peter

  • Error in Delare/Begin/End block

    Dear all
    i wrote a query to show all functions and procedures including their name,parameter,parameter type and return type
    I should say that using the structure delcare,begin,end is mandatory for me here.
    DECLARE
    BEGIN
    SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE FROM user_arguments ua
    join user_objects uo
    on ua.object_id=uo.object_id
    WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
    END;but i get this error
    Error starting at line 3 in command:
    DECLARE
    BEGIN
    SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE FROM user_arguments ua
    join user_objects uo
    on ua.object_id=uo.object_id
    WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
    END;
    Error report:
    ORA-06550: line 4, column 1:
    PLS-00428: an INTO clause is expected in this SELECT statement
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:I know that it may be mandatory to have "into" in select when we use delcare/begin/end.
    So would you please rewrite the query?
    im using oracle 11.2.0.2
    thank you in advance.
    best,david

    1003209 wrote:
    Dear all
    i wrote a query to show all functions and procedures including their name,parameter,parameter type and return type
    I should say that using the structure delcare,begin,end is mandatory for me here.
    DECLARE
    BEGIN
    SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE FROM user_arguments ua
    join user_objects uo
    on ua.object_id=uo.object_id
    WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
    END;but i get this error
    Error starting at line 3 in command:
    DECLARE
    BEGIN
    SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE FROM user_arguments ua
    join user_objects uo
    on ua.object_id=uo.object_id
    WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
    END;
    Error report:
    ORA-06550: line 4, column 1:
    PLS-00428: an INTO clause is expected in this SELECT statement
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:I know that it may be mandatory to have "into" in select when we use delcare/begin/end.
    So would you please rewrite the query?
    im using oracle 11.2.0.2
    thank you in advance.
    best,davidHi David,
    The query will throw error if the schema where you are executing has more than "1" function or procedure in the system.
    Its not clear in your requirement.
    Assuming you want to display the output
    SQL> set serveroutput on
    SQL> DECLARE
      2  CURSOR cur_obj IS
      3  SELECT uo.object_name,ua.ARGUMENT_NAME,ua.DATA_TYPE
      4  FROM user_arguments ua
      5   join user_objects uo
      6  on ua.object_id=uo.object_id
      7  WHERE uo.OBJECT_TYPE IN ('FUNCTION','PROCEDURE');
      8  BEGIN
      9  FOR rec_obj IN cur_obj LOOP
    10  dbms_output.put_line('OBJECT_NAME:'||rec_obj.object_name||' '||'ARGUMENT_NAME:'||' '||rec_obj.a
    rgument_name||' '||'OBJECT_TYPE:'||rec_obj.data_type);
    11  END LOOP;
    12  END;
    13 
    14 
    15  .
    SQL> /
    OBJECT_NAME:GETUSERORDERCOUNT ARGUMENT_NAME:  OBJECT_TYPE:NUMBER
    OBJECT_NAME:GETUSERORDERCOUNT ARGUMENT_NAME: REGKEY OBJECT_TYPE:NUMBER
    OBJECT_NAME:GETUSERORDERCOUNT ARGUMENT_NAME: PARTNERKEY OBJECT_TYPE:NUMBER
    OBJECT_NAME:GSK_ACCOUNT_FIRSTADDRESS ARGUMENT_NAME:  OBJECT_TYPE:NUMBER
    OBJECT_NAME:GSK_ACCOUNT_FIRSTADDRESS ARGUMENT_NAME: ACCOUNT_KEY
    OBJECT_TYPE:NUMBER
    OBJECT_NAME:SUMCONCAT ARGUMENT_NAME:  OBJECT_TYPE:VARCHAR2
    OBJECT_NAME:SUMCONCAT ARGUMENT_NAME: INPUT OBJECT_TYPE:VARCHAR2
    OBJECT_NAME:GSK_PB_SHOW ARGUMENT_NAME:  OBJECT_TYPE:NUMBER
    ...........Regards,
    Achyut K

  • Performance: Cursor declaration versus explicit query in BEGIN/END block

    Hi guys!
    Anyone knows if declare an explicit cursor inside a pl/sql block is faster than using a cursor declaration, and how fast it its?
    Which block runs faster? And how fast? ( once, twice, once and a half ? )
    Block1:
    DECLARE
    CURSOR cur_test (p1 NUMBER) IS
    SELECT field1, field2 FROM table WHERE field0 = p1;
    vf1 VARCHAR2(1)
    vf2 NUMBER;
    n NUMBER := 0;
    BEGIN
    OPEN cur_test ( n );
    FETCH cur_test INTO vf1, vf2;
    CLOSE cur_test;
    END;
    Block2:
    DECLARE
    vf1 VARCHAR2(1)
    vf2 NUMBER;
    n NUMBER := 0;
    BEGIN
    BEGIN
    SELECT field1, field2
    INTO vf1, vf2
    FROM table WHERE field0 = n;
    EXCEPTION
    WHEN others THEN
    null;
    END;
    END;
    I have LOOP in a cursor and may open/fetch/closes in this loop. I´m wondering how fast would it be if I change the open/fetch/closes to explicit query blocks...
    Thanks!
    Murilo

    If you expect your qurey to return a single row, you would generally want to use a SELECT ... INTO. You'd only want to use a cursor if you expect to return multiple rows of data.
    If you are doing this in a loop, I would strongly suspect that you should be letting Oracle join the tables in SQL rather than doing your own pseudo-join logic in PL/SQL. Letting SQL do the work of joining tables is going to generally be a sustantial performance difference. The difference between the two blocks you posted will be marginal at best.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Want to ignore exception in a begin-end block

    Hi,
    For a given plsql block (inside a procedure or function for example) I want to ignore a certain oracle exception. Ignore as in, it should not be raised at all.
    What I want to do is something like this -
    begin (tell somehow to NOT raise NO Data Found (NDF) )
    bq. select &lt;something&gt; \\ into  &lt;some Variable&gt; \\ from &lt;somewhere&gt;; \\ if sql%rowcount = 0 \\ then \\ +&lt;take action meant for NDF&gt;;+ \\ end if;
    end;
    Any Ideas ?
    cheers
    raghav..

    Justin,
    If you have queries that can properly return 0 or more rows, that is the natural way to implement that. It won't raise an exception if no data is found, it won't raise an exception if multiple rows are found.How can I write a query that would not raise an exception when 0 rows are returned ?
    I'm not clear on how a design can "not like the NDF as such". Why would you have to convert that to a business exception and pass it along to the caller? Why wouldn't you just handle the exception in your code if you expect that the NO_DATA_FOUND exception is valid.
    The design doesnt like NDF just because the end user has to receive a better response than "No Data was found". We want to include lots of contextual info about the error and the location etc. Even though the NDF is valid, I wont pass it along as such, I would probably convert it to a business exception which would probably say something like "no entities found for end client <ID>" etc..
    cheers
    raghav..

  • How to check an item in a database block has changed before updating

    hi,
    i have a database block having designation and other relative field are there . a ctrl item status (checkbox) in the same block. i want to update records only the status is marked as ticked get updated. what trigger in which levels should be used
    thanks in advance

    In genral forms marks the records as "changed" by itself. If you want to override this "marking", you'll have to overrwrite the DML-logic (for you cannot change the status of the record back to QUERY). So, you have to create ON-INSERT, ON-UPDATE and ON-DELETE-triggers and do something in it like
    IF :BLOCK.MARKED='Y' THEN
      UPDATE_RECORD;
    END IF;

  • I tried to sinc my photos and i ended up deleting off my phone all the pictures.  i only ended up with one folder, and i cant figure out how to put rest of folders from my computer back on my phone.....help

    i tried to sinc my photos and i ended up deleting off my phone all the pictures.  i only ended up with one folder, and i cant figure out how to put rest of folders from my computer back on my phone.....help
    and on a second problem.  I need to know for sure that my contacts are backed up on my computer

    Create a parent folder on your computer to store the named folders of photos that you want transferred to your iPhone. Under the Photos tab for your iPhone sync preferences with iTunes, select the parent folder. All named folders of photos within will be transferred to your iPhone as separate folders or albums.
    Regarding your 2nd question, this should be easy. Your contacts should be available on your computer with or without an iPhone or any cell phone, which can be lost or stolen.
    Although contacts are included with your iPhone's backup which is updated by iTunes as the first step during the iTunes sync process, not a good idea to depend on this either since the iPhone backup includes a significant amount of other data. Contacts are designed to be synced with a supported address book app on your computer. With Windoze, this can be with Outlook 2003, 2007, or 2010 along with syncing calendar events and notes, or with the address book app used by Outlook Express with XP and by Windows Mail with Vista and Windows 7 called Windows Contacts for syncing contacts only.

  • Visual indicators at beginning/end of clip or sequence?

    In cs6 is there any sort of visual indicator to let you know that you are at the beginning/end of a clip or sequence? Anyone familiar with FCP, I'm look for something equivalent to the L shape or blue line that appeared at the beginning and ending of clips and sequences.
    Thanks.

    You could use "show head and tail " here:
    http://help.adobe.com/en_US/premierepro/cs/using/WS3E67AF4C-B2A2-4f04-90B4-F8CCFB74B144.ht ml
    under the heading:
    Set the display style of the video track

  • Using nested BEGIN..END Block....

    Hi,
    I am unable to use nested BEGIN..ENF Block.See error defined below
    BEGIN
            BEGIN
                    SELECT xcod_code INTO v_cmpy_xcod_code
                    FROM   ext_code_type
                    WHERE  xcod_code = sdiStruct.cmpy_xcod_code
                    AND    inst_borg_ind = 'B';
            EXCEPTION WHEN NO_DATA_FOUND
            THEN
                 erm := 'CMPY XCOD CODE not found with indicator of B';
                 RAISE err;
            END;
            BEGIN
                    SELECT  borg_num,borg_code INTO v_borg_num,v_borg_code
                    FROM    borg_code
                    WHERE   borg_code  = sdiStruct.cmpy_id
                    AND     xcod_code  = sdiStruct.cmpy_xcod_code;
            EXCEPTION WHEN NO_DATA_FOUND
            THEN
                    erm:= 'No borg num or borg code found for CMPY ID and CMPY XCODE CODE entered.';
                    RAISE err;
            END;
         EXCEPTION
         WHEN err THEN
         RAISE_APPLICATION_ERROR(-20001,erm);
    END;The ERROR I get is this
    LINE/COL ERROR
    113/3    PLS-00103: Encountered the symbol "RAISE" when expecting one of
             the following:
             . ( * @ % & = - + ; < / > at in is mod not rem
             <an exponent (**)> <> or != or ~= >= <= <> and or like
             between ||If I remove the 2nd nested BEGIN..END BLOCK,It works fine.
    Cant I write multiple BEGIN..END BLOCK??

    The error that you are receiving indicates that it happened on line 113 of your code, so you have obviously left out a whole lot. The portion of the code that you posted works fine, as long as you have all of the correspoinding pieces. I don't know if sdistruct is a package or a row of a cursor or what and I don't know your table structure, so I have just made something up, in order to demonstrate below. In the future, it helps if you include things like complete code and table structure and Oracle version.
    scott@ORA92> CREATE TABLE ext_code_type
      2    (xcod_code     NUMBER,
      3       inst_borg_ind VARCHAR2(1))
      4  /
    Table created.
    scott@ORA92> CREATE TABLE borg_code
      2    (borg_num      NUMBER,
      3       borg_code     NUMBER,
      4       xcod_code     NUMBER)
      5  /
    Table created.
    scott@ORA92> CREATE OR REPLACE PACKAGE sdiStruct
      2  AS
      3    cmpy_xcod_code NUMBER := 1;
      4    cmpy_id           NUMBER := 1;
      5  END;
      6  /
    Package created.
    scott@ORA92> SHOW ERRORS
    No errors.
    scott@ORA92> CREATE OR REPLACE PROCEDURE your_proc
      2  AS
      3    v_cmpy_xcod_code ext_code_type.xcod_code%TYPE;
      4    v_borg_num     borg_code.borg_num%TYPE;
      5    v_borg_code     borg_code.borg_code%TYPE;
      6    erm          VARCHAR2(80);
      7    err          EXCEPTION;
      8  BEGIN
      9    BEGIN
    10        SELECT xcod_code
    11        INTO     v_cmpy_xcod_code
    12        FROM     ext_code_type
    13        WHERE     xcod_code = sdiStruct.cmpy_xcod_code
    14        AND     inst_borg_ind = 'B';
    15    EXCEPTION
    16        WHEN NO_DATA_FOUND THEN
    17          erm := 'CMPY XCOD CODE not found with indicator of B';
    18          RAISE err;
    19    END;
    20    --
    21    BEGIN
    22        SELECT  borg_num,borg_code
    23        INTO      v_borg_num,v_borg_code
    24        FROM      borg_code
    25        WHERE      borg_code  = sdiStruct.cmpy_id
    26        AND      xcod_code  = sdiStruct.cmpy_xcod_code;
    27    EXCEPTION
    28        WHEN NO_DATA_FOUND THEN
    29          erm:= 'No borg num or borg code found for CMPY ID and CMPY XCODE CODE entered.';
    30          RAISE err;
    31    END;
    32  EXCEPTION
    33    WHEN err THEN
    34        RAISE_APPLICATION_ERROR(-20001, erm);
    35  END your_proc;
    36  /
    Procedure created.
    scott@ORA92> SHOW ERRORS
    No errors.
    scott@ORA92> EXECUTE your_proc
    BEGIN your_proc; END;
    ERROR at line 1:
    ORA-20001: CMPY XCOD CODE not found with indicator of B
    ORA-06512: at "SCOTT.YOUR_PROC", line 34
    ORA-06512: at line 1
    scott@ORA92> INSERT INTO ext_code_type VALUES (1, 'B')
      2  /
    1 row created.
    scott@ORA92> EXECUTE your_proc
    BEGIN your_proc; END;
    ERROR at line 1:
    ORA-20001: No borg num or borg code found for CMPY ID and CMPY XCODE CODE entered.
    ORA-06512: at "SCOTT.YOUR_PROC", line 34
    ORA-06512: at line 1
    scott@ORA92> INSERT INTO borg_code VALUES (1, 1, 1)
      2  /
    1 row created.
    scott@ORA92> EXECUTE your_proc
    PL/SQL procedure successfully completed.

  • I downloaded a trial version of IWork (even though I already had it on my MacBook) and after downloading I only had the trial version- did not have the full version anymore. I tried deleting the trial version and ended up deleting all of IWork. Help!

    So after downloading this trial version, my own versions became trial. I deleted them and it ended up deleting all of my Iwork completly. I dont have the original disks as they have been long lost! How can I retrieve the lost Iwork files instead of having to pay for the system again??? PLease help!

    Jacobm51486856 please see Sign in, activation, or connection errors | CS5.5 and later for information on how to resolve the connection error preventing your membership from being authorized.

  • AA6 - Move To Beginning/Ending Of A Selection And Deselect

    Hello...
    In AA3- you could make a selection, then click at the beginning/ending of the selection.  It would deselect the selection and move the play head to that position.
    In AA5.5 you had to use the left/right arrows to do the same task.
    In AA6, neither work.  If you left/right arrow, the play head moves but it moves down/up the timeline (not to the beginning/ending) and it doesn't deselect.  Ctrl+left/right arrow does move the play head to the appropriate places (as well as other places) but it doesn't deselect.
    Is there a way to do this with AA6?
    I used it a lot when doing track breaks for cd (home, shift+click at 5:00, f8, right arrow, shift+click at 10:00, f8, etc...).  I also used it where I wanted to have only 0.5 seconds of extra silence at the beginning/ending of some audio (click at the beginning of the audio, drag backwards 0.5 seconds, left arrow, shift+home, delete).
    JJ

    Since you're doing this for CD, I think I have a method that would be faster for you.
    1. Home, Shift+M (This sets the playhead to the start and places a CD Track Marker at the playhead).
    2. Click where you want this track to end and the next to start and again press Shift+M.
    3. Continue placing single point CD Track Markers at each location where you want the last track to end and the new one to start (including adding one to the very end).
    4. When all markers have been added, open the Markers Panel and select all the markers.
    5. Press the icon in the Markers Panel for "Merge selected markers".
    Now if you want to burn the CD, just go to "File > Export > Burn Audio to CD..." and we will burn a CD with track markers where you hae defined them.
    --Ron

  • How to hide the selection-screen Begin of Block

    Hi,
    I copied the standard program into my new 'Z' prog.
    But i dont need a selection-screen begin of block and end of block i.e. I have to hide the entire block from the output screen.
    I can delete the selction-screen block , but the field which is present inside the block is used in several places of program
    and i dont know the purpose of the fields.
    Can any one help me to hide the block.
    Thanks in advanced
    Regards,
    Darshana

    Hi
    Use keyword NO-DISPLAY with the select options or parameter which u want to hide in the selection screen.
    No need to comment statements Begin of block or end of block.
    SELECTION-SCREEN BEGIN OF BLOCK ss_01 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_month FOR isellist-month no-display .
    PARAMETERS: p_email LIKE somlreci1-receiver no-display.
    SELECTION-SCREEN END OF BLOCK ss_01.
    It will work this way.
    Thanks

  • How do I make Step Types in the Type palette be "master" versions which all sequence files on a particular should use? (since this only seems to "half work")

    The situation I would like is to have a library of step types which sequence developers can use. Therefore if new step types need to be added, or existing ones modified - all that needs to be done is to roll out a new MyTypes.ini (for example), and the code modules/substeps.
    Scenarios:
    If I create types in MyTypes.ini (make sure "Attach to this file" is checked, so they get saved here). I can then create a sequence file using these step types. No problem so far.
    I can open the type palette, modify the step properties, and save. When I go back to my sequence file an asterisk appears (saying it needs to be saved, even if I have opened it from scratch). The properties have been updated to reflect what is in the Type Palette. Still no problem (Type versions are the same in the sequence file and type palette).
    This is where the problem appears:
    If I change a step type (in the Type Palette) from using a code module to using a Post-Step substep instead (changing the module adaptor to "None") - any instances do NOT update when you open sequence files. (The same happens vice versa also).
    Please note that the "Type version" listed in the sequence file DOES match that listed in the Type Palette - the properties are the same but the manner in which the code modules are called is DIFFERENT! This then can lead to to runtime errors if the old code module has been deleted for example.
    The only way around this is to open EVERY sequence file that contains an instance of the step type, and make sure that you have "Apply changes to all loaded instances of this type" checked in the step type properties dialog. This is is not a good solution since files could be missed, and is very time consuming if you have hundreds of sequence files!
    What I need is that the Type Palette on any particular station contains the MASTER copies of each type. These are loaded whenever a sequence file is loaded and NOT retreived from the sequence file. As discussed above this seems to work when you modify properties - but doesnt work fine if you change the way in which code modules are called.
    Am I doing something wrong or is this a limitation?

    I had a system recently containing seven sequence files, approx 20 subsequences in each, and around 10-20 steps in each sub-sequence. Every step (except for the NI non-code module types) was an instance of a step type.
    Each one of these steps had an Edit sub-step and a code module called through the code module adapter.
    In order to make these into "wrapped up" step types it was decided to move the code module to a Post-Step substep (as also done in the NI-IVI step types) - so that developers cannot fiddle with the code prototype or module.
    In order to do this I had to open all 7 of the sequence files, make the changes and then ensure that "Apply changes in this dialog to a loaded instances" was checked. This seems to sort of work, but some steps started causing Error 17502 (System Error) when you configure them (call the Edit substep). Over the course of the past few months I have had to effectively check every instance of a type to see if it works (deleting the step and replacing it when it doesnt). Other strange things happened like some of the step type instances now have the "None" (adapter) icon associated with them - but both still work.
    The idea of creating a type-def of a step type is a good one, but frustrating that it doesnt seem to fully work. Why should the sequence file also store a version of the step-type - which is what is effectively causing this problem - why not make it so that if you dont have the step types installed in the type palette - TOUGH! Message Edited by RichM on 03-15-2005 06:55 AM

  • When creating a comment summary, I want to end up with a pdf of comments only. In addition, I do not want author, date, time, or page number to show in my comments summary. How can I do this?

    When creating a comment summary, I want to end up with a pdf of comments only. In addition, I do not want author, date, time, or page number to show in my comments summary. How can I do this? I do a lot of reading, and when I summarize my comments, I like to save these comments in a larger document I compile over time. I typically create a comment summary, export it to a text editor and find myself having to delete author, date, time, page number, and anything else that is not the raw and net comment. It would save me some good time if someone showed me how to do this. The reason I do not want any additional information is because it simply adds stuff I do not need in my compilation of summaries for large amounts of papers over time.

    What you're describing can't be achieved using the built-in comments summary function of Acrobat, but it can certainly be done if a custom-made script it used to generate the summary because then you're in full control of what's included in it and what's not.

Maybe you are looking for

  • Unable to Save new documents in InDesign CS5

    I just upgraded from CS3 toCS5. I'm able to open old InDesign files and save but am not able to save a new document in CS5. I'm also not able to Undo. Any suggestions? Hoping this is an easy fix.

  • Should I partition my external hard drive for FCPX media management?

    Is there any benefit to creating partitions on a single external hard drive for media management purposes? My thoughts were to divide a 1tb external firewire drive into 3x 300gb slices and leave 100gb as "free space".  Each partition would be dedicat

  • Selection screen default value maintain,user cant chage the default value

    hi Friends SELECTION-SCREEN  BEGIN OF BLOCK SCLDBLOCK WITH FRAME. SELECT-OPTIONS:   S_WERKS FOR EBAN-WERKS DEFAULT 'IN01' NO INTERVALS NO-EXTENSION ,                   S_MATNR FOR EBAN-MATNR,                   S_BANFN FOR EBAN-BANFN,                 

  • Problem in Project progress

    Hi, I am facing problem in Project progress report CNE5. System is calculated 300 % poc in Adjusted aggregated actual POC & Aggregated actual POC field only after full confirmed the activity (Degree of Processing is showing in report as 100%). If I c

  • HT1926 How Do I Reinstall itunes?

    I opened my itunes account and was asked to install the latest update to itunes.  Half way though installation I received an error message that the installation was not successful.  Now when I attempt to open itunes, I get an error message saying tha