Combining Two tag Queries

I am trying to combine 2 tag queries with 5 tags in each one into one table to put in a web page.  What is the easiest way to do this.
I am attempting to combine them with the xmii logic editor.  I can get one tag query in to an xml saver just fine but I am having trouble appending the 2nd tag query as a second column to the first tag query.

Ken:
This is a good use of the Union, Join, and/or Interpolator action(s).
Does each query result have the exact same # of rows and exact same timestamp(s)?
Also, if you're just sending them to an iChart, a Union action will fork fine.  If you are trying to merge them for a grid, it is slightly trickier.
Describe the data and the desired UI look in more detail and we can help ya out.
- Rick

Similar Messages

  • How to combine  two user prompts into 1 single prompt from two Webi Queries

    Hi All,
    I developed a single webi report from two different queries on top of 2 BW OLAP universe .
    Here I have one user input prompt for each query so I want to combine them into one single user input promt which  should pass the user input value to both the Webi queries feeding data to the  single webi report.
    I found that the webi doc has auto checked merge dimensions enabled but it is not providing combined resluts from both the queries .
    Any inputs are greatlt appreciated.
    Thanks

    Stratos
    Firstly ,I appreciate your responses for my two questions.
    Both the prompts I am using are from the masterdata and they are similar.data types.I think the transactional data is not available in BW for one of the prompt ,hence I am not getting consistent data.
    Anyway will do further investigation in finding similarities and let you know.
    Thanks a lot

  • Combining two queries in a join

    SQL> desc messages;
    Name Null? Type
    MESSAGEID NOT NULL NUMBER
    TITLE NOT NULL VARCHAR2(50)
    AUTHOR VARCHAR2(20)
    BODY NOT NULL VARCHAR2(4000)
    BOARD NUMBER
    THREAD NOT NULL NUMBER
    DATE_CREATED NOT NULL DATE
    SQL>
    I'm trying to combine both queries outlined below. The first query
    selects the very first message created in the messages table. It does
    this by checking whether thread=0. If it is that means it started a message.
    The second query checks the number of replies to the thread above.
    The replies to the above message
    will have a thread value the same as the above messageid.
    That is how a reply is identified.
    I am trying to do both queries in one so that the output has
    the starting message first with the name
    of the person who created the new thread(author), date_created, etc....below that
    then is the
    number of replies to the message,the author of each reply and the date....
    I'm using oracle 8i so i cant use the join key word...
    any ideas would be appreciated.
    ----selects message that started thread---------------------------------
    select b.title,b.boardid,m.messageid,m.title,m.author,
    m.date_created,m.body
    from messages m, boards b where b.boardid=m.board and m.thread=0 and b.boardid='198'
    and m.messageid='241';
    Thread title Author Starting message Last post
    Austrailia noel Austrailia 04/01/2005 21:22:35
    -----selects replies to the above message-----------
    select author,date_created,body
    from messages
    where board=198 and thread=241;
    AUTHOR DATE_CREATED BODY
    noel           05-JAN-05 Oz is played on clay
    noel 05-JAN-05 Oz played on grass
    noel 05-JAN-05     Oz played on grass

    This is a duplicate post of the following thread:
    URGENT: combining two sql statements

  • Create a view  with combine two  queries

    Hi I have two sql queries but just the where condition is just differed But i need a separate coulmn in one view. The data is comming from same table. I need to make two different column like qry 1 fullname, qry2.full name like that
    first query
    Select
    SF.Stu_Last_Name || ', ' || SF.stu_First_Name || ' ' || SF.stu_Middle_Name as Full_Name,
    SF.Stu_id ,
    SF.stu_cur_schl,
    SF.REAS_FOR_ENROLL_CODE,
    SF.REAS_FOR_ENROLL_DSC,
    SF.SIMS_SCHOOL_YEAR,
    SF.SIMS_COL_PERIOD,
    SF.SIMS_PERIOD_ID,
    substr(TF.DATE_SID, 1, 4) as M_Year,
    D.MONTH_DESC as MonthName,
    LD.LOC_DISTRICT_SHRT_DESC as DistrictCode,
    LD.LOC_DISTRICT_DESC as DistrictName,
    LD.LOC_KEY ,
    LD.LOC_DESC ,
    TF.STU_ID as M_SID,
    TD.GRADE,
    TD.SUBJECT_ID,
    TD.SUBJECT_NAME,
    TF.CHAR_BCKT_1 as StudentPerformance ,
    TF.CHAR_BCKT_2 as TestStatus,
    TF.CHAR_BCKT_3 as StudentPerformanceClean,
    TF.INT_BCKT_1 as Score1,
    TF.INT_BCKT_2 as Score2,
    TF.INT_BCKT_4 as CPI
    From
    Student_Fact SF,
    EPMS_PROD.TEST_SUMMARY_FACT2 TF,
    TEST_DIM TD,
    LOCATION_DIM LD,
    EPMS_PROD.DATE_DIM D
    where
    SF.SIMS_PERIOD_ID=(select max(SF.SIMS_PERIOD_ID) from Student_Fact SF) and
    SF.STU_ID=TF.STU_ID and
    SF.SIMS_SCHOOL_YEAR=substr(TF.DATE_SID, 1, 4) and
    --TD.TEST_ID in(1,4) and TD.SUB_TEST_ID =100 and
    TD.TEST_SID=TF.Test_sid and
    LD.LOC_SID=TF.Loc_sid and
    D.DATE_SID=TF.DATE_SID and
    --TF.Stu_id in('1040822404','1091432903') and
    TD.SUBJECT_ID<>0 and
    TF.CHAR_BCKT_2<>' '
    group by
    SF.Stu_Last_Name || ', ' || SF.stu_First_Name || ' ' || SF.stu_Middle_Name,
    SF.Stu_id,
    SF.stu_cur_schl,
    SF.REAS_FOR_ENROLL_CODE,
    SF.REAS_FOR_ENROLL_DSC,
    SF.SIMS_SCHOOL_YEAR,
    SF.SIMS_COL_PERIOD,
    SF.SIMS_PERIOD_ID,
    substr(TF.DATE_SID, 1, 4),
    D.MONTH_DESC,
    TF.STU_ID,
    TD.GRADE,
    TD.SUBJECT_ID,
    TD.SUBJECT_NAME,
    TF.CHAR_BCKT_1,
    TF.CHAR_BCKT_2,
    TF.CHAR_BCKT_3,
    TF.INT_BCKT_1,
    TF.INT_BCKT_2,
    TF.INT_BCKT_4,
    LD.LOC_DISTRICT_SHRT_DESC,
    LD.LOC_DISTRICT_DESC,
    LD.LOC_KEY,
    LD.LOC_DESC
    second query
    Select
    SF.Stu_Last_Name || ', ' || SF.stu_First_Name || ' ' || SF.stu_Middle_Name as SIMS_Full_Name,
    SF.Stu_id ,
    SF.stu_cur_schl,
    SF.STU_REPORTING_ORG_CODE,
    SF.REAS_FOR_ENROLL_CODE,
    SF.REAS_FOR_ENROLL_DSC,
    SF.SIMS_SCHOOL_YEAR,
    SF.SIMS_COL_PERIOD,
    SF.SIMS_PERIOD_ID,
    substr(TF.DATE_SID, 1, 4) as M_Year,
    D.MONTH_DESC as MonthName,
    LD.LOC_DISTRICT_SHRT_DESC as DistrictCode,
    LD.LOC_DISTRICT_DESC as DistrictName,
    LD.LOC_KEY as SchoolCode,
    LD.LOC_DESC as SchoolName,
    LD.LOC_TYPE_CODE,
    LD.LOC_TYPE_DESC,
    TF.STU_ID as M_SID,
    TD.GRADE,
    TD.SUBJECT_ID,
    TD.SUBJECT_NAME,
    TF.CHAR_BCKT_1 as StudentPerformance ,
    TF.CHAR_BCKT_2 as TestStatus,
    TF.CHAR_BCKT_3 as StudentPerformanceClean,
    TF.INT_BCKT_1 as Score1,
    TF.INT_BCKT_2 as Score2,
    TF.INT_BCKT_4 as CPI
    From
    Student_Fact SF,
    EPMS_PROD.TEST_SUMMARY_FACT2 TF,
    TEST_DIM TD,
    LOCATION_DIM LD,
    EPMS_PROD.DATE_DIM D
    where
    --SF.SIMS_PERIOD_ID=(select max(SF.SIMS_PERIOD_ID) from Student_Fact SF) and
    SF.STU_ID=TF.STU_ID and
    SF.SIMS_SCHOOL_YEAR=substr(TF.DATE_SID, 1, 4) and
    --TD.TEST_ID in(1,4) and TD.SUB_TEST_ID =100 and
    TD.TEST_SID=TF.Test_sid and
    LD.LOC_SID=TF.Loc_sid and
    D.DATE_SID=TF.DATE_SID and
    --TF.Stu_id in('1040822404','1091432903') and
    TD.SUBJECT_ID<>0 and
    TF.CHAR_BCKT_2<>' ' and
    --LD.LOC_TYPE_CODE in (6, 13)
    SF.SIMS_COL_PERIOD in ('Mar', 'EOY') and
    SF.REAS_FOR_ENROLL_CODE in ('06', '07')
    group by
    SF.Stu_Last_Name || ', ' || SF.stu_First_Name || ' ' || SF.stu_Middle_Name,
    SF.Stu_id,
    SF.stu_cur_schl,
    SF.STU_REPORTING_ORG_CODE,
    SF.REAS_FOR_ENROLL_CODE,
    SF.REAS_FOR_ENROLL_DSC,
    SF.SIMS_SCHOOL_YEAR,
    SF.SIMS_COL_PERIOD,
    SF.SIMS_PERIOD_ID,
    substr(TF.DATE_SID, 1, 4),
    D.MONTH_DESC,
    TF.STU_ID,
    TD.GRADE,
    TD.SUBJECT_ID,
    TD.SUBJECT_NAME,
    TF.CHAR_BCKT_1,
    TF.CHAR_BCKT_2,
    TF.CHAR_BCKT_3,
    TF.INT_BCKT_1,
    TF.INT_BCKT_2,
    TF.INT_BCKT_4,
    LD.LOC_DISTRICT_SHRT_DESC,
    LD.LOC_DISTRICT_DESC,
    LD.LOC_KEY,
    LD.LOC_DESC,
    LD.LOC_TYPE_CODE,
    LD.LOC_TYPE_DESC
    Can you please help how do do it.
    Thanks
    Ram

    Yes. it is okay when i use Union and create some dummy column in each of the query and do it. But here other people thinks performance may be a issue. Now they r telling try with function or something.
    So thats what i am thinking how to resolve in best way... They strongly suggest using function.
    is it possible to do it in function?
    Than ks
    Ram

  • Combining results two LDAP queries or/and LDAP SQL

    Hi,
    Is it possible to combine two ldap query results? Just
    something like the join function in SQL?
    And another question I have if it is possible to combine an
    LDAP an SQL query> (just like you can use JOIN to query in two
    tables, but then use something to do the same with ldap and sql)
    Is there anybody who knows if this is possible?
    Regards

    Can you provide an example of your code and the desired
    result, please? Thanks.
    Chris

  • How to combine two queries using Web application Designer

    Hello experts...
    This should be a simple request.
    I have two existing queries that I simply want to display on the same template. What is the best way to do this?
    To add more complexity to it, if there is a result value that I want to pull from each of them, how can this be done so that I can add the results of the two into one total?
    Any help that you can provide is greatly appreciated. Thanks

    Hi,
    Displaying the existing queries on the same template is very simple... Drag and drop to web items... for ex we will drag and drop two analysis web item...
    Create 2 data providers and assign it to the web items... each dataprovider is in turn assigned to two existing queries...
    I am not sure about the result value to be pulled from each of them...
    Regards,
    Kishore

  • How to combine two dimension in dashboard??

    Dear experts,
    I have a requirement that i need two combine two dimension in dashboard.
    Ex:-
    -  I have two different providers (Query1 and Query2) and both is having common dimension called Plant.
    - The plant from both query is having different values (for example, Query1 Plant = A,B,C and Query2 Plant = D,E,F,G)
    - Now I want the total list of plants from both query and list of plants will be used as filter on combo box in dashboard.
    Note: List of values for Plant (dimension) may increase or decrease from both query.
    Thanks and regards
    Vijay Muniraj

    Hi Vijay,
    How can you combine the 2 queries as a single query in dashboard?If i understood the query,use a Multiprovider for your requirement and get the combined results in single query and use Plant as single prompt in the dashboard(If you are getting data from BI).You cannot merge this behaviour in the dashboard.(In Web Intelligence you can merge it based on common dimension values only).
    Regards,
    Venkat

  • Wad reqt - Combining two individual charts

    Hello Experts,
             I have a requirement in WAD where in I have two stacked column charts as shwon below.
             These two column charts are using two different queries. First column chart shows keyfigures related to LT.
             Second column chart shows keyfigures related to LF.
             Requirement now is to combine these two charts as single stacked column chart.
             The new single column chart shoul show the bars for LT and LF for the given month side by side.
             Please help me to achieve the same.
             Thanks in advance.
    Regards,
    Annu    

    Hello,
            @Yasemin : I can create a query as you suggested and use the same for creating the chart.
            But the problem is to create the chart as desired.
            I need the stacked column with two bars for each month.
            First bar must should show first three key figures.
            Second bar must show the keyfigures from 4 to 6.
            Your suggestions are valuable to me.
    Regards,
    Annu

  • Combining Sum/Case queries with different where clauses into one query

    Hello,
    I'm trying to combine 2 queries that contain the SUM/CASE function into one query that'll produce the output in the same table, rather than having two The thing is, the two queries have different conditions. I've created a sample data table and outputs to better describe what I'm trying to achieve.
    SAMPLE_DATA
    DEPT
    PROD_CODE
    FLAG1
    FLAG2
    HO
    A
    NULL
    Y
    HO
    B
    NULL
    Y
    HO
    A
    Y
    NULL
    HO
    B
    Y
    Y
    IT
    A
    NULL
    Y
    IT
    C
    NULL
    NULL
    ENG
    B
    NULL
    Y
    ENG
    C
    NULL
    Y
    ENG
    C
    Y
    Y
    MKT
    A
    Y
    Y
    The first query I'm running is to sum the product codes department wise while checking if FLAG1 is Y. The second query is checking if FLAG2 is Y.
    First Query:
    select DEPT, sum(case PRODUCT_CODE when 'A' then 1 else 0 end),
    sum(case PRODUCT_CODE when 'B' then 1 else 0 end),
    sum(case PRODUCT_CODE when 'C' then 1 else 0 end)
    from SAMPLE_DATA where FLAG1 is not null group by DEPT;
    Second Query:
    select DEPT, sum(case PRODUCT_CODE when 'A' then 1 else 0 end),
    sum(case PRODUCT_CODE when 'B' then 1 else 0 end),
    sum(case PRODUCT_CODE when 'C' then 1 else 0 end)
    from SAMPLE_DATA where FLAG2 is not null group by DEPT;
    FIRST QUERY OUTPUT:
    DEPT
    PRODA_FL1
    PRODB_FL1
    PRODC_FL1
    HO
    1
    1
    0
    IT
    0
    0
    0
    ENG
    0
    0
    1
    MKT
    1
    0
    0
    SECOND QUERY OUTPUT:
    DEPT
    PRODA_FL2
    PRODB_FL2
    PRODC_FL2
    HO
    1
    2
    0
    IT
    1
    0
    0
    ENG
    0
    1
    2
    MKT
    1
    0
    0
    My aim is to combine both the queries so that the output is displayed the same way as the table below.
    DESIRED OUTPUT:
    DEPT
    PRODA_FL1
    PRODB_FL1
    PRODC_FL1
    PRODA_FL2
    PRODB_FL2
    PRODC_FL2
    Any help or tips will be greatly appreciated. Please note I'm working with more complex data and have simplified my question just to understand how to solve this.

    Just treat the two queries as tables, join them on DEPT and produce the results you want.
    with q1 as (
    select DEPT, sum(case PRODUCT_CODE when 'A' then 1 else 0 end) PRODA_FL1,
    sum(case PRODUCT_CODE when 'B' then 1 else 0 end) PRODB_FL1,
    sum(case PRODUCT_CODE when 'C' then 1 else 0 end) PRODC_FL1
    from SAMPLE_DATA where FLAG1 is not null group by DEPT),
    q2 as (
    select DEPT, sum(case PRODUCT_CODE when 'A' then 1 else 0 end) PRODA_FL2,
    sum(case PRODUCT_CODE when 'B' then 1 else 0 end) PRODB_FL2,
    sum(case PRODUCT_CODE when 'C' then 1 else 0 end) PRODC_FL2
    from SAMPLE_DATA where FLAG2 is not null group by DEPT;
    select q1.dept, proda_fl1, prodb_fl1, prodc_fl1, proda_fl2, prodb_fl2, prodc_fl2
    from q1, q2
    where q1.dept = q2.dept

  • How to combine several regex queries into a script?

    Hi there,
    is it possible to combine several regex queries into a javascipt? I export the text from a database with custom tags and the regex queries perform text AND character style replacements.
    example
    Let's say my exported text is the following
    "I have a <tag_bold>very big text</tag_bold> that includes a lot of different character styles, such as <tag_bold>bold</tag_bold>, <tag_italic>italic</tag_italic>, <tag_bold>bold with some <tag_bold_underline>underlined words</tag_bold_underline></tag_bold>,
    or ever words with different <tag_size-2>text size</tag_size-2>"
    The result I want is
    "I have a very big text that includes a lot of different character styles, such as bold, italic,
    bold with some underlined words, or ever words with different text size"
    Notice that all the tags open and close in the same paragraph and that there are nested tag pairs in some cases. So i execute my queries (more than 20) from the outer pair to the inner, that is:
    <tag_bold>...</tag_bold>
    <tag_italic>...</tag_italic>
    <tag_size-2>...</tag_size-2>
    <tag_bold_underline>...</tag_bold_underline>
    Thanks in advance for your help
    dps

    Hi Shonky,
    thank you for your answer. It seems that it is very close to the solution.
    1) I see now that my question was not clear enough.
    In the text that is included between the tags, I want to apply a Character Style I have define in the character style palette of InDesign CS3.
    That style can contain a lot of options, such as font family, size, style or color changes and is different for each tag.
    2) I tested the function with my tags:
    function my_replace (tag_bold)
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.findWhat = '<' + 'tag_bold' + '>' + '(.+?)</' + 'tag_bold' + '>';                     // here is the name i use in the regex tag
    app.changeGrepPreferences.changeTo = '$1';
    app.changeGrepPreferences.fontStyle = 'tag_bold';                                //here is the name of the Character Style I have define in InDesign
    app.activeDocument.changeGrep();
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences = NothingEnum.nothing;
    result: nothing happens
    3) Using in the script only the body of the function and running it, it highlights the right words with that pink color and shows that the Style of the text is "tag_bold", which is not available in the font family I use (Minion Pro).
    I think that the function needs a modification in the line "app.changeGrepPreferences.fontStyle = 'tag_bold';", especially the "fontStyle" attribute, but I don't know what it is. I'm not a javascript expert and maybe I don't know the right way to use this function with InDesign. I read some books about InDesign Scripting and Regular expressions, but  I didn't found all the answers I need as the one above or how I can run all the queries in one script (this is necessery because of the number and the order of scripts, to avoid mistakes).
    Thanks
    dps

  • How to combine two datarows (business component data) in BI Publisher

    Hi ,
    We are using BI Publisher in Siebel Environment.
    We have data coming from two business components (like from 2 diff tables)
    a) <?for-each:ssTest1?>
    b) <?for-each:ssTest2?>
    ssTest1 and ssTest2 are the business components
    We need to combine these 2 datarows (a&b) and show the data into a single combined data row for ex like <?for-each:ssTest1ssTest2?> and show all the fields in that.
    I'm not sure how we can combine these two data rows into a single combined data row and show the data.
    Any help from any one would be apprecated.
    Thanks
    PV
    Edited by: user8633002 on Oct 21, 2010 4:05 PM

    Hi sajid
    There was nothing more description about your issue in this site and I found an issue below is mostly like yours
    http://www.codeproject.com/Questions/855487/how-to-combine-two-table-value-in-rdlc-report
    In the issue above, if you want to show the two other tables in the report, I think you could combine the tables into one datatable joining on key. The link below show an example of a DataSet Helper from Microsoft about combine DataSets. Take note of
    the related content for other DataSet Helper examples. And then you could use the datatable in your RDLC.
    # HOW TO: Implement a DataSet JOIN helper class in Visual C# .NET
    http://support.microsoft.com/kb/326080/en-us
    In an alternative way, I think you could create a view in the database which combine your tables and use it in your rdlc.
    In addition, your issue is about asp.net and you could get more support in the asp.net forum whose link as below.
    http://forums.asp.net
    Best Regards
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Combine two resultset sidebyside in coulmn using mdx

    hi i am new to mdx,
    i want to combine two select statement resultset (side by side like union) using mdx query,please any body help me to solve this query
    first query:
     SELECT
    { [Last Year] }
    ON COLUMNS,
     { {[Location].[Location].&[7], [Location].[Location].&[12], [Location].[Location].&[11],
    [Location].[Location].&[19], [Location].[Location].&[17], [Location].[Location].&[16],
    [Location].[Location].&[9], [Location].[Location].&[18] },{[Location].[Location].[All]}}
    ON ROWS
    FROM [Cube1]
    WHERE ( [Measures].[Labour %] )
    here [Last Year] is a calculated set
    {STRTOMEMBER("[Date].[Month].&["+ cstr(year(now())-2) +"-11-01T00:00:00]"):
            (STRTOMEMBER("[Date].[Month].&["+ cstr(year(now())-1) +"-10-01T00:00:00]"))}
    2nd query:
    WITH MEMBER [Measures].[Budget ] AS IIF(avg([Last Year],IIF(([Measures].[Budget]>0),[Measures].[Budget],null)),
                                            avg([Last Year],IIF(([Measures].[Budget]>0),[Measures].[Budget],null)),0.00),
    MEMBER [Measures].[YTD] AS IIF(avg([Last Year], IIF(([Measures].[Labour %]>0),[Measures].[Labour %],null))<>null,
                                  avg([Last Year], IIF(([Measures].[Labour %]>0),[Measures].[Labour %],null)),0.00),
    FORMAT_STRING = "Standard",
    BACK_COLOR = CASE WHEN [YTD] = 0  THEN /*White*/16777215 /*White*/  
    WHEN [YTD] <= [Measures].[Budget ] THEN 65408
         WHEN [YTD]<= [Measures].[Budget ] +5 THEN 65535
         WHEN [YTD]> [Measures].[Budget ] +5 THEN 255
    END,
    VISIBLE = 1
    SELECT
    {  [Measures].[YTD], [Measures].[Budget ] }
    ON COLUMNS,
    { { [Location].[Location].&[7], [Location].[Location].&[12], [Location].[Location].&[11], [Location].[Location].&[19], [Location].[Location].&[17], [Location].[Location].&[16], [Location].[Location].&[9], [Location].[Location].&[18]
    },{[Location].[Location].[All]} }
    ON ROWS
    FROM [Cube1]
    here   ==> [Measures].[YTD], [Measures].[Budget ] are calculated member
    i want result like in
    coulmns===> ytd,budget,nov,dec,jan,feb.,,,,,,,,,,out
    rows ====> are only locations and total(average of all locations)
    please guide me to get solution like mdx query

    Hi Vsp,
    According to your description, you want to create a calculated member to combine two members, and then set it as Default member, right?
    In SQL Server Analysis Services, we can use the script below to create a calculated members.
    create member currentcube.[Date].[Day of Week].[weekend]
    as
    {[Date].[Day of Week].&[6],[Date].[Day of Week].&[7]
    Every attribute in a dimension in Microsoft SQL Server Analysis Services has a default member, which you can specify by using the
    DefaultMember property for an attribute. This setting is used to evaluate expressions if an attribute is not included in a query. Please refer to the link below to see the detail information about specify a default member.
    http://technet.microsoft.com/en-us/library/ms174822(v=sql.105).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to combine +two fields without submitting page (via AJAX/HTMLDB_Get)?

    Hi all,
    After my last contribution "Request for Scott Spendolini" I was able to create the scripts to update fields in forms without having to refresh the page. Thanks again to Scott, Carl and the others who helped me solving my problem.
    I have another question regarding this however. How do I combine two (or more) values on a form to fill a field with the values, for instance to create a unique Primary-key field?
    This is the example: combine the postcode and the house-number (and maybe an extension to the housenumber) in one field 'adrescode'. This uniquely identifies an adress in the Netherlands. I can 'get' the postcode to fill the first part of the adrescode, but how do I modify the scripts to 'get' the housenumber (huisnummer) and - if not left null - the extension to the housenumber?
    Here are the scripts I created to far:
    in the region source of the page I have the following Javascript:
    <script language="JavaScript1.1" type="text/javascript">
    function f_P52_getAdrescode ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=P52_getAdrescode',0);
    get.add('P52_POSTCODE',html_GetElement('P52_POSTCODE').value)
    gReturn = get.get();
    if(gReturn)
    {  html_GetElement('P52_ADRESCODE').value = gReturn  }
    else
    {  html_GetElement('P52_ADRESCODE').value = 'null'  }
    get = null;
    </script>
    and in the shared components of the application I have created an process P52_getAdrescode as follows:
    declare
      l_adrescode varchar2(16);
    begin
        l_adrescode := :P52_POSTCODE || :P52_HUISNR ;
        if :P52_HUISNRTOEVOEGING is null then
              NULL ;
        else
              l_adrescode := l_adrescode ||':'||:P52_HUISNRTOEVOEGING ;
        end if ;
        htp.prn(l_adrescode);
    -- dbms_output.put_line(l_adrescode);
    end;
    I ran this PL/SQL in the SQL-section of HTMLDB and it does what a expect: combine the values in a new string.
    In my page however, it only gets the value of postcode and puts this into the adrescode field.
    So my question is: how do I modify the Javascript (I Guess) so that also the fields 'huisnummer' and 'huisnummertoevoeging' end up in the adrescode field?
    Thanks for your help,
    Jan.

    Carl, Scott,
    I have two pages with exact the same fields and codings (as described before in this Post.
    I now have two different named functions and application processes, a javascript an process for each page. They both do the same thing, use the same code except for the page-number (:P52_ and :P92). I tried to make one process to replace both, but ran into problems when I changed the name in the get.add statement.
    Changing the get.add from: get.add('P52_POSTCODE',html_GetElement('P52_POSTCODE').value) to: get.add('POSTCODE',html_GetElement('P52_POSTCODE').value) always ends up in what looks like a complete html-(source)dump of the page in the field that has to be updated. Even when I replace the :P52_POSTCODE in the application process as well Changing back the application process and the javascript to so that both javascript and process use the :P52_ again and the function returns the correct value again. What am I doing wrong?
    I requested an online-workspace to post the application to it, but have no answer to my request yet, so I can't provide a working example at the moment....
    Thanks for your help again,
    Jan.

  • How do I combine two user accounts into one account?

    When we originally set-up our iMac, I set-up two accounts for my wife and I. Since then it has been a royal pain with music and applications sharing. How do I merge the two accounts into one?

    I found an answer to this by searching on "merging two accounts" rather than "combining two accounts." BTW, it's a little mini-nightmare if you only use "combine" on both Google and Apple support. At least this post might help others avoid the same fate.
    Here's where to go to find the answer: http://discussions.apple.com/message.jspa?messageID=5629676#5629676

  • Can I combine two pdf files by using command lines?

    Hi
    I always need to combine two pdf files into one in my regular work
    Currently, I open one of them, press ctrl+shift+I,
    find another file and double click it.
    It works but not so efficient since I need to do
    this procedure many times everyday
    So I'm looking for a better solution
    Something like command lines,
    for example:
    acrobat.exe "combine" "doc1.pdf" "doc2.pdf"
    Does acrobat have these functions or not?
    Thx &
    Best Regards

    File > Combine

Maybe you are looking for

  • Error in Creation of SES

    Hi Gurus, While creating SES sheet, after entering the PO and period details, we are encountering the error message " Error in account coding allocation". We had checked the PO and the account details were picked correctly. could you please suggest w

  • How can I not reveal group members' email addresses when sending a group message?

    I want to send a group message without revealing, as a courtesy, the email addresses of everyone in my group to all members of the group. How can I mask the other recipients? --Gary

  • Firefox runs extremely slow on my Macbook Pro after upgrade to 5.0.1. It is unbearable.

    I upgraded to 5.0.1, then to 6.0, and Firefox still runs slow. Gets stuck for a minute when I open new windows and type a Google search. The version I had before 3.6.x handled my rapid-fire new window searches no problem, but now I find myself waitin

  • Printer Update 2.16 Killed Wireless Printing on my Epson SX600FW

    I have been using an Epson SX600FW for several years and I don't remember having a problem with it until I recently allowed Software Update to install Printer Update 2.16 and since then I have been unable to print via wireless. I can still print via

  • Superdrive reads DVD's, not CD's

    I recently bought a used G5 from a University surplus store. It will read DVD's, but not CD's. Is it possible that the university was able to disable the reading of CD's for use in computer labs? This is what it says when I look under "disk burning"