The use of RASENTRY for checkmark all available devices

Hello

I am trying to install a new entry of Ras via RasSetEntryProperties, which works fine, but I can't find a way to ensure that all available modems are disabled in the DUN Properties dialog box.

The RASENTRY struct has a member named szDeviceName and this will check the modem, whose name has been provided, but I do not know how to approach more than one modem with this.

I tested check all other modems in the dialog connection properties and then ran RasGetEntryProperties to see if something has changed in the RASENTRY struct but there is no difference.

I looked also RASDIALPARAMS and RASSUBENTRY, but I don't think they apply in this case.

Any suggestions on how to achieve this are appreciated.

Thank you

Hello

The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.

http://social.technet.Microsoft.com/forums/en-us/itproxpsp/threads

Hope this information is useful.

Tags: Windows

Similar Questions

  • The use of REGEXP_LIKE for query with exclusion

    Hi all
    How to query a column that does not contain a value with a particular letter in the middle of it with REGEXP_LIKE? Suppose I have the following text:
    SQL> select * from test;
    
    TEMP
    --------------------
    john
    joni
    jane
    johny
    jonny
    
    SQL> select temp from test where regexp_like(temp,'[^h]');
    
    TEMP
    --------------------
    john
    joni
    jane
    johny
    jonny
    
    SQL> select temp from test where regexp_like(temp,'[a-z]+[^h][a-z]+');
    
    TEMP
    --------------------
    john
    joni
    jane
    johny
    jonny
    The above code tries to temp of query that contains no letter 'h' in the middle (so it querries joni, jane and jonny) but it can be done with
    regexp_like(temp,'[^h]');
    regexp_like(temp,'[a-z]+[^h][a-z]+');
    given that these 2 models meet all available lines. What is the solution?

    Best regards
    Val

    If you just want to match strings that do not contain an 'h' anywhere in the string, you can use

    select temp from test where regexp_like(temp,'^[^h]*$');
    

    If you want to allow the first and/or the last character in the string to be 'h' (hugh or hank, for example), then

    select temp from test where regexp_like(temp,'^.??[^h]*.??$');
    

    Use [a - z] instead of. and [a-gi-z] instead of [^ h] If you want to match only alphabetic characters to lowercase.

    Kind regards
    Bob

  • 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 
    
  • Inability to RESUME download in ffox - how can you see if the server supports resume for example all filehosts

    HI: I tried to dl from filepost (260 file size) and sometimes it stops at 240.
    I tried the answer in support of "fake resume:
    https://support.Mozilla.org/en-us/questions/672203?ESAB=a & As = AAQ

    It did not work.
    How can I test if the site allows you to resume?

    or I need to test for a specific file on the filehost to resume?

    Thank you

    Hi Cor - el
    I found Opera. Opera browser does not compare to the greatness of firefox. Or help their support forums.

    But Opera a button BACK on their download window.
    The thing with the opera, is to open the download manager in a new window and make it look to Firefox Add-on like big DownloadManager Tweak.

    Then, he looks the same, so that you know what you're doing
    AND it has a download / RESUME button

    for info:

    > I tried Opera download on all those failed (try the rename delicate) Opera RESUMED in all cases test 9

    > and where I could not firefox to resume, not once in all the test cases 9.

    so my conclusion is the workaround is not very good. And it had nothing to do with the server, I was downloaiding of (in test these 9 cases)

    Perhaps in a future version:-firefox may also have the wonderful resume button and the Add on Download Manager TWEAK, may also have the CV download button.

  • The use of DAQmxWriteDigitalScalarU32 for write channels share the same ports?

    Hello

    I have a USB-6509 and NOR-DAQmx installed 15.5.1. Using the ANSI c api.

    Is it possible to create several independent channels that use different lines of the same port?

    DAQmxCreateTask("",&th1)

    DAQmxCreateDOChan(th1,"Dev1/line0:4","",DAQmx_Val_ChanForAllLines)

    DAQmxStartTask (th1)

    DAQmxCreateTask("",&th2)

    DAQmxCreateDOChan(th2,"Dev1/line5:9","",DAQmx_Val_ChanForAllLines)

    DAQmxStartTask (th2)

    ....

    and repeat for the following strings:

    Dev1 / line0:4
    Dev1 / line5:9
    Dev1 / line10:14
    Dev1 / line15:19
    Dev1 / line24:28
    Dev1 / line29:33

    So I can use DAQmxWriteDigitalScalarU32 to write to each task independently?

    for example:

    DAQmxWriteDigitalScalarU32 (th1, 1, 10, 0 x 1, NULL)

    DAQmxWriteDigitalScalarU32 (th2, 1, 10, 0 x 2, NULL)

    DAQmxWriteDigitalScalarU32 (th3, 1, 10, 0 x 3, NULL)

    ...

    DAQmxWriteDigitalScalarU32 (th6, 1, 10, 0 x 6, NULL)

    These tasks will interfere with each other because they use the same port, but are assigned different lines?

    If this isn't the case, I bits to the data, if the task/channel does not start at the Px.0 line?

    Thank you!

    Yes, as long as you use the same line on different channels, they must not interfere with each other for this reason, you can create a channel by line if you wish

    The reference to using the DAQmxWriteDigitalScalarU32 function:
    "A sample of the integer unsigned 32-bit unique, wrote to a task that contains a single digital output channel. "Use this format for devices with up to 32 lines per port.

    http://zone.NI.com/reference/en-XX/help/370471AC-01/daqmxcfunc/daqmxwritedigitalscalaru32/

    So yes, the DAQmxWriteDigitalScalarU32 can write on each task independently

  • The use of Teamviewer for remote access to another PC from a PC

    Hello

    I have TWO PC, but unfortunately two PC has the same IP I checked ipconfig.

    I called ISP regarding on the same IP between two PCs.

    Is it possible that a PC can access second tool PC remotely using the Teamviewer software, even if TWO PC IP addresses are the same now?

    Your comments will be appreciated.

    Thank you

    Hi Altman,

    TeamViewer is a third party software. For support on the use of this product go to TeamViewer Support Center.

    Note:   software use of third parties, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • Students who are looking to move to the creation of clouds for education - all plan of photography apps

    I have trouble finding a way to pass the plan of photography with photoshop and lightroom paid monthly $9.99 to the creative cloud for education - all apps for $19.99. When I go to the plans that the $19.99 option does not appear, only a $53.10 option is even if I am a student. I'd like to get some clarification as to why the option $19.99 is not visible under the plans switch to section to manage your plan.

    Thank you

    Hi Lightsiderr,

    In the case you do not get the opportunity to switch plans, please Contact Customer Care for assistance and information.

    If they get the opportunity to pass the plan, they will change it for you, otherwise the left option should cancel the subscription and buy a new one.

    For all the changes, please contact support.

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

  • I'M LOOKING FORWARD THAT THE PRODUCT I PAID FOR IS NOT AVAILABLE...

    Payment made; Request SOLUTION! Now America must SERVE itself... It's your new world order... Adobe gets richer; We get royally... (Insert operation here!)

    Hi Eileent18386535,

    I saw your Adobe ID (email address) you used to post here on the forums and found that you have a student teacher subscription & creative cloud on it and there seems to be a problem with the payment.

    For billing questions, please contact customer service

    *Remember to stay signed with your Adobe ID ( email id used to purchase the subscription ) before accessing the link above*.

    Select the exact options indicated below in the capture to get support of screen options:

    Let us know if that helps.

  • tab of the use of space for vSphere 6.0 disk...

    Hello everyone,

    in vsphere 5.x, there is a tab that shows the use of the disk of all or selected virtual machines.

    In short where he in vsphere 6.0 or have it remove altogether? If so, how can we get the information now?

    Concerning

    Harro Nehlsen Nehls

    what you hear is storage views

  • Use a locally swc file to optimize the use of bandwidth for an LMS

    Hello.

    I have an LMS (learning management system), which also uses elements of the virtual world as avatars, games with great graphics etc...

    Bandwidth here in Spain is bad to say the least. Games like world of warcraft ship a CD to put heavy graphics on your local hard drive. It would be a great idea for our e-learning system. Is the best way to use a CFC which is impossible to decompile? It would save a lot of headaches.

    Well, what I'm trying to ask is how can I protect our graphics piracy if installed on the pc local users.

    Thank you in advance.

    You may simply want DRM. Here are some links to check out:

    Documents from Adobe:

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/FLA sh/net/drm/DRMManager.html

    The use of Adobe News:

    http://help.Adobe.com/en_US/AS3/dev/WSe3d2d52902616553-41317b6911d1b4b fb29 - 8000.html

    By the way, the images are data binary just so you can encrypt them with something fast like RC4, use a library, for example:

    https://code.Google.com/p/As3Crypto/

    Ultimately if someone REALLY wants your content, there is no 100% average hackproof. I would implement a reasonable attempt at DRM or encryption, but really measure against the performance hit you'll take to do, with the knowledge that you really cannot guarantee protection in any case.

  • The camera driver won't install; all portable devices under Device Manager have yellow warnings

    Windows 7 64 bit

    All portable devices in Device Manager have yellow warnings.  I followed the directions of the driver reinstall paragraph each device status, but nothing has changed - warnings remain. Although warnings have existed for some time, I had no problem with the computer read maps or the connection with devices until recently, when a Canon camera wouldn't connect via USB or wireless because his driver would not move.  (The camera connects to my other Windows 7 64 x computer.)

    Running sfc/scannow a couple of times have mounted several corrupted files that could not be repaired: WUDFPlatform.dll, WUDFrd.sys, WUDFPf.sys, MsftWdf_User_01_11_00_Inbox_Critical.Wdf, WUDFSvc.dll, WUDFHost.exe, WUDFCoinstaller.dll, WUDFx.dll. The scannow report also stated that the same files under ' Package_1_for_KB2685813 ~ 31bf3856ad364e35 ~ amd64 ~ ~ 6.1.1.11.2685813 - 2_neutral_GDR ' were also damaged.  Each file corrupted in both sets also said 'hash mismatch' at the end.  I tried to replace the corrupted with good files, but Windows won't allow.

    KB2685813 was apparently the above Windows Update. He appears twice on the same date (in November 2012) in the list of my computer for updates.  I tried to uninstall it, but get the message that the uninstall failed.

    Wudfsvc service is set to automatic, but it is not started.  It displays the message "unable to read the description. "Error Code: 193. In the Manager of tasks, under services, its status is "stopped".

    Any suggestions?  Thank you.

    Thank you.  I solved the problem more simply.  I learned live to access corrupted files (TrustedInstaller owned files and blocked any changes to them) and replaced by vouchers.  Now everything works.

    There is information online times how to change the owner of TrustedInstaller or anything else and then restore ownership to TrustedInstaller.

  • Impossible to uninstall bing. Not in "modules" in the "Control Panel programs. I have renounced the use of Firefox for this reason.

    My search bar presents Google as my default search engine. However, whenever I write something in the address bar, the result is bing.com. I was looking for help in several places. I tried all the solutions, including Microsoft Live Essentials uninstall. I have looked for the Bing bar, search in the system toolbar. Not found anywhere in my system. I stopeed using Firefox and passed to another Mozilla product. The problem is to impose something without permission.

    Hey! Got the answer. He was driving my CRAZY
    http://www.ehow.com/how_5196325_remove-Firefox-work-way-used.html
    works like a charm!

  • The use of SMS for ThinReg an application with elevated permissions

    I ran a very specific scenario that left me speechless for awhile. I thought I'd share incase any who found themselves in the same position. Here's the scenario:

    I have a ThinApp application that resides on a network share. I used "PermittedGroups = domain users" in the package.ini to ensure the application was used only on campus for purposes of licensing. I tried ThinReg the application for all users (.\thinreg.exe/r/a network\appname.exe) on about 300 computers using SMS. Most of these users are local administrators on their computers , but not all. Therefore, in cases where the user is not a local administrator, the registration script would fail. The great advantage of SMS gives us when deploying applications is that we can elevate permissions and perform the installation under the local SYSTEM account. With MSI and these that works beautifully, but in this scenario, there is not. The problem is that the local SYSTEM account is not a member of the group "Domain users" and therefore was not allowed to run (or ThinReg) executable file. I've thought about it a while and decided to add the domain group "Computers in the domain" to the PermittedGroups list. To my disappointment, it does not solve the problem. After much trial and error, I changed the Package.ini to read PermittedGroups = domain users; SYSTEM

    It worked! SMS is able to raise the installation so that account SYSTEM and the application successfully ThinReg. "Domain users" are able to run the application, while local users are not. I even tried to create a new user account called SYSTEM on my test XP machine to see if I could it crazy that way, but the OS won't let you create a user account with this name. I'm not entirely sure why this works; the PermittedGroups = parameter is designed to contain groups, not users. If someone saw, I would be happy to hear it. If not, hope it can help someone.

    ~ spence

    Hey Spence,

    Interesting. What version of ThinApp did you use? We changed Thinreg in 4.0.1 so it doesn't look like PermittedGroups when you use the switch/a, for exactly the reason why you have described. Of course, PermittedGroups is always checked when executing.

  • The use of DaqMX for reading the State of 2503 PXI or PXI-2527 switch

    I was wondering if there was a way to non-destructive know what that setting of the State. I'm working on some diagnostic software to be run along the side of our tests, and it would be really useful to be able to know what each of the channels are switches are currently connected to.

    In c#, I use this to actually set the channel-

    DaqSystem.Local.ConnectSwitchChannels (channel 1, canal2, true);

    but have not actually been able to find something on because what channels is currently defined. I found this.

    DaqSystem.Local.CreateSwitchScanTask

    but I'm not sure it's what I want to do.

    Any advice?

    Thank you!

    Hi Joel,

    I believe that this is the function you're looking for.

    Help OR switches can be found in the start menu, National Instruments, OR-Switch and Documentation.

    Thanks for the question!

    Lisa

  • people will be banned for the use of mods for drunk dark on pc?

    I was watching to see if it is safe (by safe I mean may not be ban for it) to use the mod for drunk dark on pc. But I don't know if this is a ban or not. I would use the mod 60 fps, but I won't use it if I can be ban for her.

    Hello Brian,.

    Thanks for the reply.

    You can contact games for Live Support.

    http://support.Xbox.com/en-us/browse?product=games&category=PC-games

    http://forums.Xbox.com/GFW/technical_support/f/253/t/8569.aspx

    Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows.

Maybe you are looking for

  • Re: Can I add Express Card on Portege R700-18th?

    Hello Is anyway to add express card slot to R700-18th? There can be no slot for card express on this subject. It is possible to add the card express with docking slot? Or any other option? I want the Express card for upgare graphics card slot.

  • ReadyNAS NV +: change hard drives

    Hello I am ancountering some problems with an upgrade of the readers of my ReadyNAS NV +. I have 4 drives of 1 to work, now I wonder to change all 4 disks with three new (red WD) 3 TB drives. I started with slot 1, substituting it after a start of th

  • Inserting picture card xD in a printer of HD 5530

    Do I need an adapter of some sort to insert a xD picture cards in the 5530?  I am able to insert the plus card, however.

  • Tracer Cisco packet 6 / How to connect 3 multilayer switches

    sans_titre.jpg I wan't to ping of 'PC' in the right (DIRECTION FES) for PC on the left (DIRECTION KENITRA) but when I ping fails, I tried to connect 'Multilayer Switch3' and "Multicouche Switch0" but I failed, I used the following commands: Multi-lay

  • Oracle Sql Developer is very slow

    HelloI ' have a big problem with SQL developer. We have a lot of databases on the connections.xml (about 1600 databases Oracle) file. When we start SQL developer, it took about 10 minutes to open. Can what solutions we use to open this application mo