By the way where and group by clause Cursor

I'm working on a procedure that generates a where clause clause and needs of a group by clause to return the correct results. I'm moving the two where and group variables in the cursor.

The variables are is filled correctly, but when the cursor is created, variables are not in the cursor.

Here's the code I'm working with. It is part of a package, but does no appeal to other parts of the package.

PROCEDURE createFollowUpTask_Exposure (psUppgkedjetyp IN tis.tial.uppgkedjetyp%TYPE NULL by default,
psAlarmtyp IN tis.tial.alarmtyp%TYPE by default NULL,
psSubtyp IN tis.tial.subtyp%TYPE by default NULL,
pnDays in NUMBER NULL by default,
psKampkod IN tis.tiin.kampkod%TYPE by default NULL,
psKatnr IN tis.tiin.katnr%TYPE by default NULL,
psUtgava IN tis.tiin.utgava%TYPE by default NULL,
psKatslag IN tis.tikg.katslag%TYPE by default NULL,
psProdsyst IN tis.tikg.prodsyst%TYPE by default NULL,
psUppgtyp IN tis.tiin.uppgtyp%TYPE by default NULL,
psProdkod IN tis.tiin.prodkod%TYPE by default NULL,
psStatus IN tis.tiin.status%TYPE by default NULL
) AS
--
cTIAL tis.tial%ROWTYPE;
vLopnr tis.tial.lopnr%TYPE;
vSqlWhere VARCHAR2 (4000);
vGroupBy VARCHAR2 (1000): = "tiin.kampkod, tiin.abnr, tiko.fordsalj;
cSelectCursor SYS_REFCURSOR;
vSqlSelect VARCHAR2 (4000);
psDays VARCHAR2 (50);
cRec T_TIAL_REC;
nCount number: = 0;

--
CURSOR cSqlSelect (SqlWhere IN VARCHAR2, GroupBy IN VARCHAR2) IS
SELECT tiin.kampkod, tiin.abnr, tiko.fordsalj, MAX (tici.regdat) ALARMDATE
OF tis.tiin
JOIN tis.tiko ON tiin.kampkod = tiko.kampkod AND tiin.abnr = tiko.abnr
JOIN core.tici ON tiin.kampkod = tici.kampkod AND tiin.abnr = tici.abnr AND tici.inplnr = tiin.inplnr
WHERE 1 = 1 | SqlWhere
GroupBy GROUP;
--
BEGIN
-If these parameters are null, trigger the error
IF psUppgkedjetyp IS NULL and psSubtyp IS NULL THEN
raise_application_error (-20001,
"String from the event or events must be assigned");
END IF;
-Fill the TIAL values
IF psUppgkedjetyp IS NOT NULL THEN
cTIAL.Uppgkedjetyp: = psUppgkedjetyp;
END IF;
--
IF psAlarmtyp IS NOT NULL THEN
cTIAL.Alarmtyp: = psAlarmtyp;
END IF;
--
cTIAL.Handklass: = 't';
cTIAL.Blobid: = 0;
--
IF pnDays IS NOT NULL THEN
psDays: = '+' | pnDays;
END IF;
IF psSubtyp IS NOT NULL THEN
cTIAL.Subtyp: = psSubtyp;
END IF;
-Create Where clause for cursor
vSqlWhere: = ";
IF psKampkod IS NOT NULL THEN
vSqlWhere: = vSqlWhere | "AND tiin.kampkod ="' | psKampkod | " ' ;
END IF;
--
IF psKatnr IS NOT NULL THEN
vSqlWhere: = vSqlWhere | "AND tiin.katnr ="' | psKatnr | " ' ;
END IF;
--
IF psUtgava IS NOT NULL THEN
vSqlWhere: = vSqlWhere | "AND tiin.utgava ="' | psUtgava | " ' ;
END IF;
--
IF psKatslag IS NOT NULL THEN
vSqlWhere: = vSqlWhere | "AND tikg.katslag ="' | psKatslag | " ' ;
END IF;
--
IF psProdsyst IS NOT NULL THEN
vSqlWhere: = vSqlWhere | "AND tikg.prodsyst ="' | psProdsyst | " ' ;
END IF;
--
IF psUppgtyp IS NOT NULL THEN
vSqlWhere: = vSqlWhere | "AND tiin.uppgtyp ="' | psUppgtyp | " ' ;
END IF;
--
IF psProdkod IS NOT NULL THEN
vSqlWhere: = vSqlWhere | "AND tiin.prodkod ="' | psProdkod | " ' ;
END IF;
--
IF psStatus IS NOT NULL THEN
vSqlWhere: = vSqlWhere | "AND tiin.status ="' | psStatus | " ' ;
END IF;
-Browse all records in input parameters of the meeting and set values required TIAL.
I'm IN cSqlSelect (vSqlWhere, vGroupBy)
--
LOOP
-EXTRACT cSelectCursor INTO cRec;
cTIAL.Kampkod: = ";
cTIAL.Abnr: = ";
cTIAL.Sign: = ";
cTIAL.Alarmdate: = ";
cTIAL.Kampkod: = i.Kampkod;
cTIAL.Abnr: = i.Abnr;
cTIAL.Sign: = i.fordsalj;
cTIAL.Alarmdate: = i.alarmdate;
--
nCount: = nCount + 1;
--
IF vLopnr = - 1 THEN
raise_application_error (-20002,
"Error creating task for: ' | '. cTIAL.Kampkod |' '|| cTIAL.Abnr |' Sales representative: ' | cTIAL.Alarmdate);
END IF;
END LOOP;
DBMS_OUTPUT. Put_line (' I created ' | nCount |) "documents.");



END createFollowUpTask_Exposure;

Thanks in advance for any help.

Hello

Welcome to the forum!

Try this (untested) example:

PROCEDURE createFollowUpTask_Exposure(psUppgkedjetyp IN tis.tial.uppgkedjetyp%TYPE DEFAULT NULL,
                                      psAlarmtyp     IN tis.tial.alarmtyp%TYPE DEFAULT NULL,
                                      psSubtyp       IN tis.tial.subtyp%TYPE DEFAULT NULL,
                                      pnDays         IN NUMBER DEFAULT NULL,
                                      psKampkod      IN tis.tiin.kampkod%TYPE DEFAULT NULL,
                                      psKatnr        IN tis.tiin.katnr%TYPE DEFAULT NULL,
                                      psUtgava       IN tis.tiin.utgava%TYPE DEFAULT NULL,
                                      psKatslag      IN tis.tikg.katslag%TYPE DEFAULT NULL,
                                      psProdsyst     IN tis.tikg.prodsyst%TYPE DEFAULT NULL,
                                      psUppgtyp      IN tis.tiin.uppgtyp%TYPE DEFAULT NULL,
                                      psProdkod      IN tis.tiin.prodkod%TYPE DEFAULT NULL,
                                      psStatus       IN tis.tiin.status%TYPE DEFAULT NULL) AS
   --
   cTIAL         tis.tial%ROWTYPE;
   vLopnr        tis.tial.lopnr%TYPE;
   vSqlWhere     VARCHAR2(4000);
   vGroupBy      VARCHAR2(1000) := ' tiin.kampkod, tiin.abnr, tiko.fordsalj';
   cSelectCursor SYS_REFCURSOR;
   vSqlSelect    VARCHAR2(4000);
   psDays        VARCHAR2(50);
   cRec          T_TIAL_REC;
   nCount        NUMBER := 0;

   FUNCTION fnc_cSqlSelect(SqlWhere IN VARCHAR2,
                           GroupBy  IN VARCHAR2) RETURN VARCHAR2 IS
   BEGIN
      RETURN 'SELECT tiin.kampkod,
             tiin.abnr,
             tiko.fordsalj,
             MAX(tici.regdat) ALARMDATE
        FROM tis.tiin
        JOIN tis.tiko ON tiin.kampkod = tiko.kampkod
                     AND tiin.abnr = tiko.abnr
        JOIN core.tici ON tiin.kampkod = tici.kampkod
                      AND tiin.abnr = tici.abnr
                      AND tici.inplnr = tiin.inplnr
       WHERE 1 = 1 ' || SqlWhere || ' GROUP BY ' || GroupBy;
   END fnc_cSqlSelect;

BEGIN
   -- If these parameters are null, raise error
   IF psUppgkedjetyp IS NULL AND psSubtyp IS NULL THEN
      raise_application_error(-20001,
                              'Either Event Chain or Starting Event must be assigned');
   END IF;
   -- Populate TIAL values
   IF psUppgkedjetyp IS NOT NULL THEN
      cTIAL.Uppgkedjetyp := psUppgkedjetyp;
   END IF;
   --
   IF psAlarmtyp IS NOT NULL THEN
      cTIAL.Alarmtyp := psAlarmtyp;
   END IF;
   --
   cTIAL.Handklass := 'T';
   cTIAL.Blobid    := 0;
   --
   IF pnDays IS NOT NULL THEN
      psDays := '+ ' || pnDays;
   END IF;
   IF psSubtyp IS NOT NULL THEN
      cTIAL.Subtyp := psSubtyp;
   END IF;
   -- Create Where clause for cursor
   vSqlWhere := '';
   IF psKampkod IS NOT NULL THEN
      vSqlWhere := vSqlWhere || ' AND tiin.kampkod = ''' || psKampkod || '''';
   END IF;
   --
   IF psKatnr IS NOT NULL THEN
      vSqlWhere := vSqlWhere || ' AND tiin.katnr = ''' || psKatnr || '''';
   END IF;
   --
   IF psUtgava IS NOT NULL THEN
      vSqlWhere := vSqlWhere || ' AND tiin.utgava = ''' || psUtgava || '''';
   END IF;
   --
   IF psKatslag IS NOT NULL THEN
      vSqlWhere := vSqlWhere || ' AND tikg.katslag = ''' || psKatslag || '''';
   END IF;
   --
   IF psProdsyst IS NOT NULL THEN
      vSqlWhere := vSqlWhere || ' AND tikg.prodsyst = ''' || psProdsyst || '''';
   END IF;
   --
   IF psUppgtyp IS NOT NULL THEN
      vSqlWhere := vSqlWhere || ' AND tiin.uppgtyp = ''' || psUppgtyp || '''';
   END IF;
   --
   IF psProdkod IS NOT NULL THEN
      vSqlWhere := vSqlWhere || ' AND tiin.prodkod = ''' || psProdkod || '''';
   END IF;
   --
   IF psStatus IS NOT NULL THEN
      vSqlWhere := vSqlWhere || ' AND tiin.status = ''' || psStatus || '''';
   END IF;ç
   -- Loop through all records meeting input parameters and set required TIAL values.
   OPEN cSelectCursor FOR fnc_cSqlSelect(vSqlWhere,
                                         vGroupBy);

   LOOP
      FETCH cSelectCursor
         INTO v; -- You must define a variable 'v' to hold the data of cursor
      EXIT WHEN cSelectCursor%NOTFOUND;

      --FETCH cSelectCursor INTO cRec;
      cTIAL.Kampkod   := '';
      cTIAL.Abnr      := '';
      cTIAL.Sign      := '';
      cTIAL.Alarmdate := '';
      cTIAL.Kampkod   := i.Kampkod;
      cTIAL.Abnr      := i.Abnr;
      cTIAL.Sign      := i.fordsalj;
      cTIAL.Alarmdate := i.alarmdate;
      --
      nCount := nCount + 1;
      --
      IF vLopnr = -1 THEN
         raise_application_error(-20002,
                                 'Error Creating task for: ' || cTIAL.Kampkod || ' ' ||
                                 cTIAL.Abnr || ' Sales Rep: ' || cTIAL.Alarmdate);
      END IF;
   END LOOP;

   CLOSE cSelectCursor;

   DBMS_OUTPUT.PUT_LINE('I created ' || nCount || ' records.');

END createFollowUpTask_Exposure;
/

Kind regards

Tags: Database

Similar Questions

  • Where the local users and groups in Win 7 Home Premium? I don't find it in computer management.

    Where the local users and groups in Win 7 Home Premium?  I don't find it in computer management.

    Elevate your privileges permanently would defy the purpose of UAC and is therefore not available. There are two ways to start a command prompt:

    1. click on the start planet.
    2. type the three letters cmd in the search box.
    3. press on Ctrl + Shift + Enter
    4. click on "run as Administrator".

    or:
    1. create a shortcut on the desktop for cmd.exe.
    2. right click.
    3. click on run as administrator

  • No Add button in the users section and groups on LenovoEMC Storage Manager 1.4.4.14439

    I just install my new Iomega PX4 - 300 d and have enabled security. When I go to the users section and groups, there is no Add button to create new users or groups.

    The Add button is available in other sections and I created with success of new volumes/shares.

    I read the instructions and following the guides online without success.

    Is there another setting that I missed?

    He solved.

    I disabled the security and then reactivated it.

    The add users/groups button reappears.

  • I have been unable to untick the box "Allow user to administer this computer" in the preferences users and groups of the system...

    I took to allow a user to administer by checking the box "Allow user to administer this computer" of the user in the users window and groups in system preferences.

    I tried to uncheck the box, but it remains unchanged.

    You must be logged in as a different user than the one you are trying to change, and your own user name must be an administrator on this system.

  • Windows installs until the end of the installation, bar goes through 3/4 of the way down and crashes.

    * Original title: Windows 7 Professional instsll

    Bringing to husbands machine until windows 7 Professional 64-bit windows vista

    as custom instslled since then couldn't upgrade version of vista that he had

    winfows installs until the end of the installation, bar goes through 3/4 of the way down and crashes

    has tried the f8 combo command but to reboot the installation all over again and just sitting here watching the installation goes nowhere

    plan to leave overnight this time

    any suggestions?

    If you have compatible hardware and your computer still stops responding, disable any unnecessary material. Remove (USB) universal serial bus devices. Remove or disable network cards, sound cards and cards of the series; and then restart the installation.

  • Virtual Center Version 2.5.0 Build 119598 - add user / Select user GUI - not finding the users accounts and groups in Microsoft AD

    All,

    Has anyone seen the following symptoms?

    (1) when a user or group account does not appear in the 'users and groups' dialogue box 'Select users' research will result in a "select users or groups" pop indicating "no user or group not found as the search result. Before beginning your search, in the dialog box "Select users", the correct domain name appeared in the "domain:" drop-down list.

    (2) not possible to account or group of usernames containing spaces. She will accept the format of the name of groups 'Pre-windows 2000' of objects. The account names and groups ' select users ' GUI will be find the account or group when you enter the explicit & lt; domain name & gt; ------& lt; Account name & gt; in the text box 'Users' or & lt; domain name & gt; ------& lt; Group name & gt;.

    Is there a known issue with user accounts or to find when they do not appear in the "users and groups" in the dialog box "select users".

    Kind regards

    Steve

    Sorry, wrong forum, this is Server 2.0.

    ---

    If you have found this device or any other answer useful please consider the use of buttons useful or Correct to award points.

  • Combine in a single line: check the box Case() and Group BY

    Hello

    I have a little problem and it seems my knowledge and possession is simply not enough good to slove it.

    To better understand my question here an example (the actual query is too large):
    Data:
    NAME, CASE_NO, GO_TAG
    Tom 10 GB
    Tom 15 GB
    Tom 20
    30 Tim
    Tim 40

    My query looks like this:
    SELECT NAME,
    CASE
    WHEN (GO_TAG IS NOT NULL) THEN wm_concat (CASE_NO)
    ANOTHER NULL
    END WITH_GO_TAG
    CASE
    When wm_concat (CASE_NO) (GO_TAG IS NULL) THEN
    ANOTHER NULL
    END WITHOUT_GO_TAG
    GROUP BY NAME, GO_TAG;


    Now what I get output:
    NAME, WITH_GO_TAG, WITHOUT_GO_TAG
    Tom, 10, 15', "
    Tom, ", '20'
    Tom, 10, 15', "
    Tom, cm, 30, 40'

    Here's my problem: I want a line instead of two lines for "Tom."
    It looks like: Tom, 10 ', 15', 20'

    Is this possible?

    You should know that I coded those SQL things to right directly in this forum to show you my problem... hope you can understand it :-)

    Hope someone can help me in this case.

    Oh, almost forgot, I (or better: my company) use Oracle Version: 10g

    See you soon,.
    Phil

    Hello

    Thank you. It's clearer.

    Did you count 5 lines of sample data, or 10?
    In SQL * Plus, when you finish an order with one; and then have a /, the / means "repeat the last command. So, when I run

    INSERT INTO EXAMPLE VALUES
    ('Tom', 10, 'go');
    / 
    

    I get 2 identical rows. I suppose you want only 1.

    When you say ' GROUP BY name, go_tag ', the output contains a line for each distinct combination of name and go_tag.
    If you want just one row for each distinct value of the name, just say 'GROUP BY name. If we are not group by go_tag, we must be careful that any reference to go_tag in the SELECT clause is like an aggregation function argument, like this:

    SELECT     NAME,
               STRAGG (NVL2 (go_tag, case_no, NULL))     AS with_go_tag,
               STRAGG (NVL2 (go_tag, NULL,    case_no))     AS without_go_tag
        FROM   EXAMPLE
    GROUP BY   NAME;
    

    NVL2 (a, x, y) is equivalent to
    CASES WHERE an IS NOT NULL THEN x ELSE y END to this problem, I found NVL2 easier than CASES to read and understand, but I don't maintain your code, then you should use your way of thinking is the best.

  • Is it possible to save the current tabs and groups so that they can be recharged at any time?

    My Firefox crashes sometimes, and when I start it up again, my groups and tabs that I had are lost, so I need to recreate my history window. Is there a way I can save the groups that I have with the tabs on the inside so that I can retrieve them at a later date.
    "I say that Firefox does not save the whenever I close the browser, so I'm güssing there a file somewhere that contains this information, if I know how is called this file I could save it on my regular schedule and retrieve them if I had to, of course the best solution would be to have a ' save the groups ' & 'Support groups' in the menu.

    Thanks in advance
    DayoJ

    (PIN) App tabs and groups of tabs (Panorama) are stored in session data in the sessionstore.js file in the Firefox profile folder.

    You can use this button to go to the Firefox profile folder currently in use:

  • Why isn't the local users and groups in Windows 7 Home Premium active?

    Unfortunately, the page of "Compare editions" for Windows 7 does not show that it is disabled for Windows 7 Home Premium.  So, I think that Microsoft is engaged in false advertising by activating only not this snap-in Control Panel.


    Bottom line is: I need to access the Panel to ensure that I am in the Visual Studio debugger users group.  So, I can't debug anything.  The software does not work properly.


    Microsoft should immediately activate this feature.

    I'm sorry, but no original version of Windows has always included local users and groups .

    I recommend posting your question in the MSDN Visual Studio Forums , where other developers can answer. They know how to do what you want.

    To get your suggestion to the right people at Microsoft, please click the give us your comments. Help improve Windows 7 link under ads at the top of the main page of the forum, or go to the page give us your comments for Windows 7 . Boulder computer Maven
    Most Microsoft Valuable Professional

  • Doubts formidable wrt "select", "join" and "group by" clause to calm a while...

    Dear all,

    Kindly advise on below 2 doubts which have been daunting for quiet some time. The bottom has forced our requests to take alternative routes to receive solutions.

    Doubt 1) is it possible for us to use 'select (*)' with a group and a join clause, if we have at least 2/3 tables with minimum 15-20 columns... given the constraint of having to add all the names column in the group by clause.

    Question 2) is it possible to use "select" (*) with the exception of a single column of the table?
    That is to say, I hate the output of a statement select (*) to have the entire field except a field in a table

    Ask your advisor for the same thing. Excuse me because I have no examples to illustrate this point in time. A successful idea will do.

    Thank you and best regards,

    Séverine Suresh

    Hey, Sebastian,

    Séverine Suresh - 3035408 wrote:

    Dear all,

    Kindly advise on below 2 doubts which have been daunting for quiet some time. The bottom has forced our requests to take alternative routes to receive solutions.

    Doubt 1) is it possible for us to use 'select (*)' with a group and a join clause, if we have at least 2/3 tables with minimum 15-20 columns... given the constraint of having to add all the names column in the group by clause.

    Sure.  If you had problems, you did it wrong.  Your postal code, examples of data (CREATE TABLE and INSERT statements) and the results desired from these data.

    Check out the Forum FAQ: Re: 2. How can I ask a question on the forums?

    Normally, you don't want to ' SELECT *...» "in a join.  Are most joins are equijoins, ' SELECT *...» "produced 2 copies of / columns used for Assembly.  In addition, many tables have columns (for example, modified_date) that are not necessary in most applications.

    All columns must be included explicitly in a GROUP BY clause. You cannot use * it.

    You can not have parentheses around the * in ' SELECT *...» ».  You might think 'SELECT COUNT (*) '

    Question 2) is it possible to use "select" (*) with the exception of a single column of the table?
    That is to say, I hate the output of a statement select (*) to have the entire field except a field in a table

    ...

    No.; If you don't want a particular column in the result set, you cannot use "SELECT *...» ».

    Your front end can have so as not to display a column in the result set.  For example, in SQL * more:

    COLUMN modified_date NOPRINT

    means that you won't see any column called modified_date.

  • Help! Brightness all the way down and no cursor for 10 Windows Installer?

    OK, so I just did the part of boot camp to install Windows to OS X, after selecting the amount of data you want to use Windows and how many Mac. He partitioned something before resuming, and I got a black screen. I waited, but it did not go far, so I looked at this topic and saw that someone had this problem during startup in Windows once. They said that the brightness was completely down, so that they shone with a light on it and made this way. I tried this, and of course, the selection of the language and the country by selecting the thing was there. I could just do it this way, but the thing is, I left my small window slider, and now I can't find my cursor anywhere. I just started using the Enter key to select the entire document, but I just got under the terms of the agreement thing, and I actually have to click the little box. Does anyone have a solution for this? Anyway to make the screen brighter? Please quick help!

    This is on a Mac laptop or a Mac desktop?

  • Directions in Windows mail go to the toolbar where contact group. I don't have this toolbar.

    I currently use Windows Mail in Vista and try to create a contact group.  The help screen shown I should click Group Contact that appears in the toolbar.  My only toolbar is the one with the file, display, etc.  Under file, there is a contact button but no button in the group.  How to create contact group?

    With IE 9 installed (which is not relevant to this question, but see www.oehelp.com/OETips.aspx#15), opening shows (on the file menu) 6 Contacts options:

    • Organize
    • Display
    • New Contact
    • New Contact Group
    • Import
    • Export

    as the toolbar options.

    So if you're not showing that, so there may be another problem.  Try to right click in the Contacts folder and then choose Customize and make sure he uses the model for Contacts.

    Also, you could try to compact and repair the database (www.oehelp.com/WMUTil/) that he might have gotten corrupted some and that could lead to strange problems, such as problems of composition you see, that repairs would fix.

    You can also check for antivirus interference Winmail (see www.oehelp.com/OETips.aspx#3).

    Steve

  • Why can I not make my background of the transparent sidebar the way where he was?

    After you have reinstalled Vista after a hard disk crash, I can't get the sidebar to have a transparent background, the way that it used to be under the original installation. It isn't even an option for this in the sidebar help/Setup. I don't think I made it transparent voluntarily last time - it is all automatic. Now, I can't make sure, evenintentionally.

    After you have reinstalled Vista after a hard disk crash, I can't get the sidebar to have a transparent background, the way that it used to be under the original installation. It isn't even an option for this in the sidebar help/Setup. I don't think I made it transparent voluntarily last time - it is all automatic. Now, I can't make sure, evenintentionally.

    I am now using Windows 7.
    For 6 years I have been using Vista, I never activated Aero, not to mention transparency. Reason: huge consumption of resources and slow down the performance.

    Anyway, you are not supposed to activate the transparency first before you can see the sidebar with a transparent background?

    Here is the tutorial to activate the Areo glass transparency:

    http://www.Vistax64.com/tutorials/75413-Aero-Glass-transparency.html

  • My volume keeps going all the way upward and don't come back down.

    I have windows 8 and my computer is custom built I don't have DD also realtek audio Manager I tried to click the volume slider to lower it does not work. I do not have a virus I ran im and windows defender very well please help this becomes really aggravating

    Hi Leon,

    Please keep us updated.

    I would ask uninstall you Mad Catz and check if the problem still persists. If the problem does not persist, please contact Mad Catz or you can keep it installed.

    To do this:

    a. press the Windows key + X , and then click programs & features

    b. Locate the program, right click and click Uninstall

    c. restart the computer and check if the problem persists

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

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

  • Tab order does not work on the image Panel and group tags

    I write code to control the tab on several tags such as "img", "Control Panel", "LinkButton",... and pie charts. When I run my program flash, tab indexing does not work. It works on the pie chart and "link button" tags, not on 'img', ' ', tags "group". I also tried to "activate the tab" on these fields and the true chilern tab, but no help.

    on the other hand when I disable the tab on the pie chart, and a link button, yet the tab is activated. It seems no matter what I do about the tab order, it does not reflect when I run my program.

    I really appreciate if someone could help me, I'm working with the sdk flex 4.1

    In Flex, components that receive focus must implement IFocusManagerComponent.  Most of the containers are not.

Maybe you are looking for