How to use TextFormat on multiple frames

I must be missing something, but how on earth do I make it so
that I can set TextFormats for the whole movie and not just the
frame the actionscript is on.
My movie is basically a video with cuepoints that trigger
different keyframes that display text appropriate to what the
person featured in the video is talking about. In other words it's
like a powerpoint presentation that's run by an FLV file. Almost
all of the blocks of text I'll be displaying are bulleted lists and
since, for some odd reason, bulleted lists aren't available using
the standard Flash GUI text formating tools I need to apply them
via ActionScript. All the ActionScript is in its own keyframe at
the beginning of the movie timeline. I've setup my text formating
code like this:
var bulletlist:TextFormat = new TextFormat();
bulletlist.bullet = true;
bulletlist_field.setTextFormat(bulletlist);
While I have successfully applied this to a box of text on
the first frame of the movie, I haven't be able to apply it to text
on any other keyframe. So from what I can tell, I have to reference
the above TextFormat actionscript for every frame I need to use it
on, and since I can't have duplicate TextFormat values, that means
I'd have to create a new instance with a new name for each frame.
This seems rather inefficient and frankly ridiculous consider that
the other ActionScript that I wrote seems to apply to the whole
movie. And what's the point of using ActionScript to format text if
you have to redo it for every *******' keyframe? Is there some
function that I'm missing somewhere to allow me to use one set of
TextFormat code on multiple frames or is this simply a dysfunction
of Flash and/or ActionScript 3.
Any help would be appreciated.

Craig Grummitt - Why so it is. Thanks for pointing that out.
But my point still remains: You can change the defaultTextFormat
property before you assign the text property or you can use
setTextFormat() after you have assigned the text property. That one
is a property and the other is a method just makes it more likely
that somebody will over look one or the other!
fallenturtle - part of the issue is that really great
typographic stuff is tough and most people can't even use the
simple tools that we have. For use with CS4 and Flash 10 publishing
they are coming out with a far more complex Text Layout Framework.
As best I can tell it is insanely complex and I'm guessing most
people will never use it....but who knows.
Additionally you are trying to do one of the more difficult
things: mix timeline with code. That always gets tricky. If you
were just using code you could create one textformat instance and
apply it to all your code-created text fields. But since each
timeline created clip is a new one you will need to apply the
formatting by hand.
Or you could just have one timeline created text field that
went across all your frames and then change its properties with
code everytime you needed to change it.

Similar Messages

  • How to use ZendAMF with multiple services?

    I followed Mihai Corlan's tutorial (http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/) to create a remote service with Zend AMF, and it works great.
    But, I can't figure out how to use multiple RemoteObjects. I keep getting the infamous:
               faultCode:Client.Error.DeliveryInDoubt faultString:'Channel disconnected' faultDetail:'Channel disconnected
               before an acknowledgement was received'
    I set up my second RemoteObject the same way that I set up my first one.  But, I can't get it to work.
    Any suggestions? Has anyone seen examples of multiple services being used?
    Thank you!
    -Laxmidi

    I made a stupid php error.
    If you can do a single remote, you can do multiple ones. It's straightforward.
    -Laxmidi

  • How to use OSD with Multiple DPs to remote locations

    Hi
    My SCCM 2012 R2 Primary site is located on my corporate office but i need to use OSD for multiple branch locations in different subnets.in My Organization there is network level DHCP server rather than Windows DHCP...
    What would be the complete configuration in this case .. can some one provide the steps..
    Shailendra Dev

    Hi,
    The best way to forward the PXE boot requests to the DP/PXE server is to use IP Helpers in the routers/switches. I assume that the branch locations are without a DP. You can use DHCP scope options in the DHCP servers as well but you will end up with problems
    when PXE-booting machines that run UEFI becuase it is not the same bootfile used and it is not really supported.
    Maybe standalone media could be an option where you have the most of the TS on a USB stick/Drive.
    Regards,>
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • How to use synonyms on multiple word search ?

    We use context with multiword search like this one :
    select * from my_table where contains(my_text,'the small building near the river')>0
    Now we have specific synonyms in a thesaurus. How do we write the contains clause ?
    contains(my_text,'syn(the,thes) and syn(small,thes) and syn(building,thes) and syn(near,thes) and syn (river,thes)')>0 does not fin the synonym for "small building"="house" for instance
    contains(my_text,'syn(the small building near the river,thes)')>0 does only for synonyms on the full sentence.
    More generally is there an Oracle Document which describes how to use SYN, FUZZY and combine them, since
    the reference documentation gives only limited information on this ?
    Have a nice day

    The thesaurus functionality is not currently built for stuff like this.
    if you want to combine fuzzy and thesaurus, I am assuming you want to do fuzzy first, to correct any misspelling,
    then thesaurus on the "corrected" spellings? You'd have to do something like:
    1. take the query and run ctx_query.explain to break it down and do the fuzzy expansion
    2. work through the fuzzy expansion and build a new query string by sticking SYN() around each
    expanded word
    As for thesaurus expansion and phrase, these are not compatible. Thesaurus expansions use "," and "|", and so
    you cannot have a phrase of thesaurus expansions.
    I see what you're getting at, but you would need sub phrase detection, phrase equivalence, etc., which is
    currently beyond the thesaurus function capability.
    You can use themes (ABOUT) on phrases, and it will do something like what you are describing. You might want
    to check that out.

  • How to use Ajax Get Multiple Values in Tabular form?

    Hi All-
    I am trying to use AJAX to get multiple values in tabular form by using Denes Kubicek's example in the following link -
    http://apex.oracle.com/pls/otn/f?p=31517:239:9172467565606::NO:::
    Basically, I want to use the drop down list to populate rest of the values on the form.
    I have created the example(Ajax Get Multiple Values, application 54522) on Oracle site -
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    Workspace: iConnect
    login: demo
    password: demo
    I was able to duplicate his example on page 1 (home page).
    However, I want to use system generate tabular form to finish this example, and was not able to populate the data correctly.
    Page 2 (method 2) is the one that I am having trouble to populate the column values. When I checked application item values in Session, and the values seems to be populated correctly.
    This is what I have done on this page:
    1. Create an Application Process On Demand - Set_Multi_Items_Tabular2:
    DECLARE
      v_subject my_book_store.subject%TYPE;
      v_price my_book_store.price%TYPE;
      v_author my_book_store.author%TYPE;
      v_qty NUMBER;
      CURSOR cur_c
      IS
      SELECT subject, price, author, 1 qty
      FROM my_book_store
      WHERE book_id = :temporary_application_item2;
    BEGIN
      FOR c IN cur_c
      LOOP
      v_subject := c.subject;
      v_price := c.price;
      v_author := c.author;
      v_qty := c.qty;
      END LOOP;
      OWA_UTIL.mime_header ('text/xml', FALSE);
      HTP.p ('Cache-Control: no-cache');
      HTP.p ('Pragma: no-cache');
      OWA_UTIL.http_header_close;
      HTP.prn ('<body>');
      HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
      HTP.prn ('<item id="f04_' || :t_rownum || '">' || v_subject || '</item>');
      HTP.prn ('<item id="f05_' || :t_rownum || '">' || v_price || '</item>');
      HTP.prn ('<item id="f06_' || :t_rownum || '">' || v_author || '</item>');
      HTP.prn ('<item id="f07_' || :t_rownum || '">' || v_qty || '</item>');
      HTP.prn ('</body>');
    END;
    2. Create two application items - TEMPORARY_APPLICATION_ITEM2, T_ROWNUM2
    3. Put the following in the Page Header:
    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular2(pValue, pRow){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular2',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM2',pValue)
    get.add('T_ROWNUM2',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM2','null')
        gReturn = get.get('XML');
        if(gReturn){
            var l_Count = gReturn.getElementsByTagName("item").length;
            for(var i = 0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
                var l_ID = l_Opt_Xml.getAttribute('id');
                var l_El = html_GetElement(l_ID);   
                if(l_Opt_Xml.firstChild){
                    var l_Value = l_Opt_Xml.firstChild.nodeValue;
                }else{
                    var l_Value = '';
                if(l_El){
                    if(l_El.tagName == 'INPUT'){
                        l_El.value = l_Value;
                    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
                        l_El.parentNode.innerHTML = l_Value;
                        l_El.parentNode.id = l_ID;
                    }else{
                        l_El.innerHTML = l_Value;
        get = null;
    </script>
    Add the follwing to the end of the above JavaScript:
    <script language="JavaScript" type="text/javascript">
    function setLOV(filter, list2)
    var s = filter.id;
    var item = s.substring(3,8);
    var field2 = list2 + item;
    f_set_multi_items_tabular2(filter, field2);
    4. Tabular form query:
    select
    "BOOK_ID",
    "BOOK",
    "SUBJECT",
    "PRICE",
    "AUTHOR",
    "QTY",
    "BOOK_ID" BOOK_ID_DISPLAY
    from "#OWNER#"."MY_BOOK_STORE"
    5. In Book_ID_DISPLAY column attribute:
    Add the following code to element attributes: onchange="javascript:f_set_multi_items_tabular2(this.value,'#ROWNUM#');"
    Changed to -> onchange="javascript:setLOV(this,'f03');"
    Now,  T_ROWNUM2 returns value as f03_0001. But, TEMPORARY_APPLICATION_ITEM2 returns as [object HTMLSelectElement]...
    Please help me to see how I can populate the data with this tabular form format. Thanks a lot in advanced!!!
    Ling
    Updated code in Red..

    Ling
    Lets start with looking at what the javascript code is doing.
    function f_set_multi_items_tabular(pValue, pRow){
      /*This will initiate the url for the demand process to run*/
      var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
                              'APPLICATION_PROCESS=Set_Multi_Items_Tabular',0);
      if(pValue){
        /*If there is an value than submit item name with value*/
        get.add('TEMPORARY_APPLICATION_ITEM',pValue)
        get.add('T_ROWNUM',pRow)
      }else{
        /*Else set the item TEMPORARY_APPLICATION_ITEM to null*/
        get.add('TEMPORARY_APPLICATION_ITEM','null')
      /*Submit the url and te returned document is of type XML*/
      gReturn = get.get('XML');
      if(gReturn){
        /*There is something returned*/
        var l_Count = gReturn.getElementsByTagName("item").length;
        /*For all elements of the tag item*/
        for(var i = 0;i<l_Count;i++){
          /*Get the item out of the XML*/
          var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
          /*Get the id of the item*/
          var l_ID = l_Opt_Xml.getAttribute('id');
          /*Get the element in the original page with the same id as
          **the item we have in the XML produced by the ondemand process
          var l_El = html_GetElement(l_ID);
          /*Now get the value of the item form the XML*/
          if(l_Opt_Xml.firstChild){
            var l_Value = l_Opt_Xml.firstChild.nodeValue;
          }else{
            /*There is no value*/
            var l_Value = '';
          if(l_El){
            /*There is an element with the same id as the item we are processing*/
            if(l_El.tagName == 'INPUT'){
              /*The element is an input item just set the value*/
              l_El.value = l_Value;
            }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
              /*If it is a span elment and has the class grabber
              **Then set the innerHTML of the parent to the value
              **and the id of the parent to the id
              l_El.parentNode.innerHTML = l_Value;
              l_El.parentNode.id = l_ID;
            }else{
              /*Else set the value as innerHTML*/
              l_El.innerHTML = l_Value;
      get = null;
    Now where it went wrong in your initial post
    The XML that was returned by your XML process would be something like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_1">CSS Mastery</item>
      <item id="f03_1">22</item>
      <item id="f04_1">Andy Budd</item>
      <item id="f05_1">1</item>
    </body>
    When you don't use apex_item to create your tabular form a item in the table will look like
    <input id="f02_0001" type="text" value="CSS Mastery" maxlength="2000" size="16" name="f05" autocomplete="off">
    Notice the id's f02_1 and f02_0001 don't match.
    So to make it work the XML would have to look like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_0001">CSS Mastery</item>
      <item id="f03_0001">22</item>
      <item id="f04_0001">Andy Budd</item>
      <item id="f05_0001">1</item>
    </body>
    To do that simply use lpad in the ondemand process like
    HTP.prn ('<item id="f02_' || lpad(:t_rownum,4,'0') || '">' || v_subject || '</item>');
    HTP.prn ('<item id="f03_' || lpad(:t_rownum,4,'0') || '">' || v_price || '</item>');
    HTP.prn ('<item id="f04_' || lpad(:t_rownum,4,'0') || '">' || v_author || '</item>');
    HTP.prn ('<item id="f05_' || lpad(:t_rownum,4,'0') || '">' || v_qty || '</item>');
    Keep in mind that the above is based on your original post and #ROWNUM# not being lpadded with zero's.
    Nicolette

  • How to use DirectCast for multiple selected rows?

    Hi<o:p></o:p>
    Me.SecondBindingSource.DataSource = DirectCast(parentForm.FirstBindingSource.Current, DataRowView) works perfect for single items but how do I do it if I've selected multiple rows on datagridOne and want to pass only the selected rows to datagridTwo using DirectCast? 
    Me.SecondBindingSource.DataSource = DirectCast(main.FirstBindingSource.Current, DataRowCollection) does not work??<o:p></o:p>

    You have to put the rows into a datatable.  It is usually best if your original source is a datatable.  The filter the original datatable.  The selected rows of the datagrid are the same row numbers in the source datatable.
    jdweng

  • How to use IWEB for multiple websites?

    Okay.
    I have two websites. One on a 3rd party, one on .MAC.
    Computer 1 = .MAC website
    Computer 2= 3rd party website
    I want to use computer 2 to edit my .MAC website and moved the DOMAIN file but haven't open it in iWEB on the second computer as I need to know how to open and not destroy the 3rd party website.
    How is this done?
    Thanks.

    You can rename the domain file to something descriptive of the site and open them manually. But I find it much safer to use iWebSites for managing multiple sites, over 25. I use iWebSites to manage multiple sites.. It lets me create multiple sites and multiple domain files.
    If you have multiple sites in one domain file here's the workflow I used to split them into individual site files with iWebSites. Be sure to make a backup copy of your original Domain.sites files before starting the splitting process.
    This lets me edit several sites and only republish the one I want.

  • How best to deal with multiple frame rates in storyline?

    Hey all, my lack of attention to detail may have cost me hours.  I have a movie I am working on and made the stupid assumption that all my clips are the same frame rate.  Don't ask why I didn't check - just sheer stupidity.
    So now I have numerous clips in the storyline all meticulously edited to sync with other clips, music, the whole nine.  Some source clips are 24p while others are 60i.  Do I really have to go back and convert each clip individually?  I am looking to preserve quality as much as possible, and I know getting 60i to 24p will create some loss, but is there a nice and easy way to do the converting all at once after I complete the storyline?
    Thanks in advance.  Time to go do something else while I wait for answers...

    on playback inside FCPX.
    And on export.
    you'll notice in the 'Retime Menu' the Option 'Conform Speed' - eg, when I add a 60p clip to my 25p Project, I get a wonderful smooth slomow, due to the 60fps get 'stretched' to 25fps.
    if I don't Conform Speed, the 60p get playbacked - in a 25p pProject! - in real time => no slowmo
    How 'good' FCPX does the marvel to down-cascade 60i into 24p ... try yourself.
    no interlaced material in use here.
    quality is in the eye of the beholder ...

  • How to use iPhone with multiple computers on iTunes 11?

    Both of my computers are Windows 7. I try to manage my music and videos on both iTunes. I used to be easy, like you just check the "Manually manage music and videos" square, and everything is fine... But after I update to iTunes 11, it just doesn't work. There is no resulting dialog box coming up where I can click "OK" after I checked square, and no matter I click "apply" below or "done" above, the iTunes asks to erase and sync with the iPhone. After it syncs, the "Manually manage music and videos" is checked. But if I move to another computer another iTunes, then it says I'm already syncing with one iTunes, and it needs to erase and sync with my iPhone again... and of course, the "Manually manage music and videos" is unchecked on this iTunes... If I try to check that on this one.. it's the same story happened before... Basically, there is just no way I can use one iPhone on two iTunes 11, is it?

    Sync iPod/iPad/iPhone with two computers
    Although it isn't possible to sync an Apple device with two different libraries it is possible to sync with the same logical library from multiple computers. Each library has an internal ID and when iTunes connects to your iPod/iPad/iPhone it compares the local ID with the one the device normally syncs with. If they are the same you can go ahead and sync...
    I have my library cloned to a small 1Tb USB drive which I can take between home & work. At either location I use SyncToy 2.1 to update the local copy with the external drive. Mac users should be able to find similar tools. I can open either of the local libraries or the one on the external drive and update the media content of my iPhone. The slight exception is Photos which normally connects to a specific folder on a specific machine, although that can easily be remapped to the current library if you create a "Photos" folder inside the iTunes Media folder so that syncing the iTunes folders keeps this up to date as well. I periodically sweep my library for new files & orphans with iTunes Folder Watch just in case I make changes at one location but then overwrite the library with a newer copy from the other. Again Mac users should be able to find similar tools.
    As long as your media is organised within an iTunes Music or Tunes Media folder, in turn held inside the main iTunes folder that has your library files (whether or not you let iTunes keep the media folder organised) each library can access items at the same relative path from the library folder so the library can be at different drives/paths on different machines. This solution ensures I always have adequate backups of my library and I can update my devices whenever I can connect to the same build of iTunes.
    When working with an iPhone earlier builds of iTunes would remove any file not physically present in the local library, even if there was an entry for it, making manual management practically redundant on the iPhone. This behaviour has been changed but it will still only permit manual management with a library that has the correct internal ID. If you don't want to sync your library between machines on a regular basis just copy the iTunes Library.itl file from the current "home" machine to any other you want to use, then clean out the library entires and import the local content you have on that box.
    tt2

  • How to use ipod on multiple computers

    How can I download/sychronize my itunes library with my ipod from more than one computer.  I have several computers.

    You must maintain identical copies of your /Home/Music/iTunes/ folder on every computer, configure every computer for the same Apple ID and password.
    iDevices are not intended to be used with more than one computer. Doing so means that every computer must be configured identically as far as using iTunes is concerned. Or you only sync with one computer, which is the intended usage.

  • How to use bulk in multiple cursors !!

    Hello All,
    I am having a following program that perfectly runs but its taking very huge time to complete it.
    Can any one suggest how i can improve the performace of this code ..
    thanks in advance - appreciate your help .
    Here's the program.
    ==============
    procedure Proc_Fmly_VehicleTA_Cnt is
    CURSOR c_cur_fmly IS SELECT FAMID, NUM_AUTO, NUM_TVAN, VEHQ, VEHQL FROM FMLY;
    CURSOR c_cur_eovb_auto IS SELECT FAMID, VEHICIB ,VEHICYB FROM EOVB WHERE VEHICYB = gv_eovb_vehicyb_automobiles ;
    CURSOR c_cur_eovb_trucks IS SELECT FAMID, VEHICIB ,VEHICYB FROM EOVB WHERE VEHICYB = gv_eovb_vehicyb_trucks ;
    v_total_automobiles number := 0 ;
    v_total_trucks number := 0 ;
    v_procedure errorlog.procedure_name%TYPE default 'Proc_Fmly_VehicleTA_Cnt';
    v_location errorlog.location%TYPE;
    BEGIN
    v_location := 4 ;
    -- global variables gv_eovb_vehicyb_automobiles = 100 gv_eovb_vehicyb_trucks = 110
    -- <<Computing the owned vehicles - automobiles >>
    -- INNER BLOCK
    BEGIN
    FOR i IN c_cur_fmly LOOP
    FOR j IN c_cur_eovb_auto LOOP
    IF ( i.FAMID = j.FAMID ) THEN
    v_total_automobiles := v_total_automobiles + chk_notnull_blank( j.vehicib);
    END IF;
    END LOOP ;
    UPDATE FMLY SET NUM_AUTO = v_total_automobiles WHERE famid = i.famid ;
    v_total_automobiles := 0;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    v_err_code := SQLCODE;
    v_err_msg := substr(SQLERRM, 1, 200);
    INSERT INTO audit_table (error_number, error_message) VALUES (v_err_code, v_err_msg);
    error_logging(p_error_code => substr(sqlerrm,1,9), p_error_message => substr(sqlerrm,12), p_package => 'PKG_FCI_APP',p_procedure => 'Proc_Fmly_VehicleTA_Cnt' , p_location => v_location);
    END;
    -- <<Computing the owned vehicles - trucks >>
    -- INNER BLOCK
    BEGIN
    FOR i IN c_cur_fmly LOOP
    FOR j IN c_cur_eovb_trucks LOOP
    IF ( i.FAMID = j.FAMID ) THEN
    v_total_trucks := v_total_trucks + chk_notnull_blank( j.vehicib);
    END IF;
    END LOOP ;
    UPDATE FMLY SET NUM_TVAN = v_total_trucks WHERE famid = i.famid ;
    v_total_trucks := 0;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    v_err_code := SQLCODE;
    v_err_msg := substr(SQLERRM, 1, 200);
    INSERT INTO audit_table (error_number, error_message) VALUES (v_err_code, v_err_msg);
    error_logging(p_error_code => substr(sqlerrm,1,9), p_error_message => substr(sqlerrm,12), p_package => 'PKG_FCI_APP',p_procedure => 'Proc_Fmly_Vehicle_Cnt' , p_location => v_location);
    END;
    -- END OUTER BLOCK
    EXCEPTION
    WHEN OTHERS THEN
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    v_err_code := SQLCODE;
    v_err_msg := substr(SQLERRM, 1, 200);
    INSERT INTO audit_table (error_number, error_message) VALUES (v_err_code, v_err_msg);
    error_logging(p_error_code => substr(sqlerrm,1,9), p_error_message => substr(sqlerrm,12), p_package => 'PKG_FCI_APP',p_procedure => 'Proc_Fmly_VehicleTA_Cnt ', p_location => v_location);
    END Proc_Fmly_VehicleTA_Cnt;
    -- ignore error_logging procedure ; its a part of package.
    thanks/kumar
    Edited by: kumar73 on Sep 17, 2010 9:36 AM
    Edited by: kumar73 on Sep 17, 2010 9:37 AM

    btw your exception handler has a couple of problems (I've formatted it for you):
    EXCEPTION
       WHEN OTHERS THEN
          RAISE_APPLICATION_ERROR
          ( -20001, 'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM );
          v_err_code := SQLCODE;
          v_err_msg  := SUBSTR(SQLERRM, 1, 200);
          INSERT INTO audit_table (error_number, error_message) VALUES (v_err_code, v_err_msg);
          error_logging
          ( p_error_code => substr(sqlerrm,1,9)
          , p_error_message => substr(sqlerrm,12)
          , p_package => 'PKG_FCI_APP'
          , p_procedure => 'Proc_Fmly_VehicleTA_Cnt'
          , p_location => v_location ); When RAISE_APPLICATION_ERROR raises the exception, the procedure will terminate and the error logging steps below it won't get called.
    Also if you just want to re-raise an exception without adding any information or your own message etc, then you should use RAISE, not RAISE_APPLICATION_ERROR. If you're going to use RAISE_APPLICATION_ERROR it should be something like:
    RAISE_APPLICATION_ERROR
    ( -20001
    , 'Could not set automobile count to ' || v_total_automobiles || ' for family ' || i.famid
    , TRUE );Notice the last parameter, TRUE, which tells it to keep the existing error stack (i.e. whatever Oracle error made it fail), which will then appear underneath your custom error message. You should never concatenate SQLERRM into a RAISE_APPLICATION_ERROR message. (And SQLCODE is just the error number that is already part of SQLERRM so there is no point including that anyway.)
    Those changes give you something like:
    EXCEPTION
       WHEN OTHERS THEN
          INSERT INTO audit_table (error_number, error_message)
          VALUES (SQLCODE, SUBSTR(SQLERRM,1,200));  -- btw why SUBSTR? Why not log the entire message?
          error_logging
          ( p_error_code => substr(sqlerrm,1,9)
          , p_error_message => substr(sqlerrm,12)
          , p_package => 'PKG_FCI_APP'
          , p_procedure => 'Proc_Fmly_VehicleTA_Cnt'
          , p_location => v_location );
          RAISE_APPLICATION_ERROR
          ( -20001
          , 'Could not set automobile count to ' || v_total_automobiles || ' for family ' || i.famid
          , TRUE );

  • How to use Mail on multiple computers imap pop ?????

    I have gmail account.
    Set up mail.app on my laptop.
    When i send messages from my laptop, doesnt show up on my gmail account, when i check from the web.
    also, setting up mail.app on my mac mini, and doesnt import sent messages from laptop, how do i sync? using imap worked better for the mini. using pop for the laptop. thanks.
    Message was edited by: jaredddddd

    If you have a POP account, you can send mail to yourself, but Mail will not retrieve it. I've tested that many times myself, so I speak from experience.
    My opinion is that you should stick to a POP account, skip the iPhone thing (you don't need yet another gadget, do you?), and just login from your Mac(s) and leave the mail on the server if you want all your computers to be able to have the same messages.
    Mulder

  • How to use a variable multiple times in the data flow

    DECLARE
    @StartTime datetime,
    @EndTime datetime
    SET @StartTime = (SELECT MAX(AvailDateTime) FROM dbo.Fact)
    SET @EndTime = (SELECT MAX(AvailDateTime) FROM dbo.Product);
    --DATEADD(day, 1, @StartTime);
    --PRINT @StartTime
    --PRINT @EndTime;
    WITH
    dates AS (
    SELECT DATEADD(Minute,5,@StartTime) AS [date]
    WHERE DATEADD(Minute,5,@StartTime) <= @EndTime
    UNION ALL
    SELECT DATEADD(minute, 5 ,t.date) AS [date]
    FROM dates t
    WHERE DATEADD(minute, 5, t.date) <= @EndTime
    I have the above sql, in this I'm using the 2 variables and calling @Starttime Variable couple of time. How should I build the SSIS package based on this query? how can I call the same variable in different place? how will SSIS take it?
    Thanks

    Since you have the variables set in code you just can place this code into the SQL code section of say an OLEDB source
    like there
    or

  • Hi i want to how to use DTO in struts frame work.

    hi all,
    i want to display content on jsp pages using DTO object.
    in my application one jsp page for user input. foruser input i am creating one action form for this. and also one DTO class for handing action form .
    my main aim is elimunate the actionclass coding thrugh DTOclass .
    this is my problem.
    can you tell me how to do this.if any solution please forward me .
    my email address is [email protected]

    Please ignore my previous answer. RowSetDynaClass can be implemented DTO but this will only solve half of your problem. RowSetDynaClass can be used to retrieve the data from the database. RowSetDynaClass cannot be used to encapsulate the data from a Form to take to the database. For this you can use a HashMap or BeanUtils classes.
    There are a few examples of implementing those. But I am still looking for a good one.
    Is there any point to use RowSetDynaClass to retrive info from DB if you are going to use a HashMap/BeanUtils to get the information from the Form? Should we only use HashMap/BeanUtils for transport the information back and forth between DB and View?
    Message was edited by:
    gabinux06

  • Plz Help : How to use FrameGrabbingControl to extract frame from video.

    I m trying to extract frame from the video (from .mpg file)using FrameGrabbingControl on the click of the button.There is no problem related to playing video.
    import javax.media.control.*
    public void actionperformed(ActionEvent ae)
    String s = ae.getActionCommand();
    if(s.equals("click") )
    FrameGrabbingControl fgc = (FrameGrabbingControl) player.getcontrol("FrameGrabbingControl"); //it is returning null
    Buffer bf = fgc.grabFrame(); // so here nullpointerException
    }

    hi I am also experiencing the same prob.can u send me the code if u got one..my mail id is [email protected].we are working on a proj to extract jpeg images from any movie file in jmf...can u help us

Maybe you are looking for

  • Subject: Verizon suddenly refuses to send email from Eudora (Mac)

    Hello. On August 1st, my computer suddenly lost the ability to send verizon email. It will still receive it, and still sends and receives gmail. I had changed no settings whatsoever (not since last year, when Verizon required a change in the outgoing

  • Any Solutions to the 320gb WD harddrive and upgrading to SL?

    Really need a solution to the 320wd hdd problem. I have one mac and really dont want to take the harddrive out and do it that way. Plus in the future i dont this hassle again when i do fresh installs. For people that dont know the problem, everyone w

  • Nautilus hiding files with '~'

    Hey there! I tried everything in Nautilus itself, and even activating the gconf key "/desktop/gnome/file-views/show_backup_files", but nothing works, even not after a re-login. Does anybody have a clue?

  • PowerPoint plug in for InDesign?

    I find myself, as I'm sure many folks do, frequently having to create presentations for PowerPoint users, even though my applications of choice are InDesign and Illustrator. Does anyone know of a plug-in for InDesign that will allow you to create a m

  • JDBC 4.0 Oracle Dataabse 11g

    The new features in Oracle Database 11g indicates that Oracle Dataabse 11g is JDBC 4.0 compliant. "Oracle Database 11g is compliant with JDBC 4.0 and Java SE 5.0 for the JDBC drivers and Oracle Java Virtual Machine (JVM)." http://www.oracle.com/techn