CR 4 Ent, Xcelsius and WebI - one query and two different results

Dear Sirs,
I'm using BO 4.0 platform and 3 tools: Crystal Reports for Enterprise, WebI and Dashboard Design (Xcelsius).
I have one question, because in my opinion in this solution is one inconsistency.
I have one table in SQL Server (like below):
IDRec (autoinc)  | Col1 (varchar)   | Col2 (int)
1      A    1
2      A    1
3      B    2
4      B    2
I have one universe with ONLY 3 dimensions (IDRec, Col1, Col2). I haven't any measures.
And:
1. Using CR 4 Ent and I create report using 3 dimensions (IDRec, Col1, Col2).
I make sure, that I selected option: "Retrieve duplicate rows"
If I have 3 columns in details I have 4 records (4 rows) in my report, when I have 2 columns (Col1 Col2) I have only 2 records (2 rows) in report (Page view).
So universe (or something like this) use option DISTICT (I think).
2. When I use WebI (14.0.2) I have the same situation.
3. When I use Dashboard Desigm (Xcelsius 2011) I have 4 rows !!!  ALWAYS - it doesn't matter I selected "Retrieve duplicate rows" or not  !!!
When I look to "View script" window, I not see DISTINCT clause.
Am I doing something wrong?
I can change the settings so as to be able to see duplicate records?
It's very important for some calculation, especially in Crystal Reports (for Enterprise).

Hi,
  Thanks for the response...But the result is deviating from the expected..
       expected is
     if we have first query returns              second query returns
              1                                                     4
              2                                                     5
              3                                                     6
     these two queries result should be in one table , with first query result in first column and second query result in second column.
   The two queries fetching data from same table(category table as in my post) with different search criteria( in where clause).......Regards,
Rakesh.

Similar Messages

  • Execute the same query twice, get two different results

    I have a query that returns two different results:
    Oracle Version : 10.2.0.1.0
    I am running the following query on the Oracle server in SQL*Plus Worksheet.
    SELECT COUNT(*)
    FROM AEJOURNAL_S1
    WHERE CHAR_TIME BETWEEN TO_DATE('12-AUG-10 01:17:39 PM','DD-MON-YY HH:MI:SS AM') AND
    TO_DATE('13-AUG-10 14:17:34','DD-MON-YY HH24:MI:SS')
    AND DESC2 LIKE '%'
    AND DESC1 LIKE '%'
    AND DESC2 LIKE '%'
    AND ETYPE LIKE '%'
    AND MODULE LIKE '%'
    AND LEVELL = '11-WARNING'
    ORDER BY ORDD DESC;
    The very first time the query is run, it will return a count of 259. The next time the query is run, lets say, 10 seconds later, it will return a count of 260. The above query is exemplary of the kind of thing I'm trying to do. It seems like the more fields filtered against '%', the more random the count return becomes. Sometime you have to execute the query three or four times before it levels out to a consistent number.
    I'm using '%' as the default for various fields, because this was the easiest thing to do to support a data-driven Web interface. Maybe I have to 'dynamically' build the entire where clause, instead of just parameterizing the elements and having default '%'. Anyway, to eliminate the web interface for the purpose of troubleshooting the above query was run directly on the Oracle server.
    This query runs against a view. The view does a transpose of data from a table.
    Below is the view AEJOURNAL_S1
    SELECT
    CHAR_TIME,
    CHAR_INST,
    BATCH_ID,
    MIN(DECODE(CHAR_ID,6543,CHAR_VALUE)) AS ORDD,
    MIN(DECODE(CHAR_ID,6528,CHAR_VALUE)) AS AREAA,
    MIN(DECODE(CHAR_ID,6529,CHAR_VALUE)) AS ATT,
    COALESCE(MIN(DECODE(CHAR_ID,6534,CHAR_VALUE)),'N/A') AS CATAGORY,
    MIN(DECODE(CHAR_ID,6535,CHAR_VALUE)) AS DESC1,
    MIN(DECODE(CHAR_ID,6536,CHAR_VALUE)) AS DESC2,
    MIN(DECODE(CHAR_ID,6537,CHAR_VALUE)) AS ETYPE,
    MIN(DECODE(CHAR_ID,6538,CHAR_VALUE)) AS LEVELL,
    MIN(DECODE(CHAR_ID,6539,CHAR_VALUE)) AS MODULE,
    MIN(DECODE(CHAR_ID,6540,CHAR_VALUE)) AS MODULE_DESCRIPTION,
    MIN(DECODE(CHAR_ID,6541,CHAR_VALUE)) AS NODE,
    MIN(DECODE(CHAR_ID,6542,CHAR_VALUE)) AS STATE,
    MIN(DECODE(CHAR_ID,6533,CHAR_VALUE)) AS UNIT
    FROM CHAR_BATCH_DATA
    WHERE subbatch_id = 1774
    GROUP BY CHAR_TIME, CHAR_INST, BATCH_ID
    So... why does the query omit rows on the first execution? Is this some sort of optimizer issue. Do I need to rebuild indexes? I looked at the indexes, they are all valid.
    Thanks for looking,
    Dan

    user2188367 wrote:
    I have a query that returns two different results:
    Oracle Version : 10.2.0.1.0
    I am running the following query on the Oracle server in SQL*Plus Worksheet.
    SELECT COUNT(*)
    FROM AEJOURNAL_S1
    WHERE CHAR_TIME BETWEEN TO_DATE('12-AUG-10 01:17:39 PM','DD-MON-YY HH:MI:SS AM') AND
    TO_DATE('13-AUG-10 14:17:34','DD-MON-YY HH24:MI:SS')
    AND DESC2 LIKE '%'
    AND DESC1 LIKE '%'
    AND DESC2 LIKE '%'
    AND ETYPE LIKE '%'
    AND MODULE LIKE '%'
    AND LEVELL = '11-WARNING'
    ORDER BY ORDD DESC;
    The very first time the query is run, it will return a count of 259. The next time the query is run, lets say, 10 seconds later, it will return a count of 260. The above query is exemplary of the kind of thing I'm trying to do. It seems like the more fields filtered against '%', the more random the count return becomes. Sometime you have to execute the query three or four times before it levels out to a consistent number.
    I'm using '%' as the default for various fields, because this was the easiest thing to do to support a data-driven Web interface. Maybe I have to 'dynamically' build the entire where clause, instead of just parameterizing the elements and having default '%'. Anyway, to eliminate the web interface for the purpose of troubleshooting the above query was run directly on the Oracle server.
    This query runs against a view. The view does a transpose of data from a table.
    Below is the view AEJOURNAL_S1
    SELECT
    CHAR_TIME,
    CHAR_INST,
    BATCH_ID,
    MIN(DECODE(CHAR_ID,6543,CHAR_VALUE)) AS ORDD,
    MIN(DECODE(CHAR_ID,6528,CHAR_VALUE)) AS AREAA,
    MIN(DECODE(CHAR_ID,6529,CHAR_VALUE)) AS ATT,
    COALESCE(MIN(DECODE(CHAR_ID,6534,CHAR_VALUE)),'N/A') AS CATAGORY,
    MIN(DECODE(CHAR_ID,6535,CHAR_VALUE)) AS DESC1,
    MIN(DECODE(CHAR_ID,6536,CHAR_VALUE)) AS DESC2,
    MIN(DECODE(CHAR_ID,6537,CHAR_VALUE)) AS ETYPE,
    MIN(DECODE(CHAR_ID,6538,CHAR_VALUE)) AS LEVELL,
    MIN(DECODE(CHAR_ID,6539,CHAR_VALUE)) AS MODULE,
    MIN(DECODE(CHAR_ID,6540,CHAR_VALUE)) AS MODULE_DESCRIPTION,
    MIN(DECODE(CHAR_ID,6541,CHAR_VALUE)) AS NODE,
    MIN(DECODE(CHAR_ID,6542,CHAR_VALUE)) AS STATE,
    MIN(DECODE(CHAR_ID,6533,CHAR_VALUE)) AS UNIT
    FROM CHAR_BATCH_DATA
    WHERE subbatch_id = 1774
    GROUP BY CHAR_TIME, CHAR_INST, BATCH_ID
    So... why does the query omit rows on the first execution? Is this some sort of optimizer issue. Do I need to rebuild indexes? I looked at the indexes, they are all valid.
    Thanks for looking,
    DanIn fact you the first time you ran the query the data has been retrived from disk to memory , in the second time the data is already in memory so the respnse time should be faster ,but if you chagne any condition or column or letter case the optimizer will do the first step (data will be retrived from disk to memory )

  • Automatic Deployment Rule - One ADR for Two Different Collection for Two Different time Intervals

    I have a scenario where two collection of Windows 8.1 is made based on geographical location. One collection is for all the windows 8.1 machines in India and one collection is for all windows 8.1 machines in US. Now I have created one ADR to be deployed
    to the Collection for Machines in India with a schedule.
    My requirement is that can i use the same ADR for those two collection with different schedule. Say I want ADR to be deployed in India at say 10:PM IST and for US collection at say 10:00 PM PST.
    Can I use one ADR with two different schedule and can be deployed to two different collection. Any help will be greatly appreciated.
      

    Couple of "bits" to help you one your patch automation quest:
    A ADR is very much a 1:1:1 rule.  It creates (or updates) ONE update group, deploys it to ONE collection, and you can provide ONE schedule.  While you are more than capable of flipping said deployment time to use local time instead of UTC, in general
    it's a very simple set of rules that are dogmatically run.
    That said because of the "include" feature of collections it's not that hard to setup a good/robust patching pattern.  What I recommend doing is building an ADR for each variance of deployment of patches or enforcement time.  for example,
    my ADRs look something like this:
    Software Updates - Zero day enforced
    Software Updates - Critical and Security 1 month enforced
    Software Updates - Critical and Security 1 month no reboots
    Exact terminology is up to you of course, but I find a good descriptive ADR name saves a lot of confusion.  For each ADR I create an identical collection.  From there I can use existing collections and a simple "include collection" rule
    to bundle things up and make them part of the patching schedule of my choice.  Anyone can now go into my "software update" folder, look at my collections, and know exactly what gets patched by what deadline.
    Finally, don't be afraid to look into maintenance windows to trim down ADR count.  Making a deployment available for a month before it goes enforced, then setting up groups of maintenance windows (one for each Friday of the week for example) can also
    accomplish a similar goal by having machines auto-patch during their week but you only using one ADR.
    So by having two "types" of collections to manage your patching (one to assign a ADR built by deployment deadlines, the other for exact update windows) you should be able to group most your workstations into a decent patch scheudle without being
    too excessive about creating a billion ADRs.

  • One file to two different folders simultaneously?

    Is there a way to copy one file to two different folders simultaneously?
    Maybe a script?
    Drew

    Thanks for the response Baltwo.
    Maybe I shouldnt have said 'simultaneously'.
    What I'm trying to achieve is this.
    I drop a file into one folder and it automatically copies to ano folder (a redundant back up of the first folder)
    Is that possible at all?
    Drew

  • How does one set up two different iTunes accounts on the same computer so that they do not merge into one?

    How does one set up two different iTunes accounts on the same computer so that they do not merge into one?

    mparker402 wrote:
    So, when the other iTunes account needs to be used, I should log out of Windows and have the other user log in under a different Windows account, correct?  
    M Parker, 
    Yes, since you are trying to keep things separate, that is exactly what you would do.

  • We have two ipads and two different itunes accounts, can I sync my wife's apps and she mine?

    we have two ipads and two different itunes accounts. can I sync my wife's apps and she mine?

    Yes, you can use the apps from both accounts on the same iPad. You will both need to authorize each others iTunes account for use in each others computer account. You may authorize up to five Macs/PCs to use stuff from your account and that computer can then transfer the stuff to up to 10 iOS devices.
    Open iTunes in your account and have your wife sign into her iTunes account in the iTunes app. First authorize your computer account to use her iTunes stuff from the iTunes Store menu. Then have your wife download all of the iOS apps that you want to use into iTunes. Now you do the same in her computer account.
    Remember that only you can update apps acquired with your iTunes account and vice versa. So you will need to either sign into iTunes on the computer or directly on each others iPad to update any apps that need it. It is a little confusing at first, but you get the hang of it quickly.

  • One project with two different web services styles (JAX-RPC and JAX-WS)

    Hi theres,
    how come the same project doesn't support two different web services styles?
    First time I create a web service proxy using the wizard, the second step is to choose between JAX-RPC and JAX-WS. After that, this step is removed from the wizard and all subsquent web services are assumed to be the same style as the first one.
    Can someone explain me why?
    thanks in advance,
    Manuel Leiria

    Hi,
    yes, I think to remember that there is support for a single style only. If you need another one too then you create a new project.
    Frank

  • Make one query of two queries?

    I have these two quries, how can I at the best way get the same result in one query?
    --Querie 1
    SELECT 'm' || Year_Month As Month,
    Sum(NET_SALES) As "Net Sales"
    FROM tlbInfo 
    WHERE Year_Month Between '200709' And '200801'
    And record_type IN ('A','X')
    Group by Year_Month
    Order by Year_Month
    --Querie 2
    SELECT 'm' || Year_Month As Month, 
    Sum(STANDARD_MANUF_COST)/Sum(Case When SALES_QUANTITY <> '0' Then SALES_QUANTITY End) As "Cost",
    to_char(100*((sum(NET_SALES)-sum(STANDARD_MANUF_COST))/sum(NET_SALES)) || '%') As "Margin"
    FROM tlbInfo 
    WHERE Year_Month Between '200709' And '200801'
    And record_type NOT IN ('A', 'X')
    And Net_Sales >0
    Group by Year_Month
    Order by Year_Month

    why did you change the 1st query? now you're further from getting the correct answer (not to mention that now my previous post makes no sense).
    put the 1st query back to the way it was. then change the 2nd query to remove the record_type and net_sales criteria from the where clause, and instead put the logic into the select, via a CASE, like the first query is written.
    now look at the two new queries, and ask yourself, what's so hard about making one query?
    and don't do this work in the original post. do it in notepad. and if you want to post the new queries here to get further help, hit the REPLY button, NOT THE EDIT BUTTON

  • Two different results using one query

    Hi Friends
    Oracle version that I am using is : Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    I have a scenario where one account can be related to two customers. Hence, in table have many rows for one account. Here’s the sample data:
    Account_ID | product_code | cust_id | relationship_code | entity_code
    1111 | ABC | 1234 | SOL | CUST
    1111 | ABC | 2222 | ZZZ | LINK
    1111 | ABC | 4455 | ABC | LINK
    2222 | ABC | 7890 | SOL | CUST
    2222 | ABC | 5678 | ZZZ | LINK
    3333 | JFK | 5878 | TST | CUST
    3333 | JFK | 3254 | PRI | CUST
    3333 | JFK | 3299 | PRI | CUST
    4444 | JFK | 2535 | SOL | CUST
    4444 | JFK | 4565 | SOL | CUST
    5555 | DEF | 6666 | PRI | CUST
    5555 | DEF | 6667 | TST | CUST
    5555 | DEF | 9667 | TST | CUSTIn this scenario, I need two outputs differently:
    Output 1: When an account has relationship_code = ‘SOL’ then take the least cust_id
    1111 | ABC | 1234 | SOL | CUST
    2222 | ABC | 5678 | ZZZ | LINK
    4444 | JFK | 2535 | SOL | CUST Output 2: else take the highest cust_id
    3333 | JFK | 5878 | TST | CUST
    5555 | DEF | 9667 | TST | CUSTHow can I get this result using one query?

    Not sure what you mean. Works OK:
    SQL> with t as (
      2             select 1111 account_ID,'ABC' product_code,1234 cust_id,'SOL' relationship_code,'CUST' entity_code from dual union all
      3             select 1111,'ABC',2222,'ZZZ','LINK' from dual union all
      4             select 1111,'ABC',4455,'ABC','LINK' from dual union all
      5             select 2222,'ABC',7890,'SOL','CUST' from dual union all
      6             select 2222,'ABC',5678,'ZZZ','LINK' from dual union all
      7             select 3333,'JFK',5878,'TST','CUST' from dual union all
      8             select 3333,'JFK',3254,'PRI','CUST' from dual union all
      9             select 3333,'JFK',3299,'PRI','CUST' from dual union all
    10             select 4444,'JFK',2535,'SOL','CUST' from dual union all
    11             select 4444,'JFK',4565,'SOL','CUST' from dual union all
    12             select 5555,'DEF',6666,'PRI','CUST' from dual union all
    13             select 5555,'DEF',6667,'TST','CUST' from dual union all
    14             select 5555,'DEF',9667,'TST','CUST' from dual union all
    15             select 6666,'XYZ',8877,'SOL','CUST' from dual
    16            )
    17  select  account_ID,
    18          product_code,
    19          cust_id,
    20          relationship_code,
    21          entity_code
    22    from  (
    23           select  account_ID,
    24                   product_code,
    25                   cust_id,
    26                   relationship_code,
    27                   entity_code,
    28                   case max(case relationship_code when 'SOL' then 1 else 0 end) over(partition by account_ID)
    29                     when 1 then dense_rank() over(partition by account_ID order by cust_id)
    30                     else dense_rank() over(partition by account_ID order by cust_id desc)
    31                   end rnk
    32             from  t
    33          )
    34    where rnk = 1
    35  /
    ACCOUNT_ID PRO    CUST_ID REL ENTI
          1111 ABC       1234 SOL CUST
          2222 ABC       5678 ZZZ LINK
          3333 JFK       5878 TST CUST
          4444 JFK       2535 SOL CUST
          5555 DEF       9667 TST CUST
          6666 XYZ       8877 SOL CUST
    6 rows selected.
    SQL> SY.

  • Strange query plans, and so different results from a view.

    In my database (11g), I have a currency exchange rate table, which contains all currencies and their exchange rate to USD. I need to have a number of different exchange rates - To GBP, EUR, etc...
    To accomplish this I have created a view, which has one union statement of all the USD exchange rates, with the same data joined back on itself to give the exchange rates based on their exchange rate to USD - ie: SELECT b1.Date, b1.Currency AS FromCurrency, b2.Currency as ToCurrency, b1.Rate/b2.Rate as Exchange Rate FROM Rates b1, Rates b2 on b1.Date = b2.Date
    This view works fine when I query it, and returns the data as I expect.
    I have a second view that is joined to this view to give a return of the amount in each currency for reporting. This view seems to work correctly when I narrow down the search requirements and have a small set of data.
    The issue I am having is when I query the second view and get it to return all the data. Instead of receiving 4 rows per transaction (I am only interested in 4 exchange rates for display) I typically receive up to 2 rows. The first record is for the conversion to USD, the second record is for the conversion to the supplied currency. The issue is that this exchange rate actually includes the aggregate for all 3 other requested currencies (not the USD).
    So instead of getting something like:
    Amt RC BC (Amt = Amount, RC = Reporting Currency. BC = Base Currency)
    60 GBP GBP
    80 EUR GBP
    100 USD GBP
    1000 ZAR GBP
    60 GBP USD
    80 EUR USD
    100 USD USD
    1000 ZAR USD
    I get the following set of results:
    1140 GBP GBP
    100 USD GBP
    100 USD USD
    Has anyone come accross something similar or have any ideas on how I can resolve this?
    Thanks
    PS: I can get both sets of results from the same view depending on the filter criteria. Also if I convert the exchange rates into a table, it then returns the correct results as expected.

    943081 wrote:
    The idea is to seek help in solving the problem. I was hoping that perhaps someone had experienced the same thing - different results for "effectively" the same query:Well, that's the issue... without additional info, it's not clear what issue you were seeing.
    SELECT * FROM view WHERE Date = '01 January, 2012'
    verse
    SELECT * FROM view WHERE Date > '31 December, 2011' ORDER BY DateNow it's a bit clearer. That second query is not "effectively" the same as the first query. If the date column is in DATE format, then you ought to have a to_date() around the date string to explicitly convert it into a date so you can do date-to-date comparisons correctly. Also, DATE datatype stores times as well as dates, so asking for data matching midnight of a specific date is different than asking for data greater than midnight of the previous day.
    If the date string is a string, then ... well, the string "31 December 2011" is greater than the string "31 August 2013", despite it being an earlier date. This is why making sure you're using the right datatype for the job is important - a date is different to a string that just happens to contain a date.
    DateID
    I have no objection to using a Date but always struggle to understand what someone means when they tell me "06/07/2012" - granted if the day is above 12 or the same day and month I don't have a problem - but it still leaves 121 days a year that are confusing. sure, but just because you find outputting the display (or rather, someone else's output) confusing doesn't mean you still shouldn't use the correct datatype. Store things as a date, and you can then output it in whatever format you like. Try doing that with a string or a number.
    Don't say it doesn't happen as I got a birthday card from a company in May this year when I have specifically entered my date of birth as being the 5 of a month (name drop down box on their website)!Just because someone else doesn't understand how to work with dates correctly doesn't mean you can't! It's not exactly rocket science, after all!*{;-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Make one query from two

    Hi,
    Could you help optmize this query. If possibel.
    I have three tables: GROUP, GROUP_X_USER, USER.
    If there is a relation between GROUP and USER, it will be stores at GROUP_X_USER.
    Example:
    <tt>
    GROUP               GROUP_X_USER         USER
    1 - GROUP A             1 - 2            1 - MARIO
    2 - GROUP B             1 - 3            2 - JOSE
    3 - GROUP C             2 - 2            3 - MARIA
    </tt>
    That means: JOSE can access groups A and B. MARIA, just group A. MARIO does not
    have a implicit realation, so he can access all groups (A,B and C).
    Clear?
    So... I want to create a sql query that return the groups a given user can
    access. If in my where clause i use "WHERE USER_ID = 2", it should return 2
    lines: GROUP A and GROUP B.
    For users that has a impliciti relation at GROUP_X_USER is a peace of cake query.
    SELECT GROUP.NAME FROM GROUP, GROUP_X_USER, USER
    WHERE GROUP.GROUP_ID = GROUP_X_USER.GROUP_ID
    AND GROUP_X_USER.USER_ID = 2;But, this query does not work for user MARIO.
    Currently, I´m doing this:
    SELECT count(*) INTO wcount FROM GROUP_X_USER WHERE USER_ID = 1;
    if wcount = 0 then
        SELECT GROUP.NAME FROM GROUP;
    else
        SELECT GROUP.NAME FROM GROUP, GROUP_X_USER, USER
         WHERE GROUP.GROUP_ID = GROUP_X_USER.GROUP_ID
           AND GROUP_X_USER.USER_ID = 2;
    end if;
    Can I do this with just one query, whithout need do a count and a "if"?
    PS: My query is actually more complex than this, has 5 tables and a lot of "conditions".
    I made this example just to explain what I need. The goal is to have just one query
    to mantein, because, today, if it needs to change, I need to do it two times.
    Edited by: mcardia on 30/03/2010 12:15
    Edited by: mcardia on 30/03/2010 12:16

    Clear?Sorry, but
    No,since:
    1) you forgot to mention your database version (the result of select * from v$version; )
    2) you've posted unformatted code, which you can (and should) easily adjust by adding the tag before and after your examples.
        see: http://forums.oracle.com/forums/help.jspa for more explanation regarding using tags (scroll a bit down)
        we have no clue regarding columns and/or datatypes you're using now.
    3) please try to put up a small but concisive testcase, using CREATE TABLE and INSERT INTO statements and the results you want from
        that.
    Can I do this with just one query, whithout need do a count and a "if"?
    It probably can be done, but you'd need to be more clear and specific first regarding the already mentioned points.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • One computer and two different ipods...

    Hello,
    Currently, I have a Macbook Pro and an eighty gig ipod. My girlfriend has a 30 gig ipod as well. Our plan is to share a computer and have different media on our ipods. We like the same music but she wants to have pictures on her ipod and I do not.
    Is it possible to have two ipods synced onto one computer where the eighty gig ipod is strictly music and the thirty gig is a combination of music and pictures? Will this be overly complicated or an easy thing to do?
    Thanks a lot,
    Jonathan

    there are basically two ways of using multiple iPods on a computer and these involve:
    a) Sharing a single iTunes library and or user account or
    b) Creating multiple user accounts.
    Note: When you are sharing an iTunes library, you don't have to set each iPod to update in the same manner, you can mix and match from the options below as each iPod has it's own update settings
    Sharing a Library and/or User Account
    If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish):
    Loading songs onto iPod automatically - Mac
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
    It's also possible to have multiple libraries in a single account. To create or access a second (or more) library, hold down the Option key (or Shift key in Windows) when launching iTunes 7. In the resulting dialogue you will get the option to create a new library or navigate to the other Library.
    Note: You can only have one Library open at a time and iTunes will default to the last library opened if you don't use the keyboard command to choose one. This can prove tricky when using multiple iPods, if you don't use the keyboard command you can risk syncing to the wrong library:
    Using multiple iTunes libraries -Windows
    Separate User Accounts
    Another option is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists

  • Misplaced publication item query of two different publication itens

    Hi,
    I’m creating a new publication on Oracle Database Lite 10g.
    Almost all of the publication itens are ok, except two of then: when I publicate the “item1” ,the publication item query is rightly displayed on Mobile Manager page and in the administratives tables, as the C$ALL_PUBLICATIONS table. But, when I publicate the “item2”, that is rightly displayed on Mobile Manager site too, the query of the “item1” receives the same value of “item2” query.
    I’ve just checked for wrong synonym creation of the two tables involved , but they are correct.
    Has anybody ever seen something like that?
    An example of my two queries:
    Publication item1 : select field1 , field2 , field3 from table2 where field4 = 1
    Publication item2 :; : select field1, field2 from table1;
    It’s important : I have two different tables above.
    When I synchronize the PDA , with this publication assigned to the user, I receive an error message on Mobile Manager page that some field is misplaced or required . In other words: for publication item2 the application tries to put the data returned from the query of publication item1 .
    Thanks.

    Hi,
    The publication was created successfully and the type is “WCE”. I created it using the “Mobile Manager” page, with an .xml file , compressed in the .jar format.
    Here is the web.xml file:
    <?xml version = '1.0' encoding = 'WINDOWS-1252'?>
    <workspace>
    <application name="WCE_REGRAS">
    <app_info>
    <directory>/WCE_REGRAS</directory>
    <virtualpath>/WCE_REGRAS</virtualpath>
    <defaultpage/>
    <icon/>
    <description>WCE_REGRAS</description>
    <publication/>
    <platform>Oracle Lite PPC2000 ARM;US</platform>
    </app_info>
    <app_db publication="AFV"/>
    <snapshot name="REGIONS" owner="HR" order="1">
    <snaplatform object="TABLE" platform="ORACLE LITE PPC2000 ARM;US" template="SELECT * FROM HR.REGIONS" updatable="Y" conflict="client" refresh="fast" virtualprimname="" virtualprimcolname=""/>
    </snapshot>
    </application>
    </workspace>
    The publication item with weight equals to 1 (default) was deleted . I’m using an Java application to publicate the items an add them to the publication ( in this case, “WCE_REGRAS”)
    Some publication items will have the “conflict rule” set to “Client Wins” and the other ones will be set to “Server Wins”.
    Here is the .xml code that my java application reads to create the publication items that are wrong:
    Publicationitens.xml
    <app>
         <repository>
              <connectionString><!--THE CONNECTION STRING--></connectionString>
              <user><!--THE USER--></user>
              <password><!--THE PASSWORD--></password>
         </repository>
         <remoteDB>
              <connectionString><!--THE CONNECTION STRING--></connectionString>
              <user><!--THE USER--></user>
              <password><!--THE PASSWORD--></password>
         </remoteDB>
         <localDB>
              <connectionString><!--THE CONNECTION STRING--></connectionString>
              <user><!--THE USER--></user>
              <password><!--THE PASSWORD--></password>
         </localDB>
         <publication>     
              <name>15571</name>
              <virtualPath>/WCE_REGRAS</virtualPath>
              <deviceType>WCE</deviceType>
              <!--CLIENT WINS-->
              <item>
                   <type>local</type>
                   <name>RGE_SAFV_ATIVIDADE</name>
                   <owner>SC_PDA</owner>
                   <object>AFV_ATIVIDADE</object>
                   <filter>SELECT "COD_TIP_ATIV","DAT_ATIV","COMENT_ATIV","STATUS_ATIV","COD_ATIV_PRIOR","DSC_ATIV","COD_FUNCIO","COD_FUNCIO_RESP","COD_ATIV_SIEBEL","COD_CLI","COD_ATIV","COD_FUNCIO_ENC" FROM SC_PDA.AFV_ATIVIDADE WHERE COD_FUNCIO_RESP = :COD_FUNCIO AND STATUS_ATIV IN ('A', 'E')</filter>
                   <weight>26</weight>
                   <action>create</action>
              </item>
              <!--SERVER WINS-->
              <item>
                   <type>local</type>
                   <name>RGE_SAFV_ATIVIDADE_PRIO</name>
                   <owner>SC_PDA</owner>
                   <object>AFV_ATIVIDADE_PRIO</object>
                   <filter>SELECT "COD_ATIV_PRIOR","DSC_ATIV_PRIOR" FROM SC_PDA.AFV_ATIVIDADE_PRIO</filter>
                   <weight>8</weight>
                   <action>create</action>
              </item>      
         </publication>     
    </app>
    In this case the connection string, password and user were omitted form the .xml file.
    In my Java application the following code creates and associate the publication itens to the publication :
    Consolidator.createPublicationItem(connSie, item.getName(), item.getOwner(), item.getObject(), "F", item.getFilter(), null, null);
    Consolidator.addPublicationItem(publication.getName(), item.getName(), null, null, "S", null, item.getWeight());
    , where the object “item” is populated with the publicationitens.xml file with a loop statment .
    This code works ok to the others publication items.
    The problem is : in the administrative tables ( like C$ALL_PUBLICATIONS) the publication string (filter – sql statement) is right. But, when I access the “Mobile Manager” page they are misplaced:
    the filter string from “RGE_SAFV_ATIVIDADE” receives the same filter of “RGE_SAFV_ATIVIDADE_PRIO”.
    Curiously when I delete the “RGE_SAFV_ATIVIDADE_PRIO” publication item , the filter string of “RGE_SAFV_ATIVIDADE” publication item appears correctly in the Manager page.
    I ‘ve just deleted the "RGA_SAFV_ATIVIDADE_PRIO" publication item using my Java application , or by database : I dropped tables, views and triggers that are created by “Consolidator” (java .jar) methods. I created this item again , but the same error occurs.
    I think that it may be something with the data integrity in the database.
    The mobile database is 10g, version 10.2.0.2 ;
    Thanks.

  • One instance for two different application

    Hello,
    I have to solve following problem..
    need have one instance of object for two different application..fist is standard SE application and second is EE (web)..
    SE application is a server..listen on and accepting connection from mobile phone..and EE application need to show list of connected devices and should say to SE application that new device was connected..
    I would like to do this without database..only server and web app..
    I have thought about RMI..but hope there is more simple solution..
    Thanks a lot for your ideas.
    Dmitrij

    I would like to do this without database..only server and web app..You have your reasons for wanting this to be the case. If you are sure you don't want a DB, then pass the state of the object between the two ends using XML as the transport form. As someone said, you can use JMS or you can write an HTTP POST or probably other transport mechanisms other people will suggest to actually get it over the wire from one side to the other.
    As to your question of how to sync state, just make the object you're sharing final after it's been created (on the side that creates it) and make the reference that receives it and holds it final also, after you've reconstructed it from the XML you received.

  • Save different Objects in one file by two different streams

    Hi all,
    I have a issue to read two Objects from one file if I write those in two different streams.
    I open the ObjectOutputStream and save an Object to the file. Then I close this stream and file. Then I open the new ObjectOutputStream and save the second Object in the same file. It works Ok. Then I open the ObjectInputStream and try to read those two objects and get java.io.StreamCorruptedException.
    This exception happes only when app tryes to read the second Object.
    this is the code example:
    //Write part
    for (int i=0;i<2;i++)
    File file = new File("test.swp");
    FileOutputStream fileOut = new FileOutputStream(file,true);
    ObjectOutputStream objOut = new ObjectOutputStream(fileOut);
    JobObject jobObj = new JobObject();
    jobObj.setID(i);
    objOut.writeObject(jobObj);
    objOut.flush();
    objOut.close();
    fileOut.close();
    //Read part
    FileInputStream fileOut = new FileInputStream("test.swp");
    ObjectInputStream objOut = new ObjectInputStream(fileOut);
    for (int i=0;i<2;i++)
    JobObject jobObj = (JobObject)objOut.readObject();
    objOut.close();
    fileOut.close();
    Thank for any help.

    Maybe try closing the ObjectInputStream (and re-creating it as needed) within your for loop?
    - Saish
    "My karma ran over your dogma." - Anon

Maybe you are looking for

  • Excel Crashes every time Software Protection Service initialises.

    Hello, I was wondering if I could get some help. I have an issue whereby Excel 2013 seems to crash what seems like randomly, however when I look in the event log it seems to be every time the Software Protection Service initialises while Excel is run

  • Not able to see list of Plan applications when click on Navigate- Applica

    Hi, Somehow I am not able to see list of Planning applications when clicking on on Navigate->Applications->Planning from Workspace within Planning 9.3.1. Is there an Internet settings that I would need to change in order to see the list of applicatio

  • How to search for password policy

    Hello, Using DS 5.2: I've created a test policy, dn: cn=Test Policy,ou=People, o=xxx, o=isp. I can apply the policy, I can see the policy in my backup ldifs, but I can't figure out how to search for and display it (and eventually, delete it) either f

  • How to set a pause between pages ?

    Hi, I would like to have a page that can pause for a while before it moves to the next page. The purpose, is to display a short message before it moves to the redirected page. Please help.

  • VDI and other authentication methods

    hello, I want to set VDI 3 and i know you need AD/LDAP for a production environment. I was wondering if in any way there is/(will be) an open framework for other authentication methods, for instance like HESIOD? thanks Michael.