Decode with IN

Hi,
Is it possible to do a decode when using an 'IN' in the where clause e.g.
select
     count(*)
from
     hr.employees e
where
     e.JOB_ID in (select decode('B','A','SH_CLERK','(''IT_PROG'',''MK_MAN'')') from dual)
The above returns 0 where as the following code returns 6
select
     count(*)
from
     hr.employees e
where
     e.JOB_ID in ('IT_PROG','MK_MAN')
Thanks in advance
Adam

Hallo adennis,
no, you cannot use in directly with decode:
select * from emp where ename in (decode(1,1,'KING,BLAKE'))
no rows selectedthe problem is that you get here
select * from emp where ename in ('KING,BLAKE')
Correct is
select * from emp where ename in ('KING','BLAKE')
You compare ename with string 'KING,BLAKE' and doesn't find any occurences.
You can do it with dynamic SQL with IN as literal string, but it leads to hard parse
and poor performance.
You can do it indirect
select * from emp where ename = (decode(1,1,'KING'))
UNION ALL
select * from emp where ename = (decode(1,1,'BLAKE'))or
select * from emp where ename = (decode(1,1,'KING'))
                     or ename = (decode(1,1,'BLAKE'))
[pre]
HTH
Regards
Dmytro                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to use Decode with a variable

    Maybe you've seen this done.
    I want to take statement strMenu4 and subtract the previous value
    that is stored in an array as shown in strMenu5.
    My problem is this change as shown in strMenu5 produces
    an error code:
    ORA-00904 invalid column name
    So either I'm coding something wrong or it can't be done within the
    SUM(decode) construct. If I replace the variable with a literal
    like 1000 the code works:
    SUM(decode(name,'DBWR lru scans', c1.value) - 1000) DBWR_lru_scans
    but with an array variable or even a constant the code fails:
    SUM(decode(name,'DBWR lru scans', c1.value) - Array(3)) DBWR_lru_scans, "
    Any ideas how I can use Decode with a variable and not have it interrupt it
    as a invalid column name?
    Thanks,
    Joseph Karpinski
    [email protected]
    [email protected]
    strMenu4 = "SELECT d1.instance, " _
    & " to_char(sysdate, 'dd-mon-yy hh24:mi:ss') start_time, " _
    & " SUM(decode(name,'DBWR buffers scanned', c1.value)) DBWR_buffers_scanned, " _
    & " SUM(decode(name,'DBWR lru scans', c1.value)) DBWR_lru_scans, " _
    & " SUM(decode(name,'db block gets', c1.value)) db_block_gets , " _
    & " SUM(decode(name,'consistent gets', c1.value)) consistent_gets , " _
    & " SUM(decode(name,'physical reads', c1.value)) physical_reads " _
    & " from dual, v$sysstat c1, v$thread d1 " _
    & " group by d1.instance "
    strMenu5 = "SELECT d1.instance, " _
    & " to_char(sysdate, 'dd-mon-yy hh24:mi:ss') start_time, " _
    & " SUM(decode(name,'DBWR buffers scanned', c1.value) - Array(2)) DBWR_buffers_scanned, " _
    & " SUM(decode(name,'DBWR lru scans', c1.value) - Array(3)) DBWR_lru_scans, " _
    & " SUM(decode(name,'db block gets', c1.value) - Array(4)) db_block_gets , " _
    & " SUM(decode(name,'consistent gets', c1.value) - Array(5)) consistent_gets , " _
    & " SUM(decode(name,'physical reads', c1.value) - Array(6)) physical_reads " _
    & " from dual, v$sysstat c1, v$thread d1 " _
    & " group by d1.instance "

    Re-posting in the SQL and PL/SQL forum.
    It's more appropriate.
    Thanks,
    Closing

  • Mp3 decoding with libmpg123 lib to pass refer to AS3

    Hello to everybody.
    I would like to ask a question in relation to the project that I am working at the moment. I am trying to use libmpg123 decoder library to process mp3 file and return the result back to Alchemy so that I can return a decoded instance of the mp3 back to AS3. I wish to use the source code of the decoder within the project so I can embed its functionality into the application. I do not want to install the decoder itself but to use its source code to incorporate its functionality within our app.
    1. Hasanybody implemented the decoder with Alchemy API ? How?
    2. Can you pass the decoded mp3 into AS3 using Alchemy? How?
    Has anybody used libmpg123 decoder with Alchemy to process mp3 file? I will appreciate if somebody points me to a useful reference or information related to my query?
    Thanks

    Yes I know that already but my goal is to use an open source C decoder that will take a reference to a mp3 file from AS3 and start processing the request while AS3 takes care of less CPU intensive tasks. Beside that decoding mp3 file with a C decoder (mpg123) will provide me with a native data structure that I can further use in more extensive sound analysis  and only the output of it will be send back to AS3 using Alchemy 's APIs . That is why I try NOT to use extract method of AS3. Have you tried decoding mp3 inside Alchemy ? Is it possible?
    Regards

  • Very sloppy playback with AC3/DTS Hardware Decoding with

    I just bought the Audigy 2 ZS (plain)
    I tried playing back DVD movies using SPDIF output on PowerDVD and I get VERY VERY sloppy playback, both with AC3 and DTS audio.
    I thought it should perform better than my previous SB Li've! 5.

    Which settings are you using and what kind speakers do you have? If you have analog speakers, are you doing the decoding with the software or with the soundcard? Check for the card whether AC3 decoding is enabled (in the Device Controls). If it isn't, try enabling that and setting the DVD software to SPDIF instead. Or if it's enabled, set the decoder to disabled/SPDIF, and set the DVD software to 5. and see if it's the same.
    If you're using digital speakers then both should be set to SPDIF (so decoders disabled).
    Cat

  • Decode with image in report

    Hi:
    I have the following report:
    select id,name,job,decode(dept,20,'<im g src="#IMAGE_PREFIX#XZXZ.gif" alt="Edit">','') "EDIT"
    from emp;the image -edit.gif- doesn't apprear, bit if I rewrote the statement to be :
    select id,name,job,decode(dept,20,'Edit','') "EDIT"
    from emp;
    The word "Edit" will appear well....
    WHY?
    Thanks in advance.
    Saad.

    Saad,
    Search the forum for #IMAGE_PREFIX# and #WORKSPACE_IMAGES#
    Look at these:
    How to find value of globals such as "#IMAGE_PREFIX# or #WORKSPACE_IIMAGES#
    Re: Upload images not in #IMAGE_PREFIX# location
    If you placed the check.gif on the file system, then try this:
    SELECT EMPNO, ENAME, job,
       DECODE (DEPTNO, 20, '<im g src=#IMAGE_PREFIX# /check.gif">', '' ) "Yes",
       '<im g src=#IMAGE_PREFIX# check.gif">' AS "Yes1",
       '<im g src=#WORKSPACE_IMAGES#check.gif>' AS "Yes2"
    FROM emp;
    Note: Please replace "im g" with "img" above.
    If you uploaded check.gif using the Image Upload feature in apex, then use #WORKSPACE_IMAGES#check.gif.
    Try the above SQL and let us know what happens. You need to use the format that works.
    Thanks.
    Ravi

  • Decode with select

    Hi Experts,
    I have a pl/sql query where there is a decode statement.
    Now currently the decode statement is -
    decode(GcsEntryHeadersEO.DISABLED_FLAG, 'Y', 'deleteicon_disabled.gif', 'deleteicon_enabled.gif')
    But I want to change it to such a condition that -
    decode( (SELECT GcsEntryHeadersEO.DISABLED_FLAG FROM gcs_cons_relationships gcr, gcs_cons_eng_runs gcer, gcs_entry_headers GcsEntryHeadersEO WHERE gcer.hierarchy_id =
    GcsEntryHeadersEO.hierarchy_id AND gcr.CHILD_ENTITY_ID = GcsEntryHeadersEO.entity_id AND gcer.cal_period_id between GcsEntryHeadersEO.start_cal_period_id and
    GcsEntryHeadersEO.end_cal_period_id AND gcer.locked_flag = 'N' AND gcer.most_recent_flag = 'Y' AND gcer.hierarchy_id = gcr.hierarchy_id AND gcer.run_entity_id =
    gcr.parent_entity_id ), 'Y', 'deleteicon_disabled.gif', 'deleteicon_enabled.gif')
    But when I try to use this in the query, it throws an error saying sub query returns more than one row.
    Can somebody please suggest what is the optimal solution?
    Thank you - Alpi

    Hi,
    Here is the complete query -
    SELECT GcsEntryHeadersEO.ENTRY_ID,
    GcsEntryHeadersEO.DISABLED_FLAG,
    GcsEntryHeadersEO.ENTRY_NAME,
    ght.HIERARCHY_NAME AS HIERARCHY,
    fet.ENTITY_NAME AS ENTITY,
    gct.category_name AS CATEGORY,
    fcpt_start.CAL_PERIOD_NAME AS START_PERIOD,
    fcpt_end.CAL_PERIOD_NAME AS END_PERIOD,
    decode(GcsEntryHeadersEO.process_code, 'SINGLE_RUN_FOR_PERIOD',case nvl(GcsEntryHeadersEO.PROCESSED_RUN_NAME, ' ')
    when ' ' then 'Next Run in Period' else 'Completed:'||SUBSTR(GcsEntryHeadersEO.PROCESSED_RUN_NAME, 1, 15)||'...' end,
    'Every Run in Period') PROCESSED_RUN_NAME,
    decode(GcsEntryHeadersEO.DISABLED_FLAG, 'Y', 'deleteicon_disabled.gif', 'deleteicon_enabled.gif') Disable_Switch,
    decode(GcsEntryHeadersEO.DISABLED_FLAG, 'Y', 'updateicon_disabled.gif', 'updateicon_enabled.gif') Update_Switch,
              gdtctl.DATA_TYPE_NAME AS BALANCE_TYPE,
    gjc.USER_JE_CATEGORY_NAME,
    GcsEntryHeadersEO.CURRENCY_CODE AS ENTITY_CURRENCY,
    decode(gjc.USER_JE_CATEGORY_NAME, NULL, 'detailsicon_disabled.gif', 'detailsicon_enabled.gif') Writeback_Switch,
    GcsEntryHeadersEO.start_cal_period_id START_CAL_PERIOD_ID,
    GcsEntryHeadersEO.end_cal_period_id END_CAL_PERIOD_ID,
    GcsEntryHeadersEO.disabled_cal_period_id,
    gct.category_code,
    ght.hierarchy_id,
    decode(nvl(GcsEntryHeadersEO.approval_status_code, 'APPROVED'),
    'REQUIRED',
    'notstartedind_active.gif',
    'IN_PROGRESS',
    'different_active.gif',
    'WARNING',
    'warningind_active.gif',
         'APPROVED',
    'okind_active.gif',
         'ERROR',
    'criticalind_active.gif',
         'REJECTED',
    'criticalind_active.gif') approval_switch
    FROM gcs_entry_headers GcsEntryHeadersEO,
    gcs_hierarchies_tl ght,
    gcs_hierarchies_b ghb,
    fem_entities_tl fet,
    fem_cal_periods_tl fcpt_start,
    fem_cal_periods_tl fcpt_end,
    gcs_categories_b gcb,
    gcs_categories_tl gct,
    fem_entities_attr fea_secure,
    gcs_data_type_codes_b gdtcb,
    gcs_data_type_codes_tl gdtctl,
    gl_je_categories gjc
    WHERE GcsEntryHeadersEO.hierarchy_id = ght.hierarchy_id
    AND ght.language = USERENV('LANG')
    AND GcsEntryHeadersEO.entity_id = fet.entity_id
    AND fet.language = USERENV('LANG')
    AND GcsEntryHeadersEO.entry_type_code = 'MANUAL'
    AND gct.category_code = gcb.category_code
    AND gcb.category_type_code = 'CONSOLIDATION_RULE'
    AND gcb.category_code <> 'ACQ_DISP'
    AND gct.language = USERENV('LANG')
    AND GcsEntryHeadersEO.category_code = gcb.category_code
    AND GcsEntryHeadersEO.start_cal_period_id = fcpt_start.cal_period_id
    AND fcpt_start.language = USERENV('LANG')
    AND GcsEntryHeadersEO.end_cal_period_id = fcpt_end.cal_period_id (+)
    AND fcpt_end.language (+) = USERENV('LANG')
    AND fea_secure.entity_id = fet.entity_id
    AND fea_secure.attribute_id = :1
    AND fea_secure.version_id = :2
    AND ( fea_secure.dim_attribute_varchar_member = 'N'
    OR EXISTS (SELECT 'X'
    FROM wf_local_user_roles wlur,
    gcs_role_entity_relns grer
    WHERE grer.entity_id = fet.entity_id
    AND wlur.user_name = :3
    AND wlur.role_name = grer.role_name
    AND wlur.role_orig_system = grer.orig_system
    AND wlur.role_orig_system_id = grer.orig_system_id
    AND wlur.partition_id = grer.partition_id
              AND (sysdate BETWEEN wlur.START_DATE AND nvl(wlur.EXPIRATION_DATE,sysdate))
    AND ghb.hierarchy_id = ght.hierarchy_id
    AND (ghb.security_enabled_flag = 'N'
    OR EXISTS (SELECT 'X'
    FROM wf_local_user_roles wlur,
    gcs_role_hier_relns grhr
    WHERE wlur.user_name = :4
    AND wlur.role_name = grhr.role_name
    AND wlur.role_orig_system = grhr.orig_system
    AND wlur.role_orig_system_id = grhr.orig_system_id
    AND wlur.partition_id = grhr.partition_id
    AND grhr.hierarchy_id=ghb.hierarchy_id
              AND (sysdate BETWEEN wlur.START_DATE AND nvl(wlur.EXPIRATION_DATE,sysdate))
    AND GcsEntryHeadersEO.BALANCE_TYPE_CODE = gdtcb.DATA_TYPE_CODE
    AND gdtcb.data_type_id = gdtctl.data_type_id
    AND gdtctl.LANGUAGE = USERENV('LANG')
    AND gcb.gl_category_code = gjc.je_category_name;
    I want to modify the decode in bold.
    I want the image to be set not with the value of GcsEntryHeadersEO.DISABLED_FLAG but with the value returned by the select statement as mentioned previously.
    Thank you - Alpi

  • Decode with multiple column sub query

    Dear's
    What is the wrong with the query
    select * from common_master
    where
    (company_code,lpad(rtrim(ltrim(bu_code)),12,' ')) IN
    decode ('ADMIN','ADMIN',(select company_code ,lpad(rtrim(ltrim(bu_code)),12,' ') from common_master )
    ,(select company_code ,lpad(rtrim(ltrim(bu_code)),12,' ') from user_system_privs) )
    The error message as
    Error starting at line 16 in command:
    select * from common_master
    where
    (company_code,lpad(rtrim(ltrim(bu_code)),12,' ')) IN
    decode ('ADMIN','ADMIN',(select company_code ,lpad(rtrim(ltrim(bu_code)),12,' ') from common_master )
    ,(select company_code ,lpad(rtrim(ltrim(bu_code)),12,' ') from user_system_privs) )
    Error at Command Line:18 Column:53
    Error report:
    SQL Error: ORA-00920: invalid relational operator
    00920. 00000 - "invalid relational operator"
    *Cause:   
    *Action:
    Dennis

    You can club the columns in where clause and in decode
    like
    select * from common_master
    where
    (company_code || lpad(rtrim(ltrim(bu_code)) || to_char(12) ||' ') IN
    ( select decode ('ADMIN','ADMIN',company_code || lpad(rtrim(ltrim(bu_code)) || to_char(12) || ' ') from common_master ),
    ,company_code || lpad(rtrim(ltrim(bu_code)) || to_char(12) ||' ') from user_system_privs) )
    HTH,
    ~Yogesh

  • NumberFormatException when using Integer.decode with hex numbers

    hi folks, I have a simple test code to convert a hex string to an Integer. The odd thing is that it works for my hex strings that contains only numbers 0-9 but fails with a NumberFormatException for any hex string with the LEGAL hex characters a-f or A-F. The two examples below show the issue,
    import java.io.*;
    import java.util.*;
    public class decodeTest {
         public static void main(String[] args) throws NumberFormatException {
              //String t = "0xdeadbeef";
              String t = "0x12345678";
              Integer tmp = Integer.decode(t);
              System.out.println("String t = "+t);
              System.out.println("Integer tmp = "+tmp);
    }The result is as expected ,
    java decodeTestString t = 0x12345678
    Integer tmp = 305419896
    If I run the code (just replacing the hex string with any number of LEGAL hex characters a-f or A-F I get,
    import java.io.*;
    import java.util.*;
    public class decodeTest {
         public static void main(String[] args) throws NumberFormatException {
              String t = "0xdeadbeef";
              //String t = "0x12345678";
              Integer tmp = Integer.decode(t);
              System.out.println("String t = "+t);
              System.out.println("Integer tmp = "+tmp);
    java decodeTestException in thread "main" java.lang.NumberFormatException: For input string: "deadbeef"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
         at java.lang.Integer.parseInt(Integer.java:484)
         at java.lang.Integer.valueOf(Integer.java:543)
         at java.lang.Integer.decode(Integer.java:941)
         at decodeTest.main(decodeTest.java:10)
    Any ideas would be greatly appreciated!!! (This error repeats for any hexstring with even one character of a-f or A-F)
    Mike

    mikerin wrote:
    The java doc on Integer.decode states that the input string is,
    public static Integer decode(String nm)
    throws NumberFormatException
    Decodes a String into an Integer. Accepts decimal, hexadecimal, and octal numbers given by the following grammar:
    DecodableString:
    Signopt DecimalNumeral
    Signopt 0x HexDigits
    Signopt 0X HexDigits
    Signopt # HexDigits
    Signopt 0 OctalDigits
    Sign:
    I've tried using a string such as "-0xdeadbeef" or "+0xdeadbeef" with the same results. Is not the natural size of an Integer object 32 bits?
    So the max is 0xFFFFFFFF. my example of 0xdeadbeef is well within this.
    Still stuck!!
    MikeIf you read the docs more closely, you'll see that they say:
    "The sequence of characters following an (optional) negative sign and/or radix specifier ("0x", "0X", "#", or leading zero) [...] must represent a positive value"
    I'm not sure how the run time system is seeing it as a negative number??[http://en.wikipedia.org/wiki/Twos_complement]
    Edited by: jverd on Apr 27, 2010 5:37 PM

  • Decode with wildcard

    Hi,
    I have a working query like this:
    select id, rank() OVER(PARTITION BY id ORDER BY DECODE(code, 'ETPL',1,'FEPL',2,'ETAR',3,'FEAR',4,'ETJO',5,'ETLE',6,'ETDP',7, 8)) rn
    from myTable
    But now i need to get a wildcard in there somehow. I was hoping this would work
    select id, rank() OVER(PARTITION BY id ORDER BY DECODE(code, 'ETPL%',1,'FEPL%',2,'ETAR%',3,'FEAR%',4,'ETJO%',5,'ETLE%',6,'ETDP%',7, 8)) rn
    from myTable
    It does however not. Any ideas on how to get around this?

    Hi,
    DavidNils wrote:
    ... But now i need to get a wildcard in there somehow. I was hoping this would work
    select id, rank() OVER(PARTITION BY id ORDER BY DECODE(code, 'ETPL%',1,'FEPL%',2,'ETAR%',3,'FEAR%',4,'ETJO%',5,'ETLE%',6,'ETDP%',7, 8)) rn
    from myTable'%' only has a special meaning when it's used on the right-hand side of a LIKE operator. It has no special meaning in DECODE.
    It does however not. Any ideas on how to get around this?The answer to "How can I do this with DECODE ..." is "Don't use DECODE. Use CASE instead." DECODE is good for very simple comparisons. If you have to ask, then it's not very simple.
    Actually, Etbin gave a good solution using DECODE, that relies on the fact that you're always interested in the first 4 characters of the code column. If you were not always interested in the first 4 characters, then you could do something like this:
    ... ORDER BY  CASE
                WHEN  code LIKE 'ETPL%'  THEN  1
                WHEN  code LIKE 'FOO%'   THEN  2
                WHEN  code LIKE '%BAR'   THEN  3
                                ELSE  4
               END

  • Parse & decode with SkinValue variable

    I've got a problem. I'm making a game and I want my player to change skin when he's entering in the map "monde".
    I've got 2 versions of fla files. One for a PC version, and one for android version.
    In my “PC version” the code with skinValue is working and it’s not in my “Air for Android version”.
    In my PC version I’ve got a player class named player.as :
    public function Player(stageRef:Stage, walkRate:Number, targetBuffer:Number){
    gotoAndStop(“default”+skinValue);
    public function startWalking;
    gotoAndStop(“walk”+skinValue);
    public function stopWalking(e:Event):void{
    removeEventListener(Event.ENTER_FRAME, walk);
    gotoAndStop("default"+skinValue);
    In my Engine class (where the game is controled) Engine.as :
    var isMap:Boolean = thisBack == “monde”;
        if (isMap) {
        player.skinValue = “car”;
        else {
        player.skinValue = “”;
    My player'got extra frames for that named "walkcar" and "defaultcar". and it’s WORKING GREAT !
    But in my AIR version I’ve got this error :
    Error #2109: Frame label defaultnull not found in scene defaultnull.
    at flash.display::MovieClip/gotoAndStop()
    at com.laserdragonuniversity.alpaca::Player()[C:\Users\stephanberger4\Desktop\31 aout\La Brousse en folie tactile\com\laserdragonuniversity\alpaca\Player.as:28]
    at com.laserdragonuniversity.alpaca::Engine/createBackground()[C:\Users\stephanberger4\Deskt op\31 aout\La Brousse en folie tactile\com\laserdragonuniversity\alpaca\Engine.as:143]
    at com.laserdragonuniversity.alpaca::Engine/configLoaded()[C:\Users\stephanberger4\Desktop\3 1 aout\La Brousse en folie tactile\com\laserdragonuniversity\alpaca\Engine.as:108]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    I search what could be the problem and it seems that JSON is causing this error.
    In my PC version I've got, in my engine.as file :
    private function linesLoaded(e:Event):void{
                linesData = JSON.decode(speechLoader.data);
    private function configLoaded(e:Event):void{
                configData = JSON.decode(configLoader.data);
    I have to change "decode" by "parse" for my android version and it seems that it's the problem for my Skinvalue ! When it's "parse"..it won't work !
    Any idea why ?
    Thx !

    private function createBackground(thisBack:String):void{
                                  trace("Creating new background: "+thisBack);
                                  var playerLoc:MovieClip;
                                  back = new Background(stage, thisBack);
                                  addChild(back);
                                  obstacles = back.returnObstacles();
                                  for (var i in obstacles){
                                            addChild(obstacles[i]);
                                  if (restoring){
                                            playerLoc = new MovieClip();
                                            playerLoc.x = 0;
                                            playerLoc.y = 0;
                                  } else if (lastLocation){
                                            var lastLocName = "startPoint_"+lastLocation;
                                            playerLoc = back.currentBack[lastLocName];
                                  } else {
                                            playerLoc = back.currentBack.startPoint;
                                  if(toolbar) playerScale = puzzle.setPlayerScale(thisBack);
                                  player = new Player(stage, walkRate, targetBuffer);
                                  if (playerLoc.x > stage.stageWidth / 2){
                                            player.scaleX = -playerScale;
                                  }else {
                                            player.scaleX = playerScale;
                                  player.scaleY = playerScale;
                                  player.x = playerLoc.x;
                                  player.y = playerLoc.y;
                                  if (restoring){
                                            saver.dispatchEvent(new Event("repose"));
                                            restoring = false;
                                  addChild(player);
                                  player.addEventListener("playerWalking", startDepth, false, 0, true);
                                  player.name = playerName;
                                  foreground = back.returnForeground();
                                  for (i in foreground){
                                            addChild(foreground[i]);
                                  usableItems = back.returnItems();
                                  exits = back.returnExits();
                                  for (i in exits){
                                            addChild(exits[i]);
                                  // Add event listeners for all the usable items
                                  for (i in usableItems){
                                            var thisClip = usableItems[i];
                                            thisClip.buttonMode = true;
                                            thisClip.addEventListener(MouseEvent.CLICK, examine, false, 0, true);
                                            thisClip.gotoAndStop(1);
                                  back.currentBack.ground.addEventListener(MouseEvent.CLICK, movePlayer, false, 0, true);
                                  // Keep the toolbar at the highest depth
                                  if (toolbar){
                                            puzzle.newBackground(thisBack);
                                            changeUIDepth();
                                            toolbar.addListeners();
                                            // Remove any items the player has already picked up
                                            var allInv:Array = inv.returnItems("all");
                                            for (i in usableItems){
                                                      for (var j in allInv){
                                                                if (usableItems[i].displayName == allInv[j].displayName){
                                                                          usableItems[i].visible = false;
    So, if I'm placing the code for the skinValue before "createBackground" function it says that "isMap" and "thisBack" are not defined, and if I'm placing it just before the last "}" of the end, it says defaultnull..
    Thank you veru much for your help (again) !

  • DDTS-100 decoder with Inspire 5500 speakers?

    I've been a very content owner of the Creative Inspire 5500 set (decoder and speakers) for two years now, but just recently my decoder has been playing up. I wish to purchase the DDTS-100 decoder and was wondering if I may use the speakers from my present Inspire 5500 set? The speakers are 5.1 - 8W RMS sub, with five 6W satellites. The speakers are similar (if a little less powerful, I think, than those with the Inspire 5700 set. Is this OK? I searched the archives for a mention of people using this set-up, but can't find any posts concerning this. Thanks for any forthcoming help!

    kyle_hunt85,
    Hitting the tab key perhaps? Gets me every time.
    Daniel

  • How to use the Audigy 2 ZS DD5.1 and DTS decoder with PowerDV

    Is there anyone having success with PowerDVD 6 output SPDIF and using the Audigy 2 ZS DD5. and DTS decoder decodes sound to a 5. analog speaker?
    I am having problem with that setup, the sound is clobberred and out of sync or sometime dropped entirely.
    Don't tell me to change PowerDVD to waveout instead of directsound, I needs directsound since that the only thing MCE2005 supports.
    Thanks, Hien.

    I think all AD_EXT "I/O's" are pure digital.
    Pinout assigment table for Audigy 2 (maybe not : with ZS) can be found (for ex.) from DriverHeaven.
    .jtpMessage Edited by jutapa on 08-3-2005 06:50 AM

  • What's needed for Optical IN/decoding with Xtremegam

    I've been poking around the net and this board trying to find an answer to my question, but I haven't yet found a definate answer. I have the Creative X-Fi Xtremegamer (NOT fatalty) card and a nice 5. speaker set that I would like to use with an optical audio source, namely an HD-DVD player. I initially figured that I would be able to use my soundcard with a flexijack compatible cable to connect the card to the player and set it up to decode the audio and run it through the 3 jack analog connection to my speakers. The research I've done has only been confusing.
    So my question is: What do I need to input digital optical (S/PDIF) into my card and run it out through my 5. speakers?Message Edited by nx_2000 on 08-9-200709:07 PM

    Gordon,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Can I replace the Inspire 5500 decoder with a DDTS-100

    Hi,
    All I want to do is replace the decoder that comes with the Inspire 5.1 Digital 5500 set with a DDTS-100, and continue to use the same speakers. Is this possible?
    The only thing I can see preventing this is that at the moment the the sub and the decoder have to be connected via a din socket (for control and power), but there is no din input on the DDTS-100. Will this be a problem?
    Thanks in advance.

    Google is a wonderful tool... Tried it's
    http://www.hardwareluxx.de/akaspar/r...s00/back_s.jpg
    Message Edited by rico01 on 08-17-2005 05:09 PM

  • DDTS-100 Decoder with Inspire 5500D 5.1 Speakers (DIN Problem!)

    Dear all,
    I bought a DDTS-100 Decoder today, thinking it will improve connectivity and sound quality of my Inspire 5500D 5.1 Speaker System, but I have run into a bit of a problem. My system has a sub which every speaker is connected to and I have to have the DIN cable connected for controlling the speakers and sub but the DDTS-100 doesn't have a din slot so my speakers will not power on when connected to the ddts-100. Is there a way around this or will I have to take back my decoder. I hope there is a solution as I would be very thankful.
    Yours Thankfully,
    Kyle Hunt.

    kyle_hunt85,
    Hitting the tab key perhaps? Gets me every time.
    Daniel

Maybe you are looking for

  • Brand new Iphone 5c won't sync with Itunes

    I am new to the Iphone. I just bought a new iPhone 5C and wanted to sync it with my itunes library. I have hooked up the phone to the computer with the USB cable provided, and updated my itunes to most current version. Everytime I have searched for h

  • How to do Currency conversion thru transformation rule BI 7.0

    Hi all; I am loading data from flat file to the cube. The flatfile contain Source currency (USD) and Incentive Amount base on Source currency. In my cube I have an object call Source Incentive Amount and anohter object name Planning(Local) Incentive

  • Customer Downpayment

    Hi, The billing document contains two items: The first item invoices the customer for certain per cent of the total order value. The second item displays the down payment amount that has to be off-set but in my process downpayment amount is not refle

  • Error - Premature end of file.

    Hi, I am running a scenario involviong File Sender Adapter. I am not able to get the payload. I am getiing the following error - Premature end of file.   <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EXTD_EX_Custo

  • How to use Report Parameter  on Data Template

    Hello All , I 've tried to create a Report using Data template and Report Parameter. I create a report using data template and I also created a parameter (P_company_name). Data Template : <dataTemplate name="test_Data_template" description="test" dat