CONNECT PRIOR TO THE HELP OF SEVERAL TABLES RETURNS AWKAWARD RESULTS.

CREATE TABLE "JAM"."FTVORGN2"
   (    "FTVORGN_COAS_CODE" VARCHAR2(1 CHAR) NOT NULL ENABLE,
    "FTVORGN_ORGN_CODE" VARCHAR2(6 CHAR) NOT NULL ENABLE,
    "FTVORGN_EFF_DATE" DATE NOT NULL ENABLE,
    "FTVORGN_ACTIVITY_DATE" DATE NOT NULL ENABLE,
    "FTVORGN_USER_ID" VARCHAR2(30 CHAR) NOT NULL ENABLE,
    "FTVORGN_NCHG_DATE" DATE NOT NULL ENABLE,
    "FTVORGN_TERM_DATE" DATE,
    "FTVORGN_TITLE" VARCHAR2(35 CHAR) NOT NULL ENABLE,
    "FTVORGN_STATUS_IND" VARCHAR2(1 CHAR),
    "FTVORGN_ORGN_CODE_PRED" VARCHAR2(6 CHAR),
    "FTVORGN_DATA_ENTRY_IND" VARCHAR2(1 CHAR) NOT NULL ENABLE,
    "FTVORGN_VPDI_CODE" VARCHAR2(6 CHAR)
   )

I have a table as above.

I also have a table as below.

CREATE TABLE "JAM"."FORUSOR"
   (    "FORUSOR_USER_ID_ENTERED" VARCHAR2(30 CHAR) NOT NULL ENABLE,
    "FORUSOR_COAS_CODE" VARCHAR2(1 CHAR) NOT NULL ENABLE,
    "FORUSOR_ORGN_CODE" VARCHAR2(6 CHAR) NOT NULL ENABLE,
    "FORUSOR_ACCESS_IND" VARCHAR2(1 CHAR) NOT NULL ENABLE,
    "FORUSOR_ACTIVITY_DATE" DATE NOT NULL ENABLE,
    "FORUSOR_USER_ID" VARCHAR2(30 CHAR) NOT NULL ENABLE,
    "FORUSOR_WBUD_ACCESS_IND" VARCHAR2(1 CHAR) NOT NULL ENABLE,
    "FORUSOR_SURROGATE_ID" NUMBER(19,0),
    "FORUSOR_VERSION" NUMBER(19,0),
    "FORUSOR_DATA_ORIGIN" VARCHAR2(30 CHAR),
    "FORUSOR_VPDI_CODE" VARCHAR2(6 CHAR)
   )




REM INSERTING into FTVORGN2
SET DEFINE OFF;
Insert into FTVORGN2 (FTVORGN_COAS_CODE,FTVORGN_ORGN_CODE,FTVORGN_EFF_DATE,FTVORGN_ACTIVITY_DATE,FTVORGN_USER_ID,FTVORGN_NCHG_DATE,FTVORGN_TERM_DATE,FTVORGN_TITLE,FTVORGN_STATUS_IND,FTVORGN_ORGN_CODE_PRED,FTVORGN_DATA_ENTRY_IND,FTVORGN_VPDI_CODE) values ('D','01',to_date('01-OCT-88','DD-MON-RR'),to_date('19-MAR-97','DD-MON-RR'),'TRAIN01',to_date('31-DEC-99','DD-MON-RR'),null,'TOTAL UNIVERSITY','A',null,'N',null);
Insert into FTVORGN2 (FTVORGN_COAS_CODE,FTVORGN_ORGN_CODE,FTVORGN_EFF_DATE,FTVORGN_ACTIVITY_DATE,FTVORGN_USER_ID,FTVORGN_NCHG_DATE,FTVORGN_TERM_DATE,FTVORGN_TITLE,FTVORGN_STATUS_IND,FTVORGN_ORGN_CODE_PRED,FTVORGN_DATA_ENTRY_IND,FTVORGN_VPDI_CODE) values ('D','1006',to_date('22-SEP-14','DD-MON-RR'),to_date('22-SEP-14','DD-MON-RR'),'MJ35',to_date('31-DEC-99','DD-MON-RR'),null,'Provost','A','01','N',null);
Insert into FTVORGN2 (FTVORGN_COAS_CODE,FTVORGN_ORGN_CODE,FTVORGN_EFF_DATE,FTVORGN_ACTIVITY_DATE,FTVORGN_USER_ID,FTVORGN_NCHG_DATE,FTVORGN_TERM_DATE,FTVORGN_TITLE,FTVORGN_STATUS_IND,FTVORGN_ORGN_CODE_PRED,FTVORGN_DATA_ENTRY_IND,FTVORGN_VPDI_CODE) values ('D','2027',to_date('01-OCT-97','DD-MON-RR'),to_date('01-OCT-97','DD-MON-RR'),'DARDARMT',to_date('31-DEC-99','DD-MON-RR'),null,'Sch of Biomed Engr, Sci Health Sys','A','1006','N',null);
Insert into FTVORGN2 (FTVORGN_COAS_CODE,FTVORGN_ORGN_CODE,FTVORGN_EFF_DATE,FTVORGN_ACTIVITY_DATE,FTVORGN_USER_ID,FTVORGN_NCHG_DATE,FTVORGN_TERM_DATE,FTVORGN_TITLE,FTVORGN_STATUS_IND,FTVORGN_ORGN_CODE_PRED,FTVORGN_DATA_ENTRY_IND,FTVORGN_VPDI_CODE) values ('D','2028',to_date('28-FEB-01','DD-MON-RR'),to_date('28-FEB-01','DD-MON-RR'),'JMOORE',to_date('31-DEC-99','DD-MON-RR'),null,'Sch of Envr Science, Engr Policy','A','1006','N',null);
Insert into FTVORGN2 (FTVORGN_COAS_CODE,FTVORGN_ORGN_CODE,FTVORGN_EFF_DATE,FTVORGN_ACTIVITY_DATE,FTVORGN_USER_ID,FTVORGN_NCHG_DATE,FTVORGN_TERM_DATE,FTVORGN_TITLE,FTVORGN_STATUS_IND,FTVORGN_ORGN_CODE_PRED,FTVORGN_DATA_ENTRY_IND,FTVORGN_VPDI_CODE) values ('D','5275',to_date('01-OCT-97','DD-MON-RR'),to_date('02-JUL-99','DD-MON-RR'),'JMOORE',to_date('31-DEC-99','DD-MON-RR'),null,'Administration','A','1006','N',null);
Insert into FTVORGN2 (FTVORGN_COAS_CODE,FTVORGN_ORGN_CODE,FTVORGN_EFF_DATE,FTVORGN_ACTIVITY_DATE,FTVORGN_USER_ID,FTVORGN_NCHG_DATE,FTVORGN_TERM_DATE,FTVORGN_TITLE,FTVORGN_STATUS_IND,FTVORGN_ORGN_CODE_PRED,FTVORGN_DATA_ENTRY_IND,FTVORGN_VPDI_CODE) values ('D','5325',to_date('01-OCT-97','DD-MON-RR'),to_date('13-JAN-00','DD-MON-RR'),'JMOORE',to_date('31-DEC-99','DD-MON-RR'),null,'Enrollment & Career Management','A','1006','N',null);
Insert into FTVORGN2 (FTVORGN_COAS_CODE,FTVORGN_ORGN_CODE,FTVORGN_EFF_DATE,FTVORGN_ACTIVITY_DATE,FTVORGN_USER_ID,FTVORGN_NCHG_DATE,FTVORGN_TERM_DATE,FTVORGN_TITLE,FTVORGN_STATUS_IND,FTVORGN_ORGN_CODE_PRED,FTVORGN_DATA_ENTRY_IND,FTVORGN_VPDI_CODE) values ('D','5350',to_date('01-OCT-97','DD-MON-RR'),to_date('02-JUL-99','DD-MON-RR'),'JMOORE',to_date('31-DEC-99','DD-MON-RR'),null,'Office of Education','A','1006','N',null);
Insert into FTVORGN2 (FTVORGN_COAS_CODE,FTVORGN_ORGN_CODE,FTVORGN_EFF_DATE,FTVORGN_ACTIVITY_DATE,FTVORGN_USER_ID,FTVORGN_NCHG_DATE,FTVORGN_TERM_DATE,FTVORGN_TITLE,FTVORGN_STATUS_IND,FTVORGN_ORGN_CODE_PRED,FTVORGN_DATA_ENTRY_IND,FTVORGN_VPDI_CODE) values ('D','5365',to_date('01-OCT-97','DD-MON-RR'),to_date('02-JUL-99','DD-MON-RR'),'JMOORE',to_date('31-DEC-99','DD-MON-RR'),null,'Library','A','1006','N',null);

Spend four years of revenues (to make the query work)

with

ftvorgn2 as

(select would be ' ftvorgn_coas_code,)

'01' ftvorgn_orgn_code,

to_date('01-Oct-1988','DD-mon-YYYY') ftvorgn_eff_date,

to_date('19-Mar-1997','DD-mon-YYYY') ftvorgn_activity_date,

'TRAIN01' ftvorgn_user_id,

to_date('31-Dec-2099','DD-mon-YYYY') ftvorgn_nchg_date,

ftvorgn_term_date null,

Ftvorgn_title "UNIVERSITY TOTAL."

"A' ftvorgn_status_ind,.

ftvorgn_orgn_code_pred null,

' Ftvorgn_data_entry_ind,

ftvorgn_vpdi_code null

of the double

Union of all the

Select would be ', '1006', to_date (22-SEP-2014 "," DD-MON-YYYY '), to_date (22-SEP-2014 "," DD-MON-YYYY '), 'MJ35', to_date (December 31, 2099 ',' MON-DD-YYYY ""), null, 'Grand', 'A', ' 01 ',' n, null of union double all the

Select would be ', '2027', to_date (October 1, 1997 "," DD-MON-YYYY '), to_date (October 1, 1997 "," DD-MON-YYYY '), 'DARDARMT', to_date (December 31, 2099 ',' MON-DD-YYYY ""), null, "Sch of Biomed Engr, Sci health Sys', 'A','1006, ', null of union double all the»

Select would be ', '2028', to_date (February 28, 2001 "," DD-MON-YYYY '), to_date (February 28, 2001 "," DD-MON-YYYY '), 'JMOORE', to_date (December 31, 2099 ',' MON-DD-YYYY ""), null, "Sch of Envr Science, political Engr, 'A', '1006', ', null of union double all the

Select would be ', '5275', to_date (October 1, 1997 "," DD-MON-YYYY '), to_date (July 2, 1999 "," DD-MON-YYYY '), 'JMOORE', to_date (December 31, 2099 ',' MON-DD-YYYY ""), null, 'Administration', 'A', "1006", "n", union null double all the

Select would be ', '5325', to_date (October 1, 1997 "," DD-MON-YYYY '), to_date (January 13, 2000 "," DD-MON-YYYY '), 'JMOORE', to_date (December 31, 2099 ',' MON-DD-YYYY ""), null, 'The registration management & career', 'A', '1006', ', null of union double all the

Select would be ', '5350', to_date (October 1, 1997 "," DD-MON-YYYY '), to_date (July 2, 1999 "," DD-MON-YYYY '), 'JMOORE', to_date (December 31, 2099 ',' MON-DD-YYYY ""), null, "Office of Education", 'A', '1006', ', null of union double all the

Select would be ', '5365', to_date (October 1, 1997 "," DD-MON-YYYY '), to_date (July 2, 1999 "," DD-MON-YYYY '), 'JMOORE', to_date (December 31, 2099 ',' MON-DD-YYYY ""), null, 'Library', 'A', "1006", "n", the double null

),

forusor as

(select 'jam337' forusor_user_id_entered,

A ' forusor_coas_code,.

"1006 ' forusor_orgn_code,

'B' forusor_access_ind,

to_date('01-Aug-12','DD-mon-RR') forusor_activity_date,

'P' forusor_user_id,

' Forusor_wbud_access_ind,

forusor_surrogate_id null,

forusor_version null,

forusor_data_origin null,

forusor_vpdi_code null

of the double

Union of all the

Select 'jam337', ', '1007',' B', to_date (August 1, 2012 ',' MON-DD-YYYY'), 'P', null, null, ' n, null, null from union double all the

Select 'jam337', ', '1011',' B', to_date (August 1, 2012 ',' MON-DD-YYYY'), 'P', null, null, ' n, null, null from union double all the

Select 'jam337', ', '1026', 'Q', to_date (January 30, 2008 "," MON-DD-YYYY'), 'P', null, null, ' n, null, null from union double all the

Select 'jam337', ', '1100', 'Q', to_date (January 30, 2008 "," MON-DD-YYYY'), 'P', null, null, ' n, null, null from the double

)

Select ftvorgn_orgn_code,

ftvorgn_data_entry_ind,

ftvorgn_title,

ftvorgn_status_ind,

-ftvorgn_orgn_code_nsf,

-ftvorgn_hierarchy_table_ind,

level,

ftvorgn_orgn_code_pred

of ftvorgn2

Start with ftvorgn_orgn_code in (select forusor_orgn_code

of forusor

where forusor_user_id_entered = 'jam337. '

- and forusor_coas_code = '

)

Connect prior ftvorgn_orgn_code = ftvorgn_orgn_code_pred

and ftvorgn_eff_date<=>

and ftvorgn_nchg_date > sysdate

FTVORGN_ORGN_CODE FTVORGN_DATA_ENTRY_IND FTVORGN_TITLE FTVORGN_STATUS_IND LEVEL FTVORGN_ORGN_CODE_PRED
1006 N Provost A 1 01
2027 N SCH of Biomed Engr, Sci health Sys A 2 1006
2028 N SCH of Science, political Engr. Envr A 2 1006
5275 N Administration A 2 1006
5325 N Registration & career management A 2 1006
5350 N Office of education A 2 1006
5365 N Library A 2 1006

Concerning

Etbin

Tags: Database

Similar Questions

  • Reg: With the help of several tables of facts in the RPD!

    Hi all

    Can I get help with the following scenario?

    We use OBIEE 11 g.
    We have a report that uses 1 single fact table to retrieve data and it must be hell a lot of time to display the data in the report.

    My question is is there a way to show the performance of the report if divide us the data in table 1 to 2 fact tables and the report uses them 2 made tables.
    Are there other ways of finalization of the report for better performance.

    Thanks for the help in advance!

    Ajay.

    Hi Ajay,

    Follow these steps for tuning;
    1. try to adjust the SQL query generated first by the report, and then make the necessary changes. (Put index on the column that is required so that your query is scanning the index instead of the whole table)

    2. you can try to create the agg fact table and use agg navigation to improve performance. (This is to reduce the data set on which sql is triggered)

    3. you can try to create partitions on the table of FACTS in the comic book, and so held the partitions are queried according to the filters.

    4. in the last if all the foregoing does not resolve your query, you can try to divide the FACT table in two or more depending on your decision and then use fragmentation content in the MDB of the RPD layer if it will strike appropriate tables depending on whether you declare.

    Mark Correct/utile so this can help.

    Good luck
    Kashi

  • With the help of several types of video files into one film will prevent the publication?

    I am using Movie Maker on Vista.  I have mpeg, avi and wmv files.  The Movie Maker plays very well in project mode, but will not be published.  Multiple file extensions would be the source of trouble?

    If so, is there a quick fix?

    Hi d1bon,
     
    1. what exactly happens when you try to publish a project?
    2. do you get an error message?
     
    With the help of several file extensions should not be a concern.

    Disable video filters and check the result.
    1. click on tools and then click Options.
    2. click on the Compatibility tab.
    3. to turn off a filter, clear the check box next to the name of the video filter.

    You also uninstall the Codecs and check the result: Uninstall

    Please provide us with more details on the issue, so that we can better help you.
     
    Check publish a movie in Windows Movie Maker
    Check, solving problems with publishing a movie to your computer 
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.

  • With the help of several conditional tags with multiple outputs of WebHelp

    I have a project that I created for a web application. Within the web application, there are 3 types of customers (business Accts, Accts National and level 1 clients).

    I added each help topic associated with the help topics that I created.

    Then, I created 3 outputs of webhelp and 3 Table of contents for each type of client.

    My goal is to publish the project, where each type of client has their own output generated. Do it this way, which is listed in the help topics of table of contents for each type of customer that is not correctly displayed.

    Example: National accounts TOC

    What is generated:

    I have tagged in the table of contents to the conditional tag appropriate help topics. Help, please. Any advice? I can also be reached at [email protected]

    None of your screenshots came through - the icon of camera in the web interface allows you to attach images

  • With the help of several outings on NI USB-6229

    Hello

    I have a question about the use of several output (input) on NI USB-6229. I request of programming where I use a few digital, digital inputs, outputs some analog outputs and inputs. Initialization of all the ports that I have in a Subvi, which lies in a loop for I control settings on the other for loop by using notifications. Problem is that this outpust is really slow (or reading entries), I want to say in my main loop I setting button, but it takes at least 1 s to change my outings (even with reading entries)? So I am wonderig what I am doing wrong. Can plesae you tell me what is the best way how to control several different ports?

    OK, so my whole program structure is like this:

    In primary Vi, I have a loop that subvis in other control loops. One of the Subvi is Subvi whichchange parameters at initialization Subvi. The structure on the photo. Please help me because I really don't know where is the problem. I use two converters AD / DA more and some machines that I am targeted by using the RS232 but it NEITHER original is the slowest.

    PS. If I turn on only parameter Subvi loop everythinf is much faster.

    OK problem with loops slow fixed http://forums.ni.com/t5/LabVIEW/Slow-parallell-loops-with-DAQ/m-p/1698988#M601731.

  • How to extract the indictments of several tables

    Hi all

    I have 10 tables that all have the same columns, but different data in each column. I would like to get a count of how many fields is not null for a specific column in each table. I tried to figure this out for hours without success. We use oracle 10g and I use Toad to write my SQL.

    I will try to give you an example.

    The SQL below returns the numbers for one of the tables. I would like to get the counts for each table with a single query.

    SELECT COUNT(*) FROM RRM_HOME_EQ
     WHERE unit_id is not null
     AND   account_off is not null;
    

    Thanks in advance

    OR

    Try as below...

    Select (select count (*) from emp where deptno = 10) tab1, tab2 (select count (*) of the Department)

    Double;

    TAB1 TAB2

    ---------- ----------

    3          7

    Hope this helps... !

  • create the view of several tables of days

    Hello
    I'll have existing oracle db with the daily stat data, tables strangely named data_mon, data_tue, data_wed... For my batch that I intend to use the view with multiple day data, let say for the last 5 days.
    Do not know how better to implement my sql with these suffixes _mon statement to make it more or less dynamic.
    I create also ever seen from several tables, then, probably, that I can do something that will add daily updated data and remove data from 5 days?

    You will appreciate comments on the details and the whole concept. I have prev sql server experience.

    Thank you
    T

    user12943718 wrote:
    Hello
    I'll have existing oracle db with the daily stat data, tables strangely named data_mon, data_tue, data_wed... For my batch that I intend to use the view with multiple day data, let say for the last 5 days.
    Do not know how better to implement my sql with these suffixes _mon statement to make it more or less dynamic.
    I create also ever seen from several tables, then, probably, that I can do something that will add daily updated data and remove data from 5 days?

    You will appreciate comments on the details and the whole concept. I have prev sql server experience.

    Thank you
    T

    Change the data model if you have 1 table for a day.

    You have just a DATA table and a column to indicate the day of the application.

    Then you don't need a view, do not need anything dynamic, do not need to break your head against a wall for a simple query... etc.

  • With the help of several AC750 extension of scope in the same House?

    Can I use two or more AC750s in the same House for more coverage wifi scope/better?

    Hello JD777

    Yes you can but it is not recommended to connect 2 extensions to the other, you want to make sure you connect both to the main router.

    DarrenM

  • With the help of external Tables

    HELO - I have a few questions regarding the use of external tables, as I have not worked with them before.

    From what I read, looks like they are more intended instead of SQL Loader, to simply load the data. But I was wondering if they are also used for queries. I ask because we usually create temporary tables to load the data provided by the company and we then attach this information to our main tables. The file that we just received is more 3 million lines, so I was wondering if it might be appropriate to use an external table and also, I can query this external table directly or will it still my temporary table as well.

    In addition, it's the syntax that I found to create an external table and I was wondering if something escapes me.
    SQL> create table xtern_empl_rpt
      2      ( empl_id varchar2(3),
      3        last_name varchar2(50),
      4        first_name varchar2(50),
      5        ssn varchar2(9),
      6       email_addr varchar2(100),
      7        years_of_service number(2,0)
      8      )
      9      organization external
     10      ( default directory xtern_data_dir
     11        access parameters
     12        ( records delimited by newline
     13          fields terminated by ','
     14        )
     15        location ('employee_report.csv')  
     16    );
    I appreciate all the comments...

    Thank you!
    Christine

    Hello

    Based on what I read

    It would be good to know what you have read sofar and where...

    I can query this external table directly

    Yes, once you have created.
    An external table allows to process a file as if it were a table.
    Don't forget that you can query only, you can not the update/delete/insert in an external table.

    You can find many examples by searching on this forum,
    or http://asktom.oracle.com
    (for example: http://asktom.oracle.com/pls/asktom/f?p=100:11:0:::P11_QUESTION_ID:6611962171229))
    or http://www.oracle-base.com/articles/9i/ExternalTables9i.php
    or the Oracle Documentation @ http://tahiti.oracle.com

  • Why is it so hard to find an answer in the help of Firefox (704 returns does NOT help me answer my simple question ONE, which was: How can I turn off the feature that keeps blocking each download I try to?)?

    FF10. Whenever I try to download a file, it blocks the transaction with a Ribbon of Windows Internet Explorer style in the upper part of the window. It's very annoying. How do I turn it off? I can't browse 700 + feedback on the help search.

    I can't now to reproduce the problem. It seems to have disappeared on its own. She gave me a small strip in the upper part of the window below the menu bar of Firefox. I think the banner said "Firefox has blocked a website tries to download a file on your computer" and there is a button on the right marked "allow." I thought that there was a framework for that somewhere and the other to block redirects and now I can't find neither. I got v.9.0 and he auto-mis to day to 10.

  • With the help of several styles of paragraph in a table cell

    Hello

    I'm stuck using several styles of paragraph within a cell. I guess the solution is that I need to start a new paragraph, but so far I have not found a way to do it. When I directly in InDesign, it works fine, but I can not start a new paragraph when you use the script.

    Here's a solution I've tried:

    with {(table)

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: '1 ' Format string,

    appliedParagraphStyle: styleFormat1

    };

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: "\rString in size 2',

    appliedParagraphStyle: styleFormat2

    };

    }

    But until now I did not get a new paragraph. When you look at the IDMLs, you can see that InDesign adds a new paragraph inside the cell, while my code remains in the same paragraph.

    Here the IDML result when I do in InDesign:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format1" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    And here is that when I use the script:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    It is therefore quite clear my script is not adding a new paragraph. Any ideas how to get a new paragraph so I can use more than one paragraph style?

    I don't have test nore debug your code, but I suggest you another method to apply the content and style of two paragraphs. Do not use a with statement.

    What is your version of InDesign?

    Example:

    // Add new document:
    var doc = app.documents.add();
    // Add two paragraph styles:
    var paraStyle1 = doc.paragraphStyles.add({name : "ParaStyle-1" , pointSize : 20});
    var paraStyle2 = doc.paragraphStyles.add({name : "ParaStyle-2" , pointSize : 15});
    
    // Add a new text frame (default is on page 1):
    var newTextFrame = doc.textFrames.add();
    newTextFrame.geometricBounds = [0,0,"150mm","150mm"];
    
    // Add a table to this text frame:
    var table = newTextFrame.tables.add
    (
        {
            bodyRowCount : 4 ,
            columnCount : 3 ,
            width : "150mm"
        }
    
    );
    
    // Assign the contents as array:
    // The fisrt and only entry in this array will give the first cell its contents:
    table.contents =
    [
        "Paragraph 1"+"\r"+"Paragraph 2"
    ]
    
    // Assign the formatting of the two paragraphs:
    table.cells[0].paragraphs[0].appliedParagraphStyle = paraStyle1;
    table.cells[0].paragraphs[1].appliedParagraphStyle = paraStyle2;
    

    Strategic outcome with InDesign CS6 Mac OS x 10.6.8 v8.1.0:

    Hope, that helps.
    Uwe

  • With the help of several values with CFSET

    Currently using CF7 to develop for the server.

    Several (many) use < cfif > statements on page to hide/display based on the user name credentials.

    My curernt for this code is:

    < cfif (MM_Session.Username EQ "Name1" or MM_Session.Username EQ "Name2") or MM_Session.Username EQ "name3" > show me something < / cfif >

    The problem is that to add/change/delete a name, I have do this 15 times.  Can I still use find/replace, but I thought I could put something in place in the Application file for better management. What I came up with is the following:

    In the Application, I inserted:

    < cfset theadmin = "Name1, name2, Name3" >

    On the other page:

    < cfif (MM_Session.Username EQ #theadmin #) > show me something < / cfif >

    Of course, he did not.  I know there must be a table, but I don't know how to do this with cfset and what I found in the research and documentation does not worked either.  I was hoping to create a list of user names in the application so that I can quickly add/modify/delete users once.

    Any ideas or help would be great!  Thanks in advance!

    OgreOne wrote:

    Currently using CF7 to develop for the server.

    Several (many) use statements on page to hide/display based on the user name credentials.

    My curernt for this code is:

    Show me something

    The problem is that to add/change/delete a name, I have do this 15 times.  Can I still use find/replace, but I thought I could put something in place in the Application file for better management. What I came up with is the following:

    In the Application, I inserted:

    On the other page:

    Show me something

    Of course, he did not.  I know there must be a table, but I don't know how to do this with cfset and what I found in the research and documentation does not worked either.  I was hoping to create a list of user names in the application so that I can quickly add/modify/delete users once.

    Any ideas or help would be great!  Thanks in advance!

    First, it is important that your Application.cfm file implements the cfaplication tag. At least something like this will do:

    Then, put this in the Application.cfm file:

    It makes the adminList variable available to each page in your application. You can now proceed with the following checks on any page:

    Show me something

  • With the help of several games tab

    What is the best way to handle this situation:
    In my APEX 3.1.0 app, I have a standard tab set with 7 tabs.
    A Department uses only the pages under the first 3 tabs and another Department only pages on the last 4 tabs.
    Now people are saying, they can't even see the tabs are not part of them.
    So I thought that I copy the existing tab game and do 2 new series of tab to it and then delete the legs that are not necessary in each of them. I have "he's called the Dept1_TabSet and Dept2_TabSet.» Then I'll change 'Tab Standard Set' property in the pages to the new set of appropriate tab.
    Question 1: How do you do that? Looks like the Apex only allows you to create new sets of tab tab by tab. I don't really see a way to copy an existing set of tab.
    Question 2: given that P1 is displayed by default when the application starts and P1 will be associated with Dept1_TabSet, how will Dept2 users navigate to the pages they need? Do I need the application to start up on a page that asks the user to choose what Department it is from?

    Or maybe the solution requires a completely different methodology. Please let me know.


    Thank you.

    Published by: Prohan on January 22, 2010 07:39

    Hello

    I would use the second approach.
    It is a good idea to decide what page you will in time connection, step in that process the header.

    OK, you use integrated authentication Apex, but in any case you have a few tables with your users and services or you those hard-coded?
    Then, you need to keep synchronized these tables with users that you create in the apex.
    (Btw, instead of your own user table, you can use built-in Apex table WWV_FLOW_FND_USER and configure up to 10 attributes to users where you can store all kinds of information about your users, e.g. Department but it's maybe off-topic here,
    You can check apex_util procedure and package set_attribute get_attribute function).

    So, just create a function that returns the page number as username, you have not need check the name of user and password here, since even when
    If this is not correct wwv_flow_custom_auth_std.login process will not succeed.

    i.e. put something like this in your Login Page 101 in the Login process after submit, (I assume that you have the standard login page)

    DECLARE
    n_page_to NUMBER;
    BEGIN
    
    :P101_USERNAME := upper(trim(:P101_USERNAME));
    n_page_to := my_login_page(:P101_USERNAME);
    
    wwv_flow_custom_auth_std.login(
        P_UNAME       => :P101_USERNAME,
        P_PASSWORD    => :P101_PASSWORD,
        P_SESSION_ID  => v('APP_SESSION'),
        P_FLOW_PAGE   => :APP_ID||':'||n_page_to
        );
    END;
    

    I've trimmed username and have uppercase. To do this, you can use both calculations, and I think that you already have this logic.

    and your function in DB which will return the default department page:

    create or replace FUNCTION my_login_page(p_username VARCHAR2)  RETURN NUMBER IS
    
    BEGIN
    FOR i in (select decode(department,1,1,2,2,1) page_id from my_users where username = p_username) loop
       return i.page_id;
    END LOOP;
    RETURN 1;
    END;
    

    So for usernames in your table, it will return page 1 to page 2 for dep2, dep1, page 1 for all other values of Department and that you might have.
    And where there is no user in a table, it will be back to page 1.
    So, in case the user is not in the table, but he managed to authenticate, there be page 1.

    those are just ideas.
    You can have several departments in the future, so you can store page default Department in your table, not hard-coded values.

    Kind regards
    Oleg

  • With the help of several radius for authentication servers

    Hello.

    I want to install a PPTP to my router and I wonder if it is possible to use windows multiple IAS servers on a Cisco router?

    The scenario is that I have more than one business using this PPTP connection and they all have their own advertising on their own VLAN, I would like the router to forward the authentication request containing the username and password for all IAS of Windows servers that I specify or go through them one at a time until it receives an awnser.

    Is this possible?

    Best regards Tommy Svensson

    Tommy,

    This is not possible because if a radius server receives a user name, it will be simple rejection the user and send this response to the Cisco router. The radius Protocol is not throw or send any message to warn the router that the user is not present in its database.

    I know that with ACS that if a username has been sent with a special domain can proxy communication on the acs server and the Cisco router based on the user name.

    I hope this helps.

    Tarik

  • Problem with the help of several lines of flight path images. Any help would be greatly appreciated thanks!

    Hello

    I use several lines of flight path images, and when the mouse is hovering over an image rollover on the second row or below the image that is supposed to appear appears on the image at the top of its column. Any help would be appreciated, I've tried everything I can and can not find a way to solve this problem. If you need videos or screenshots of the problem, DOM Panel or code please ask. Thank you

    I'm on a mac on Yosemite and spin the latest version of dreamweaver

    Until you find permanent web hosting, do a Google search for free web hosting.  You will find a lot out there that you can use for temporary testing & debugging.

    Nancy O.

Maybe you are looking for

  • Why TB does not freeze when I click on account settings? (Goes from bad to worse!)

    A few days ago, I posted a question about migration backup emails in TB. I got help, but not a definitive answer to my problems. Unfortunately, my wife and I seem to have created an additional problem which must be resolved before we return to the is

  • System Restore does not work? Help, please

    Restore failed I tried to restore my system to an earlier time, but I get this message? No changes have been made to your computer. System Restore could not restore your computer about to restore specified. Select a different restore point, and then

  • T60 1951-FEG W7 screen resolution

    Is it possible to achieve a higher resolution 1078 x 768 on this machine with windows 7?

  • new version of the BIOS did not work

    Hi, I updated the BIOS of my HP Pavilion dv7-3079wm Entertainment Notebook PC F11 to F13 but it did not work properly (I downloaded the file from the HP site). I need the old version (F11), if any of you have it, because it is not on the site of HP.o

  • Strange connection problem

    This happens on the Simulator and the current device.  I did it on 8800, 8703e, 8320 and 7100i.  OS 4.1 and 4.2.  Also tried on multiple media.  Tried with and without a BES. I am able to create an http connection initially, and everything works fine