Help on the use of iMessages

I had a problem sending iMessages enter in an e-mail or a number that iMessages would accept.

Could you please describe the issue in more detail. Check possible solutions here: If you cannot send or receive messages on your iPhone, iPad or iPod touch - Apple Support

Tags: iPad

Similar Questions

  • Need help with the use of beam between two subVis

    Hi all

    I have two inside a big Vi subVis that need to be connected one to the other.

    It's a complicated thing, I already have many sons in the wholesale Vi, which will become a mess if I connect these two subVis line-by-line (there are nearly 16 lines between them).

    I tried bundle but failed two times (basically I don't know how to connect the wires grouped source Subvi the slot - VI intended).

    Could someone give me an idea?  A simple example of VI would be useful.

    Thank you

    + Kunsheng

    You can get a lot of help on the Web site of NOR, too, as this document.

  • Need quick help! The use of tables

    I just started using flash a few weeks ago, and for one of my school projects I am creating a pokedex which will display information, when the user clicks on some buttons. for example 'If you click the attack button, then 4 attacks will appear. I currently use frame skipping to my application; but my teacher suggested I use tables to make them all appear on a single image, but I don't know how to do this. Can anyone help?

    Thanks in advance.

    Tables are variables that contain several elements. A common use for tables is to make collections of items so that items can be related to each other by their relative position in each table. For example:

    var letters: Array = new Array ("A", "B", "C", "D");

    Table of figures: var = new Array (1,2,3,4).

    Now, you can find an element in a table by searching for here:

    var thisOne:int = letters.indexOf ('B');

    trace (thisOne);

    var thatOne:Number = numbers [letters.indexOf ('B')];

    trace (thatOne);

    The first trace shows that the letter B is in position 1 of the table letters. The trace of the second shows that the item in the table of figures in position 1 is number 2.

    Who help me? You can learn more about the use of arrays in Flash here: ActionScript 3 fundamentals: paintings | Adobe Developer Connection

  • Need help with the use of conditions in the correspondence management

    Hello

    Could someone please provide me with any tutorials or tips on the use of conditions in the correspondence management.

    Thank you.

    http://help.Adobe.com/en_US/enterpriseplatform/10.0/CorrespondenceManagementSolution/WS6db 1f95d7f6c954f-27f2691012b7fafb54f - 7ffe.html

  • I need help with the use of Class.forName and getResourceAsStream

    I am trying to write code that will play an audio file. All references I found the point of code as follows...

                              Class dir = Class.forName("lib.testother");
                                InputStream input = dir.getResourceAsStream("/explosion.aac");
                                Player player =
                                    javax.microedition.media.Manager.createPlayer(input, "audio/aac");
                                player.realize();
                                VolumeControl vol = getVolumeControl(player);
                                if (vol != null)
                                {
                                    int volume = vol.getLevel();
                                    vol.setLevel(volume);
                                }
                                player.prefetch();
                                player.start();
    

    I use Blackberry JDE. Now, I'm supposed to put the audio file of the project?

    Second, how then use the class.forName function? I put the audio file as a member of the project and then tried the above code and I get that it can not find lib.testother (which is the path of the code).

    If I use getClass() instead of dir above, getResourceAsStream returns null.

    Are there examples of the use of these or how to include the audio in your project... from end-to-end. The code snippet above is all I could find and it isn't enough.

    THX

    D

    Check this thread:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=11616&query.ID=18...

  • Need help on the use of the PCI-6221 and c# to control three digital Port and an analog of entry

    I need to send the digital output at three ports and then read an analog input voltage using the analog card PCI-6221.

    I did a c# program to fight against it. I built four tasks altogether. Three tasks for three digital output ports and a single task for analog input.

    How can I reduce the time?

    Using my method, to 3.3ms in total. And it's slow.

    I can build one task for three ports?

    What is the best way to the control task to reduce the time of communication with the PC?

    Is that possible to save a lot of analog reading entry in the memory of the DAQ hardware and then read it all together from the computer in order to reduce time consumption?

    1 million thanks!

    Hello

    Hi Jin,

    To answer your questions, Yes, you are able to configure a task of digital output to use three output ports and PCI-6221 has a buffer of memory FIFO aboard 4095 samples.

    I would like to direct you to the example of NOR-DAQmx for c# files located in the following location on your computer

    C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET2.0

     

    Here, you will find predefined examples in c# that should give you a good idea of how to go about architecting your code to achieve the results you need.

    There is also a useful help file which you will find by navigating to Start > all programs > National Instruments > NOR-DAQ > help of NOR-DAQmx .NET Framework 2.0

    I hope that this answer is useful.

    Best regards

    Steve H

  • Need help on the use of the Regex to parse the addresses

    Let me start by saying three things:

    1. I suck at the regex
    2. I googled this and did not come with an answer, and
    3. I am in ColdFusion 10

    I have a form with an AutoComplete entry that allows a user to enter street addresses (either in full as "123 Main St, Mayberry" or in the part "123 Main St" or "Main St" or "Main St, Mayberry".)  I need to say if the user provided a street number or not at the beginning of the value they get into the entry.  I'm testing the value of entry with this code:

    < ReFind ("^([0-9]{1-5})", q) cfif >

    <! - address begins with a number - >

    < cfelse >

    <! - address does not start with a number - >

    < / cfelse >

    q is the input value passed in my code for the AutoComplete feature.

    x should be 0 (if the input value does not begin with a number) or a positive integer (if the input value starts with a number).

    Basically, I just need to know if the input value begins with a five-digit.

    I guess I could just do something like:

    < Val (q) cfif >

    I'm better use an expression, and if so, what I'm doing wrong with the one I tried?

    -Carl V.

    1.5 {} {1-5} is not.

    Perhaps read my series of articles about CF regexes to help you get up to speed with them better:

    http://adamcameroncoldfusion.blogspot.co.UK/2012/12/regular-expressions-in-ColdFusion-part .html

    --

    Adam

  • HFM SDK - help on the use of HsvcDataLoad

    Hello

    HFM Version 9.3.1.4

    I'm trying to code a data load in HFM using Visual Studio 2010

    So I download the SDK and example in the 9.3. SDK are for VB6 and therefore not expandable so I download the samples from the SDK V11

    I have the Getting Started example to the top and runnig - connects to HFM and allow me to recover data - all right

    So I added, first all the scan just a data file, the following Sub appeal before the original:

    ' - CODE INSERTED
    LoadHFMData()

    frmData.Show)

    Private Sub LoadHFMData()
    On Error GoTo LOAD_ERROR

    Dim cHsvcDataLoad As HSVCDATALOADLib.HsvcDataLoad

    cHsvcDataLoad = New HSVCDATALOADLib.HsvcDataLoad
    cHsvcDataLoad.SetSession (g_cSession)

    cHsvcDataLoad.Load ("D:\Temp\Test_VB_Load.dat", "D:\Temp\myApp.log")
    LOAD_ERROR:
    Dim s As String
    s = ' year error occurred while loadign data to the application. "& vbCrLf & vbCrLf
    s = s & "error number:" & Hex (Err.Number) "»

    System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default
    MsgBox (s)
    getStart.DestroyObjects)
    frmLogon.Show)
    Me.Close)
    End

    End Sub

    So it compiles with no errors

    I seem to be able to connect on HFM as before

    But then I get an unknown error

    < Num HEX = 0x80040DC0 - > 2147217984 < / Num >
    < Src = HFM description > an unknown error occurred in the object HsvcDataLoad. < / Description >
    < type > 1 < / Type >
    < DTime > 07/04/2011 03:14 < / DTime >
    HQP-AS-HYPFDM01 < Svr > < / Svr >
    CHsvcDataLoad.cpp < file > < / file >
    < line > 1193 < / Line >
    < Worm > 9.3.1.0.1502 < / worm >

    The data of file scans find in HFM

    Any help would be welcome.

    Thank you

    Jim

    Hello

    First thing: I was not to say that you just need to add the option for accumlating, rather you must include options options in the first place that the original code did not show any reference to load. That said, try the following to load options...

    cOptions = cHsvcDataLoad.LoadOptions

    cOptions.get_Item (HSV_DATALOAD_OPTION. HSV_DATALOAD_OPT_DUPLICATES). CurrentValue =
    cOptions.get_Item (HSV_DATALOAD_OPTION. HSV_DATALOAD_OPT_ACCUMULATE_WITHIN_FILE). CurrentVale =

    This assumes that cHsvDataLoad is of type HsvcDataLoad and has been initialized AND set up a session...

    i.e.

    Dim cHsvDataLoad as HsvcDataLoad
    cHsvDataLoad = new HsvcDataLoad()
    cHsvDataLoad.SetSession ()

  • Help in the use of reversal and rolloffs for text understanding

    I have a word in a phrase called 'Contours '.  When the user places the mouse over it, I would like that text to appear that will define what it means "contours".»  How can I do this in DW MX2004.

    I also want to use the same method for a word related as well.

    Any help would be appreciated.

    Dreamweaver beginner

    Tag title = heading of the page, between theandTags.


    Title attribute is different and it is applied inside an element to give it additional meaning.

    Copy the following code

    Contours

    This product:

    Contours

    Ref: http://www.w3schools.com/tags/att_standard_title.asp

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    www.Alt-Web.com/
    www.Twitter.com/ALTWEB
    www.Alt-Web.blogspot.com

  • Need help in the use of ctx_doc.themes)

    Hello
    I am new to oracle text, I have a table that has a column "e_id" (primary key) and text data in a column that is indexed context, now I want to find words appearing frequently in this column, so I use the ctx_doc.themes () procedure to achieve.
    I created an array of result "ctx_themes" which has query_id, themes and columns of weight which will fill after executing the ctx_doc.themes proc (), but I am facing the error after execution of the ctx_doc.themes () procedure, so below please help me in the question of fixing.

    Start
    ctx_doc.set_key_type ('PRIMARY_KEY');
    end;

    Start
    ctx_doc. Themes ('text_data_index', 'e_id', 'CTX_THEMES', 1, full_themes = > FALSE, num_themes = > 20);
    end;
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Error from the 1 in the command line:
    Start
    ctx_doc. Themes ('text_data_index', 'e_id', 'CTX_THEMES', 1, full_themes = > FALSE, num_themes = > 20);
    end;
    Error report:
    ORA-20000: Oracle text error:
    DRG-11445: rowid value is not valid: e_id
    ORA-06512: at "CTXSYS. DRUE", line 160
    ORA-06512: at "CTXSYS. CTX_DOC', line 210
    ORA-06512: at line 2
    20000 00000 - '%s '.
    * Cause: The stored procedure 'raise_application_error.
    We called that causes this error to be generated.
    * Action: Fix the problem, as described in the error message or contact
    the administrator of the application or the DBA for more information.

    Thank you.

    If your name of the index myindex you can do:

    select token_text, sum(token_count) as total
    from dr$myindex$i
    where token_type = 0
    having sum(token_count) > 10
    group by token_text
    order by total desc
    

    Lists all of the chips with more than 10 occurrences.

    Otherwise, I think that ctx_report.index_stats will list page high fees, but I'm not sure about this.

  • Need help with the use of GROUP BY in a select statement UNION

    I am writing a query that allows to combine a legacy system that interfaces it is trial balance in the Oracle of R12 GL.  It was only meant to continue for a month or two, but it is likely to continue for 6 months. Please Auditors Auditors, to provide proof that the system is in balance with Oracle GL.  By my verification requirements, I need to make a full reconciliation from the month of conversion (life in the amount of date), then PTD for each month. 

    The legacy account is placed in attribute1 on the lines of the journals. Uses of the old system balancing segments that are also used on the platform in Oracle for this division, i.e., Procure-to-Pay has been cut over Oracle, but not everything yet.  So, I can't count on the GL_BALANCES table for the info, I get from the JE_LINES.

    My problem is not the only request for the month.  But when I try to combine the queries with a Union, to aggregation of each measurement period in its own column, the group is necessary after each selected instruction rather than allowing me to put at the end of the UNION.  (When I put the group by at the end of the UNION, I have the 'not one group' function)

    So I get duplicate for each month of discrete measure accounts. When I duplicate in my Oracle database accounts, I can't count on the VLOOKUP function in excel to exactly match an account of inheritance.  I know there are more sophisticated ways to provide this output, but I'm hoping to get this info in a simple query.

    Thank you in advance for any advice you can provide

    Example of data output (the goal for me is to get the two rows to appear as one based on common points on the LEGACY_ACCOUNT and the ORACLE ACCOUNT

    The LEGACY ACCOUNT ORACLE ACCOUNT JUN_15 JUL_15 AUG_15 SEP_15 OCT_15 NOV_15 DEC_15
    010000001109000003584190-600552-1001-100231-000-0000-0000-000000-242961.040000
    010000001109000003584190-600552-1001-100231-000-0000-0000-00000192588.0200000

    Here is a simplified version of my code that returns both records.  In my research, I had found a number of conversations where it has been shown that the group could be put at the end of the select statement.  However, when I remove the group from the first select statement I get SQL error: ORA-00937: not a function of simple-group

    Select

    l.attribute1 LEGACY_ACCOUNT,

    C.SEGMENT1: '-' | C.SEGMENT2: '-' | C.SEGMENT3: '-' | C.SEGMENT4: '-' | C.SEGMENT5: '-' | C.SEGMENT6: '-' | C.SEGMENT7: '-' | COMBINATION OF C.SEGMENT8,

    JUN_15 TO_NUMBER('0').

    JUL_15, sum (NVL(l.accounted_dr,0.00)-NVL(l.accounted_cr,0.00)),

    TO_NUMBER('0') AUG_15.

    TO_NUMBER('0') SEP_15.

    TO_NUMBER('0') OCT_15.

    TO_NUMBER('0') NOV_15.

    DEC_15 TO_NUMBER('0')

    Of

    b GL.gl_je_batches,

    GL.gl_je_headers h,

    GL.gl_je_lines l,

    GL.gl_code_combinations c,

    GL.gl_je_sources_tl j

    where b.je_batch_id = h.je_batch_id

    and h.je_header_id = l.je_header_id

    and l.code_combination_id = c.code_combination_id

    and h.je_source = j.je_source_name

    and c.segment1 ('190 ', '191', '192', '193', '194', ' 195 ', ' 196',' 197', ' 198 ', ' 199',)

    ('200 ', '203', ' 205', '206 ', '330', '331', '332',' 333 ', ' 334',' 335', ' 336 ', ' 337')

    and j.language = 'en '.

    and h.PERIOD_NAME ("JUL-15'")

    Group

    l.attribute1,

    C.SEGMENT1: '-' | C.SEGMENT2: '-' | C.SEGMENT3: '-' | C.SEGMENT4: '-' | C.SEGMENT5: '-' | C.SEGMENT6: '-' | C.SEGMENT7: '-' | C.SEGMENT8

    UNION

    Select

    l.attribute1 LEGACY_ACCOUNT,

    C.SEGMENT1: '-' | C.SEGMENT2: '-' | C.SEGMENT3: '-' | C.SEGMENT4: '-' | C.SEGMENT5: '-' | C.SEGMENT6: '-' | C.SEGMENT7: '-' | COMBINATION OF C.SEGMENT8,

    JUN_15 TO_NUMBER('0').

    TO_NUMBER('0') JUL_15.

    AUG_15, sum (NVL(l.accounted_dr,0.00)-NVL(l.accounted_cr,0.00)),

    TO_NUMBER('0') SEP_15.

    TO_NUMBER('0') OCT_15.

    TO_NUMBER('0') NOV_15.

    DEC_15 TO_NUMBER('0')

    Of

    b GL.gl_je_batches,

    GL.gl_je_headers h,

    GL.gl_je_lines l,

    GL.gl_code_combinations c,

    GL.gl_je_sources_tl j

    where b.je_batch_id = h.je_batch_id

    and h.je_header_id = l.je_header_id

    and l.code_combination_id = c.code_combination_id

    and h.je_source = j.je_source_name

    and c.segment1 ('190 ', '191', '192', '193', '194', ' 195 ', ' 196',' 197', ' 198 ', ' 199',)

    ('200 ', '203', ' 205', '206 ', '330', '331', '332',' 333 ', ' 334',' 335', ' 336 ', ' 337')

    and j.language = 'en '.

    and h.PERIOD_NAME ("AUG-15'")

    Group

    l.attribute1,

    C.SEGMENT1: '-' | C.SEGMENT2: '-' | C.SEGMENT3: '-' | C.SEGMENT4: '-' | C.SEGMENT5: '-' | C.SEGMENT6: '-' | C.SEGMENT7: '-' | C.SEGMENT8

    order by 1

    Is there a good reason to make this period both as a series of trade unions?  This looks like a classic pivot for me query.  This will make a way through the tables and should get the desired results.

    Select l.attribute1 legacy_account,

    c.Segment1: '-' | c.Segment2: '-' | c.segment3: '-' | c.segment4: '-' |

    c.segment5: '-' | c.segment6: '-' | c.segment7: '-' | combination of c.segment8,

    sum (case when h.period_name = 'JUN-15'

    then nvl(l.accounted_dr,0.00)-nvl(l.accounted_cr,0.00)

    otherwise 0 end) jun_15,.

    sum (case when h.period_name = 'JUL-15'

    then nvl(l.accounted_dr,0.00)-nvl(l.accounted_cr,0.00)

    otherwise 0 end) jul_15,.

    - and similar to DEC - 15

    GL.gl_je_batches b, gl.gl_je_headers h, gl.gl_je_lines l.

    GL.gl_code_combinations c, gl.gl_je_sources_tl j

    where b.je_batch_id = h.je_batch_id

    and h.je_header_id = l.je_header_id

    and l.code_combination_id = c.code_combination_id

    and h.je_source = j.je_source_name

    and c.segment1 ('190', '191', '192', '193', '194', '195',' 196', ' 197',

    '198 ', '199', '200', '203', '205' ', 206',' 330 ', ' 331',

    "332 ', '333', '334', '335',' 336 ', ' 337')

    and j.language = 'en '.

    and h.period_name (' Jun-15', ' 15 JUL', ' AUG-15'... "" ")

    L.attribute1 group,

    c.Segment1: '-' | c.Segment2: '-' | c.segment3: '-' |

    c.segment4: '-' | c.segment5: '-' | c.segment6: '-' |

    c.segment7: '-' | c.segment8

    If you're on the 11G version of the database, you might want to look at the PIVOT keyword that will do the same thing in a more concise expression.

    John

  • Small request help on the use of the global temporary table - some doubts


    Hi all

    Few days back according to a condition, I used a TWG (on the ranks of commit preserve).

    I created a trigger (before the insertion of line level) on GTT that calls a procedure (pragma autonomous transaction declared in the procedure).

    Procedure inserts data into two tables and I have a validation final (after the two insertion of data in tables) in the procedure.

    I tested by inserting the number of lines in TWG and found that the two tables are correctly supply procedure called by trigger.

    Which means that my works absolutely perfect functionality. (performance is also good)

    Now, my question is: since in the production source ETL tool will load this TWG.

    ETL will use this table in different processes simultaneously.

    Suppose that a single session ETL populates this table, and at the same time in parallel another session fills this table with different data. is there a lock on this TWG?

    Would the TWG is blocking other lines to add at any time?

    Is it possible that data may disappear without completing the entire process prematurely TWG?

    PS the feature I developed is the generic exception feature. This works for all valid tables for the database. For most of the tables will be filled with ETL, that's why I had these doubts in my mind.

    I apologize, if these seems like childish doubts.

    Thank you very much

    Arpit Agrawal

    Each line I'll get my GTT and follow all the features [trigger procedure &], will be considered as a session until the validation, right?

    This is not correct, a session is considered between the opening of session (session is created) and close the session (session is closed) of the database.

    If I use, validation TWG deletions here, how would he had differed on commit preserve as when my feature is completed, I don't want to keep more data.

    If on commit delete has been used here, it wouldn't make a difference in your case since you make is ENGAGING in some AUTONOMOUS OPERATIONS.

    In both cases, commit delete and commit preserve, you don't have to worry about the data inside the TWG because it will be empty onece you logoff (session ends).

    However, you can perform a delete operation in your session if you do not want to keep the data up to the end of the session.

  • help on the use of dynamic action to update the items in a table (more precisely, the radio button) based on the collection

    Hi everyone, I posted this question in the past and made huge strides with the help of Denes Kubicek: https://apex.oracle.com/pls/apex/f?p=31517:294:115851992029365: based on my previous question posted: https://forums.oracle.com/forums/thread.jspa?threadID=2537494

    I'm fighting with a single element in my tabular presentation.  There is a radio button.  The choices all seem correctly, but the value is not saved in the collection (and therefore not recorded in the table).  All the other elements in the form of tables to record properly.

    Here's what I have for the query.   This is element c024 (which maps to;) ("F03'), which is defined as a radio based on an existing LOV LOV.

    Currently I have:

    2 items on the page:

    P110_ID

    P110_VALUE

    Dynamic action called COLUMN of CHANGE:

    event: CHANGE

    selection type: jQUERY Selector

    jQuery:

    Select jQuery = input [name = "f03"], select [name "f08"], select [name = "f09"], input [name = 'f10'], input [name = 'f11'], input [name = 'f12'], select [name = "f40"], input [name = "f21"], input [name = 'f22'], input [name = "f23"], input [name = 'f50']

    scope of the event: Dynamics

    real action #1: set the P110_ID javascript expression this.triggeringElement.id

    real action #2: set the P110_VALUE javascript expression this.triggeringElement.value

    action 3: run pl/sql code

    declare
      v_member number;
      v_seq number;
    begin 
      v_member := TO_NUMBER (SUBSTR (:p110_id, 2, 2));
      select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
      safis_collections.update_column(v_seq,
                                    v_member,
                                    :p110_value);
    
    
    

    refreshment area true creation #4: LANDINGS_COLLECTION

    the tabular presentation is based on the query:

    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit,
    apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0','  -- Select Favorite --  ','f08_'||seq_id,'') Disposition,
    apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear,
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars,
    decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished,
    decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY,
    decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT,
    c024 hms_flag,
    decode(c050,'Y',apex_item.checkbox(21,'Y','id="f21_'||seq_id||'" style="background-color:#FBEC5D; " onClick="alterYes('||seq_id||');" onKeyPress="alterYes('||seq_id||');"',c021),'N','N/A') FinsAttached,
    decode(c050,'Y',apex_item.checkbox(22,'N','id="f22_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterNo('||seq_id||');" onKeyPress="alterNo('||seq_id||');"',c022),'N','N/A') FinsNotAttached,
    decode(c050,'Y',apex_item.checkbox(23,'U','id="f23_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterUnk('||seq_id||');" onKeyPress="alterUnk('||seq_id||');"',c023),'N','N/A') FinsUnknown,
    decode(c050,'Y',apex_item.textarea(28,c028,3,null,null,'f28_'||seq_id,''),'N','N/A') Explanation,
    decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale,
    decode(c020,'Y',
    apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;"',null,null,null,'f40_'||seq_id,''),
    'N','N/A') HMS_AREA_CODE,
    c020,c050,
    decode(c020,'Y',
    apex_item.text(41,TO_NUMBER(c041),5,null,null,'f41_'||seq_id,''),
    'N','N/A') Sale_Price
    from apex_collections
     where collection_name = 'SPECIES_COLLECTION' order by seq_id
    
    
    
    
    
    

    I noticed the following:

    When I change the column C011 (price) the following values are defined in dynamic action:

    P110_ID = f11_1

    P110_VALUE is everything that I change the price.

    When I change the column C024 (hms_flag), the following values are defined:

    P110_ID = f03_0001

    P110_VALUE = change everything what I hms_flag to.

    the region is updated in my dynamic action, and change of hms_flag does not take.  I tested the SQL query that generates the value of v_SEQ in the dynamic action.   Both a change of price and HMS_FLAG, it seems valid

    Select ltrim (substr(:p110_ID,5,4),'0 ') in the double v_seq;

    If f11_1, v_seq: = 1

    If f03_0001, v_seq: = 1

    Thank you!

    solved.  sort of.

    domain c024 references f03.

    dynamic ACtion, step 4 calculated v_member as a substring of P110_ID... and in all other areas, the column and the field (fxx) displayed the same value... otherwise c024.

    I'm not exactly sure how solve it, but see the problem.

  • Need help on the use of Partition for a SELECT statement

    -Hello everyone,
    -This my request. I'm a junior developer of the APEX.
    -database version is 11g version 4.0 apex
    DEFINE startmonth = "Aug 2012";
    DEFINE endmonth   = "Oct 2012";
    WITH  all_months  AS
    (
       SELECT ADD_MONTHS(to_date('&startmonth','MON YYYY'), ROWNUM-1) AS which_month
       ,      ADD_MONTHS(to_date('&startmonth','MON YYYY'), ROWNUM  ) AS next_month
       from all_objects
       where
       rownum <= months_between(to_date('&endmonth','MON YYYY'), add_months(to_date('&startmonth','MON YYYY'), -1))
    )
    ,
    lt_event_type_a AS
    ( select event_type, active, e_id 
      from lt_event_type
      where active = 1
    )
    ,
    engagement_event_a as
    (SELECT * FROM engagement_event
     where active =1
     )
    
    select lt_ev.event_type,TO_CHAR (am.which_month, 'Mon YYYY')  AS month, count(ce.engagement_id) as monthly_events_per_event_type
      from lt_event_type_a lt_ev
      
      left join engagement_event_a ev  on
        lt_ev.event_type = ev.event_type
      
      left join court_engagement ce on
        ev.e_eng_id = ce.engagement_id
         and ce.court_name like '%' --will be filtered with a court_name parameter
     
      right join all_months am on
        ce.date_joined_court <= LAST_DAY(am.which_month) 
        and (ce.date_terminated is null or ce.date_terminated > LAST_DAY(am.which_month) )
     group by rollup(lt_ev.event_type, am.which_month)
     order by lt_ev.event_type, am.which_month ;
     
    - and the results are
     EVENT_TYPE                                         MONTH             MONTHLY_EVENTS_PER_EVENT_TYPE
    -------------------------------------------------- ----------------- -----------------------------
    Absent without leave                               Sep 2012                                      1 
    Absent without leave                               Oct 2012                                      1 
    Absent without leave                                                                             2 
    Court Appearance                                   Sep 2012                                      2 
    Court Appearance                                   Oct 2012                                      3 
    Court Appearance                                                                                 5 
    Incentive granted                                  Aug 2012                                      1 
    Incentive granted                                  Sep 2012                                      2 
    Incentive granted                                  Oct 2012                                      1 
    Incentive granted                                                                                4 
    Judicial direction                                 Oct 2012                                      1 
    Judicial direction                                                                               1 
    Police report                                      Sep 2012                                      2 
    Police report                                      Oct 2012                                      2 
    Police report                                                                                    4 
    Positive test                                      Sep 2012                                      1 
    Positive test                                      Oct 2012                                      1 
    Positive test                                                                                    2 
    Sanction imposed                                   Aug 2012                                      1 
    Sanction imposed                                   Sep 2012                                      1 
    Sanction imposed                                   Oct 2012                                      1 
    Sanction imposed                                                                                 3 
                                                                                                    21 
    
     23 rows selected 
     
    - but the condition is that I list all types of event in the search list
    -with a total number of events by event type for each month in a number of calendar months (user will select months like August 2012 or a range of month August 2012 - October 2012)
    -the query above just list all the events (see table engagement_event) that have the date_join_court and date_terminated meets the required conditions.
    -I wonder, is it possible to enumerate all types of event, then monthly for each event type with the total as
      EVENT_TYPE                                         MONTH             MONTHLY_EVENTS_PER_EVENT_TYPE
    -------------------------------------------------- ----------------- -----------------------------
    A very long long name                              Aug 2012                                      0 
    A very long long name                              Sep 2012                                      0 
    A very long long name                              Oct 2012                                      0 
    A very long long name                              Total                                           0 
    Absent without leave                               Aug 2012                                      0 
    Absent without leave                               Sep 2012                                      1 
    Absent without leave                               Oct 2012                                      1 
    Absent without leave                               Total                                         2 
    Court Appearance                                   Aug 2012                                      0 
    Court Appearance                                   Sep 2012                                      2 
    Court Appearance                                   Oct 2012                                      3 
    Court Appearance                                   Total                                         5 
    Incentive granted                                  Aug 2012                                      1 
    Incentive granted                                  Sep 2012                                      2 
    Incentive granted                                  Oct 2012                                      1 
    ......
    -I tried to use PARTTTION, but still, it does not produce the correct result,
    -Here's a version shortened the tables related to the query
    -Thank you very much in advance.
    --create lookup table for event type
     CREATE TABLE "LT_EVENT_TYPE" 
       ("E_ID" NUMBER, 
         "EVENT_TYPE" VARCHAR2(50 BYTE), 
         "DATE_CREATED" DATE, 
         "ACTIVE" NUMBER(2,0) DEFAULT 1
       ) 
    
     --create table court_engagement
      CREATE TABLE "COURT_ENGAGEMENT" 
       (     "ENGAGEMENT_ID" NUMBER, 
         "COURT_NAME" VARCHAR2(50 BYTE), 
         "DATE_REFERRED" DATE, 
         "DETERMINATION_HEARING_DATE" DATE, 
         "DATE_JOINED_COURT" DATE, 
         "DATE_TERMINATED" DATE, 
         "TERMINATION_TYPE" VARCHAR2(50 BYTE), 
         "DATE_CREATED" DATE, 
         "ACTIVE" NUMBER(2,0) DEFAULT 1, 
         "DEFENDANT_ID" NUMBER
       )
       --create table engagement_event
       CREATE TABLE "ENGAGEMENT_EVENT" 
       (     "EVENT_ID" NUMBER, 
         "E_ENG_ID" NUMBER, 
         "EVENT_TYPE" VARCHAR2(50 BYTE), 
         "START_DATE" DATE, 
         "END_DATE" DATE, 
         "RELATED_SERVICE_ID" NUMBER, 
         "DATE_CREATED" DATE, 
         "ACTIVE" NUMBER(2,0)
       )
    -------
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (9,'A very long long name',to_date('02/11/12','DD/MM/RR'),0);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (6,'Excellent performance',to_date('27/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (7,'Sanction imposed',to_date('27/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (8,'Incentive granted',to_date('27/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (2,'Police report',to_date('25/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (1,'Court Appearance',to_date('25/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (3,'Judicial direction',to_date('25/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (4,'Positive test',to_date('25/09/12','DD/MM/RR'),1);
    Insert into LT_EVENT_TYPE (E_ID,EVENT_TYPE,DATE_CREATED,ACTIVE) values (5,'Absent without leave',to_date('27/09/12','DD/MM/RR'),1);
    ----------
       
    REM INSERTING into COURT_ENGAGEMENT
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (13,'BBB',null,null,to_date('01/09/12','DD/MM/RR'),to_date('14/09/12','DD/MM/RR'),'Graduated',to_date('03/10/12','DD/MM/RR'),1,4);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (16,'BBB',null,null,to_date('15/09/12','DD/MM/RR'),to_date('07/11/12','DD/MM/RR'),'Did not Graduate',to_date('04/10/12','DD/MM/RR'),1,4);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (20,'AAA',null,null,to_date('07/10/12','DD/MM/RR'),null,'Did not Graduate',to_date('08/10/12','DD/MM/RR'),1,10);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (30,'BBB',null,null,to_date('04/09/12','DD/MM/RR'),null,null,to_date('05/11/12','DD/MM/RR'),1,19);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (21,'AAA',null,null,to_date('07/10/12','DD/MM/RR'),null,null,to_date('10/10/12','DD/MM/RR'),1,11);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (15,'AAA',null,null,to_date('02/10/12','DD/MM/RR'),null,null,to_date('03/10/12','DD/MM/RR'),1,3);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (23,'AAA',null,to_date('30/09/12','DD/MM/RR'),to_date('29/09/12','DD/MM/RR'),null,null,to_date('15/10/12','DD/MM/RR'),1,8);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (25,'AAA',null,to_date('10/10/12','DD/MM/RR'),to_date('20/09/12','DD/MM/RR'),null,null,to_date('18/10/12','DD/MM/RR'),1,15);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (27,'AAA',null,to_date('11/09/12','DD/MM/RR'),to_date('19/07/12','DD/MM/RR'),null,null,to_date('23/10/12','DD/MM/RR'),1,16);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (2,'BBB',to_date('01/10/12','DD/MM/RR'),to_date('01/10/12','DD/MM/RR'),to_date('29/09/12','DD/MM/RR'),null,'Did not Graduate',to_date('27/09/12','DD/MM/RR'),1,2);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (28,'AAA',null,to_date('03/10/12','DD/MM/RR'),to_date('01/10/12','DD/MM/RR'),null,null,to_date('24/10/12','DD/MM/RR'),1,17);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (17,'AAA',null,null,to_date('08/10/12','DD/MM/RR'),to_date('11/10/12','DD/MM/RR'),'Did not Graduate',to_date('04/10/12','DD/MM/RR'),1,6);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (18,'AAA',null,null,to_date('03/09/12','DD/MM/RR'),to_date('16/10/12','DD/MM/RR'),'Graduated',to_date('05/10/12','DD/MM/RR'),1,7);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (19,'BBB',null,null,to_date('01/10/12','DD/MM/RR'),to_date('09/10/12','DD/MM/RR'),'Graduated',to_date('05/10/12','DD/MM/RR'),1,9);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (22,'AAA',null,null,null,null,null,to_date('11/10/12','DD/MM/RR'),1,12);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (24,'AAA',to_date('08/10/12','DD/MM/RR'),to_date('01/10/12','DD/MM/RR'),to_date('04/10/11','DD/MM/RR'),null,'GangNam Style',to_date('17/10/12','DD/MM/RR'),1,14);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (26,'BBB',null,to_date('17/10/12','DD/MM/RR'),to_date('16/10/12','DD/MM/RR'),null,null,to_date('18/10/12','DD/MM/RR'),1,7);
    Insert into COURT_ENGAGEMENT (ENGAGEMENT_ID,COURT_NAME,DATE_REFERRED,DETERMINATION_HEARING_DATE,DATE_JOINED_COURT,DATE_TERMINATED,TERMINATION_TYPE,DATE_CREATED,ACTIVE,DEFENDANT_ID) values (29,'AAA',null,null,to_date('20/09/12','DD/MM/RR'),null,'GangNam Style',to_date('30/10/12','DD/MM/RR'),1,18);
    
    ---------------
    REM INSERTING into ENGAGEMENT_EVENT
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (8,18,'Incentive granted',to_date('01/10/12','DD/MM/RR'),null,null,to_date('05/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (21,2,'Police report',to_date('20/09/12','DD/MM/RR'),to_date('02/10/12','DD/MM/RR'),null,to_date('24/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (7,2,'Court Appearance',to_date('02/10/12','DD/MM/RR'),to_date('16/10/12','DD/MM/RR'),12,to_date('03/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (11,19,'Court Appearance',to_date('02/10/12','DD/MM/RR'),null,null,to_date('05/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (13,21,'Court Appearance',to_date('01/10/12','DD/MM/RR'),to_date('11/10/12','DD/MM/RR'),null,to_date('10/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (18,24,'Incentive granted',to_date('01/10/12','DD/MM/RR'),to_date('15/10/12','DD/MM/RR'),null,to_date('17/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (20,2,'Police report',to_date('16/09/12','DD/MM/RR'),to_date('18/09/12','DD/MM/RR'),10,to_date('23/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (24,17,'Court Appearance',to_date('16/10/12','DD/MM/RR'),null,null,to_date('25/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (26,30,'Judicial direction',to_date('01/10/12','DD/MM/RR'),null,null,to_date('06/11/12','DD/MM/RR'),0);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (9,2,'Court Appearance',to_date('01/09/12','DD/MM/RR'),to_date('15/09/12','DD/MM/RR'),10,to_date('05/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (12,20,'Judicial direction',to_date('07/10/12','DD/MM/RR'),null,null,to_date('08/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (17,24,'Sanction imposed',to_date('16/10/12','DD/MM/RR'),to_date('31/10/12','DD/MM/RR'),null,to_date('17/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (23,13,'Court Appearance',to_date('01/10/12','DD/MM/RR'),null,34,to_date('24/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (5,2,'Positive test',to_date('01/10/12','DD/MM/RR'),to_date('10/10/12','DD/MM/RR'),1,to_date('02/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (10,19,'Judicial direction',to_date('01/10/12','DD/MM/RR'),null,null,to_date('05/10/12','DD/MM/RR'),1);
    Insert into ENGAGEMENT_EVENT (EVENT_ID,E_ENG_ID,EVENT_TYPE,START_DATE,END_DATE,RELATED_SERVICE_ID,DATE_CREATED,ACTIVE) values (19,25,'Absent without leave',to_date('18/10/12','DD/MM/RR'),null,null,to_date('18/10/12','DD/MM/RR'),1);
    -Thanks for reading this.

    Ann

    Please give sample data and expected results.

    Hope below is what you'd expect - yet, I would like to ask a clarification - you have a filter 'where active = 1.
    And yet, you want these types in the output. I commented on this to my query filter.
    You can change accordingly

    WITH  all_months  AS
    (
       SELECT ADD_MONTHS(to_date('&startmonth','MON YYYY'), ROWNUM-1) AS which_month
       ,      ADD_MONTHS(to_date('&startmonth','MON YYYY'), ROWNUM  ) AS next_month
       from all_objects
       where
       rownum <= months_between(to_date('&endmonth','MON YYYY'), add_months(to_date('&startmonth','MON YYYY'), -1))
    )
    ,
    lt_event_type_a AS
    ( select event_type, which_month,next_month
      from lt_event_type, all_months
      --where active = 1
    )
    ,
    engagement_event_a as
    (SELECT * FROM engagement_event
     where active =1
     )
    
    select lt_ev.event_type,TO_CHAR (lt_ev.which_month, 'Mon YYYY')  AS month,
          count(ce.engagement_id) as monthly_events_per_event_type
      from engagement_event_a ev
      left outer join court_engagement ce on
       ( ev.e_eng_id = ce.engagement_id
            and ce.court_name like '%' )
      right outer join lt_event_type_a lt_ev   on
        (ce.date_joined_court <= LAST_DAY(lt_ev.which_month)
        and (ce.date_terminated is null or ce.date_terminated > LAST_DAY(lt_ev.which_month) )
        and lt_ev.event_type = ev.event_type
        )
     group by rollup(lt_ev.event_type, lt_ev.which_month)
     order by lt_ev.event_type, lt_ev.which_month ;
    
    EVENT_TYPE                                         MONTH    MONTHLY_EVENTS_PER_EVENT_TYPE
    -------------------------------------------------- -------- -----------------------------
    A very long long name                              Aug 2012                             0
    A very long long name                              Sep 2012                             0
    A very long long name                              Oct 2012                             0
    A very long long name                                                                   0
    Absent without leave                               Aug 2012                             0
    Absent without leave                               Sep 2012                             1
    Absent without leave                               Oct 2012                             1
    Absent without leave                                                                    2
    Court Appearance                                   Aug 2012                             0
    Court Appearance                                   Sep 2012                             2
    Court Appearance                                   Oct 2012                             3
    Court Appearance                                                                        5
    Excellent performance                              Aug 2012                             0
    Excellent performance                              Sep 2012                             0
    Excellent performance                              Oct 2012                             0
    Excellent performance                                                                   0
    Incentive granted                                  Aug 2012                             1
    Incentive granted                                  Sep 2012                             2
    Incentive granted                                  Oct 2012                             1
    Incentive granted                                                                       4
    Judicial direction                                 Aug 2012                             0
    Judicial direction                                 Sep 2012                             0
    Judicial direction                                 Oct 2012                             1
    Judicial direction                                                                      1
    Police report                                      Aug 2012                             0
    Police report                                      Sep 2012                             2
    Police report                                      Oct 2012                             2
    Police report                                                                           4
    Positive test                                      Aug 2012                             0
    Positive test                                      Sep 2012                             1
    Positive test                                      Oct 2012                             1
    Positive test                                                                           2
    Sanction imposed                                   Aug 2012                             1
    Sanction imposed                                   Sep 2012                             1
    Sanction imposed                                   Oct 2012                             1
    Sanction imposed                                                                        3
                                                                                           21 
    
     37 rows selected 
    
  • Help on the use of Images in Navigation

    Hi all

    I am trying to use the images for the Navigation of the site, also changed States of "Normal, Rollover, down, Active MOUs.

    But it did not work for me.

    It only allows me to adjust the space between the images of the Navigation buttons.

    I joined img actul look of Navigation that I worked in PS and the screenshot of Muse Image JPEG file.

    Here's the origianal FILE MUSE (1.5 MB)

    Download

    Actul look of Navigation that I worked in PS

    actul look of Navigation.jpg

    Screenshot of the file Image of Muse

    Muse_Image.jpg

    Hello

    The reason for this is because the images that you use as back fill for buttons are different in size, they must conform to the size of the buttons to make a uniform spacing between buttons.

    In addition, if you want to create the Menu with the States that defines the colors then you can design even in Muse, which would be exactly the same as you mentioned.

    I created a similar menu in Muse for your reference, please download the file here:

    https://www.dropbox.com/s/esnx7mk9b7roy91/menu.Muse

    Thank you

    Sanjit

Maybe you are looking for