Condition Rule ignored?

I can't work this out but for some reason I can get it to see this rule
When it gets to
if thisBrand is equal to "Kids" then
it seams to ignore it?
I can't see where the logic goes wrong?
This was the outcome
tell application "Mail"
  make new outgoing message with properties {subject:"Week 33 images", visible:false}
  --> outgoing message id 1
  (*Kids*)
  display dialog "2"
Thanks in advance!
tell application "Mail" to quit
--while mail is closed, add in the default Reply-To key in a UserHeaders dictionary
do shell script "defaults write com.apple.mail UserHeaders '{\"Reply-To\" = \"[email protected], you@@company.com\"; }'"
display dialog "Please enter the current week number." default answer ""
set weekNumber to text returned of the result
set brandsToUse to choose from list {"Adult", "Kids", "Baby"} with prompt "Choose brands to send out." default items {"Kids"} with multiple selections allowed
-- get the html template
set htmlTemplate to read "Users/StudioD/WorkFlow/EMAIL PROJECT/content.html"
considering case
  -- this section splits the template text at every XX, then rejoins it using the week number
          set htmlTemplate to tid(htmlTemplate, "XX")
          set htmlTemplate to tid(htmlTemplate, weekNumber)
end considering
tell application "Mail"
          set subjectLine to "Week " & weekNumber & " images"
          repeat with thisBrand in brandsToUse
                    considering case
  -- this section adds the brand name, done inside the loop because it's different for each email
  -- the 'my' keyword is needed because you're calling a handler from within a tell block
                              set htmlContent to my tid(htmlTemplate, "*LOGO*")
                              set htmlContent to my tid(htmlContent, thisBrand as list) -- thisBrand is an item in the full list
                    end considering
  -- create a new message.  visible must be false for the 'html content' line to work correctly
                    set newMessage to make new outgoing message with properties {subject:subjectLine, visible:false}
                    tell newMessage
  -- create a variable recipient address based on brand name
  log thisBrand
-- Here is the issue!!!!!!!!!!!
                              if thisBrand is equal to "Kids" then
                                        display dialog "Option A"
                              else
                                        display dialog "Option B"
                              end if
                              set html content to htmlContent
  -- send the email
  send
                    end tell
          end repeat
end tell

What should happen is that you can select up to all 3  brands
Adult
Kids
Baby
then each brand receives 1 email that corresponds to their brand. So Brand Adult gets an email with a hyper link to adult
Whereas currently brand adult will get the above and then another email with a link to the other brand and so on.
How can I stop this happening?
Hope this makes sense,

Similar Messages

  • Building Conditional Rules in 2008.3

    Building Conditional Rules in 2008.3
    Has anyone been able to configure a conditional rule in 2008.3 so that if someone selects the current date (today's date), the rule will display an alert and stop submission.  I've tried using several date fields in the rule, but so far nothing is working.
    Is it possible to do this using a conditional rule?  I didn't see anything about dates in the documentation.
    Thanks - Wendy

    As Emir mentions, there are several useful discussions on this topic in the forum. The discussion referenced in first link below includes a zip file uploaded by Emir with some code.
    http://newscale-yes.groupswim.com/groups/isfhowtoandbestpractices/discussion/930447

  • [solved] /etc/udev/rules.d/10-network.rules ignored

    Hi.
    I have 4 nics (eth0, eth1, eth2, eth3) mapped to MAC addresses in  /etc/udev/rules.d/10-network.rules.
    Some months ago, I had to symlink /etc/udev/rules.d/80-net-name-slot.rules to /dev/null in order to use these static names.
    Now it doesn't work anymore (again and again and again) after a full update (kernel and I assume systemd).  The "nic-names" are completely wrong.  You call this "predictable". I call this "unpredictable". The only thing which is predictable is that after a kernel update, the network will stop working. It has been that way for months and months ... fortunately I don't update other machines anymore.
    Was this non sense really necessary?
    Anyway, if you could tell me what to do now to get my network rules applied again, I would really appreciate.
    Right now all ethX/MAC are wrong and none of them gets an IP (had to set an IP manually to post here).
    * I know what "predictable Network Interface Names" is about. I don't want this bullshit. It's much worse as it used to be. Keep it simple, folks!
    Last edited by Agnelo de la Crotche (2013-03-27 07:14:05)

    tomegun wrote:To narrow down the problem you are experiencing: What do you mean when you say that the names are "wrong"? Are they still eth0, eth1,... just in the wrong order, or are you actually seeing the "weird" new names given by udev?
    To answer this question more precisely.
    * with  /etc/udev/rules.d/80-net-name-slot.rules => /dev/nul and /etc/udev/rules.d/10-network.rules posted earlier  (in #4)
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:0a:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:06:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:24:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:1b:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT
    link/ether 66:64:b3:6a:26:61 brd ff:ff:ff:ff:ff:ff
    The rules are ignored.
    * after deleting   /etc/udev/rules.d/80-net-name-slot.rules
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: enp6s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:0a:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    3: enp6s1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:06:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    4: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:24:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    5: enp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:1b:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT
    link/ether a2:ee:ec:d1:65:2d brd ff:ff:ff:ff:ff:ff
    The rules don't apply.
    * with  /etc/udev/rules.d/80-net-name-slot.rules => /dev/nul and after replacing eth0, eth1, eth2, eth3 with arbitrary names net0, net1, net2, net3 in  /etc/udev/rules.d/10-network.rules
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: net1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:24:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    3: net3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:0a:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    4: net2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:06:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    5: net0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:1b:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
    6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT
    link/ether ea:63:09:b7:1b:1b brd ff:ff:ff:ff:ff:ff
    But the rules were applied in this case!
    It solved the problem described originally.  I think I was hit by the race condition after upgrating to kernel 3.8.4-1. This was actually my first 3.8 kernel.
    With kernel 3.7, the rules were working even if the devices were named eth0, eth1, etc.
    Those names don't work anymore, at least in my case.
    Further I  created this file for static ips:
    # cat /etc/systemd/system/network.service
    [Unit]
    Description=Wired Static IP Connectivity
    Wants=network.target
    Before=network.target
    BindsTo=sys-subsystem-net-devices-net0.device
    After=sys-subsystem-net-devices-net0.device
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    ExecStart=/sbin/ip link set dev net0 up
    ExecStart=/sbin/ip addr add 192.168.101.9/24 dev net0
    ExecStart=/sbin/ip link set dev net1 up
    ExecStart=/sbin/ip addr add 192.168.102.9/24 dev net1
    ExecStart=/sbin/ip link set dev net2 up
    ExecStart=/sbin/ip addr add 192.168.104.9/24 dev net2
    ExecStart=/sbin/ip link set dev net3 up
    ExecStart=/sbin/ip addr add 192.168.105.9/24 dev net3
    ExecStart=/sbin/ip route add default via 192.168.101.1
    ExecStop=/sbin/ip addr flush dev net0
    ExecStop=/sbin/ip link set dev net0 down
    ExecStop=/sbin/ip addr flush dev net1
    ExecStop=/sbin/ip link set dev net1 down
    ExecStop=/sbin/ip addr flush dev net2
    ExecStop=/sbin/ip link set dev net2 down
    ExecStop=/sbin/ip addr flush dev net3
    ExecStop=/sbin/ip link set dev net3 down
    [Install]
    WantedBy=multi-user.target
    I disabled netcfg and enabled network.service.
    Problem is solved now.

  • Adding new Condition Rule attribute for "ICRULE-Intent Driven Interaction"

    Hi Experts,
              I want to add a Z attribute for context "ICRULE- Intent Driven Interaction".
    Under SPRO path Customer Relationship Management->E-Mail Response Management System->Define Repository
    I define new Condition Attribute Z_BP_NUMBER with is the copy of BP_NUMBER Attribute.
    1. if i define a Rule to trigger the Alert with Condition Attribute BP_NUMBER is XYZ. then Alert gets Triggered.
    2. if i define a Rule to trigger the Alert with Condition Attribute  Z_BP_NUMBER is XYZ. then Alert is not Triggered.
    After defining Condition Attribute Z_BP_NUMBER at Define Repository (spro) do i need to include at any other placel?
    Please help me with your valuable input.
    Thanks and Regards,
    Vimal

    Hello Vimal,
    Yes, you also need to create your own data collector class and fact gathering service to use your new attribute!  If you have a subscription to CRM Expert, you can read this detailed article that I co-wrote on using your own custom attributes: http://www.crmexpertonline.com/article.cfm?id=5475.
    Regards,
    John

  • Can I export SMART Playlist conditions/rules?

    Is there anyway I can export the actual rules/conditions for a Smart playlist? I have quite a few complicated ones and ideally I'd like to be able to back them up in the event of rebuilding my library - maybe even import the rules again or perhaps share them with other users. If there is only an XML I can copy/edit/view the details then I'm happy to fire up a text editor etc.
    Thanks in advance.
    (Also posted on iLounge.com)

    Well I'm stumped.
    They may or may not be Base64 as I honestly don't grasp that concept (and an online BAse64 decoder made it even less intelligable!) but whatever it is the criteria seem to be encoded in the XML file. It rather looks like the relevant part of the encoded string is approximately 3 times as long as the original. Whilst I can see sublte differences in the Criteria String when I make small changes to the Smart Playlist my old & tired brain can't see a proper pattern.
    For example the Smart Playlist for "Artist is ABCDEFG ABCDEFG ABCDEFG ABCDEFG" seems to encode into a string in the XML file whose most relevant part is 'AAA+AEEAQgBDAEQARQBGAEcAIABBAEIAQwBEAEUARgBHACAAQQBCAEMARABFAEYARwAgAEEAQgBDAE QARQBGAEc=' - I can see two repeated bits (AEEAQgBDAEQARQBGAEc) but not 4.
    I give in!

  • Aggregation rule ignored for Logical sources

    Hi,
    We are using materialized views as logical sources for our logical tables. These logical sources contain aggregated data at higher level for dimensions. However, we have a logical source at the most detailed level for the dimensions.
    Problem: We OBIEE hits the correct logical source based on dimensions selected in answers, it does not apply the default aggregation rule.
    For instance, if a measure has aggregation as AVG, then when the logical sources corresponding to aggregated tables are queried, OBIEE does not apply AVG function. However, it does apply the aggregation rule when it uses the logical source at the most detailed level.
    I have specified the aggregation content properly for every dimension.
    Any pointers to debug the issue will be helpful.
    Thanks,

    Click on LTS of Table - Column Mapping - Select the logical column - click on expression - Put your logic here. You will get Aggregation rule is enalbed for the column.
    Why ? -- Reason could be nested aggregation is not allowed. Aggregation on the normal column applied during query generation at run time. If you use that Agg.Measure to derive another Agg.measure server could not recognize it during runtime.

  • !important attribute in StyleSheet rule ignored

    I have a JTextPane which I am inserting HTML into. I have a StyleSheet which states
    that p tag text whould be blue. This is flagged as '!important' and should overide in-line
    tags. In the HTML, I have used a variety of in-line tags (font, style and p tags) specifying that the text should be green. It always displays green even though the StyleSheet rule should overide it and display blue.
    Any ideas how I can increase the priority of the StyleSheet defined rules?
    /**Component initialization*/
    private void jbInit() throws Exception
    jEditorPane1.setContentType("text/html");
    contentPane = (JPanel) this.getContentPane();
    contentPane.setLayout(borderLayout1);
    this.setSize(new Dimension(400, 300));
    this.setTitle("Frame Title");
    contentPane.add(jEditorPane1, BorderLayout.CENTER);
    StyleSheet style = new StyleSheet();
    style.addRule(" p { color: #0000ff ! important; }"); // blue = 0000ff green = 00ff00
    HTMLDocument doc = new HTMLDocument(style);
    doc.setParser(new ParserDelegator());
    jEditorPane1.setStyledDocument(doc);
    // All these lines display green
    // String line = "<font color=#00ff00><p>some text</p></font>";
    // String line = "<p><font color=#00ff00>some text</font></p>";
    String line = "<p style=\"color: #00ff00\">some text</p>";
    javax.swing.text.Element e;
    for (ElementIterator i = new ElementIterator(doc); (e = i.next()) != null; )
    if ("body".equalsIgnoreCase(e.getName()))
         break;
    doc.insertAfterStart(e, line);

    " As already mentioned this supports CSS. We don't support the full CSS spec. Refer to the javadoc of the CSS class to see what properties we support. The two major CSS parsing related concepts we do not currently support are pseudo selectors, such as A:link { color: red }, and the important modifier."
    The above is from the javax.swing.text.html.StyleSheet API documentation.

  • After update Udev rule ignored: loading firmware of HP LJ 1020

    Hi all
    After one of the latest updates I have a problem with the udev rules. It worked some weeks ago perfectly. But after some updates of the past weeks it seems, that the rules in /etcudev/rules.d/11-hp-lj1020.rules are not triggered anymore. I cannot tell you the precise date as I update my mom's computer via ssh from another country and my mom told me weeks after that the printer is not working any more.
    Was there any update of the udev package which is causing problems?
    I read some threads and had also the problem, that renaming my network adapters does not work any more.
    Issue was that "name" is deprecated in udev.
    Best regards
    Martin

    Potomac wrote:
    check these bugreports :
    https://bugs.archlinux.org/task/42505
    https://bugs.archlinux.org/task/42353
    it seems that this bug related to i915 chip ( or intel graphic card ) is fixed in kernel 3.18rc3 mainline ( we can find this kernel package in AUR )
    there is also another and complete different bug when we use a kernel 3.17 and even 3.18 ( it's a random bug ) but with a similar effect : boot can hang ( the boot process suddenly stops ) :
    https://bbs.archlinux.org/viewtopic.php?id=189622
    https://bbs.archlinux.org/viewtopic.php?id=189324
    downgrading to kernel 3.16.x is the workaround
    I assume my computer is affected by one of these bugs. While I can get to the point where my window manager is loaded, everything almost immediately hangs (but doesn't freeze). Terminal windows become non-responsive and Chromium will refuse input. It's very weird. This happens with both of the 3.17 kernel updates but not in any of the 3.16 releases (including 3.16.7).
    This is on an AMD system (cpu/gpu w/ open source driver). Overall 3.17 seems rather buggy.

  • Unable to remove Conditional Rule through deployment

    If you remove a rule in your source and try to modify your target to remove the rule, the catalog deployer will not remove it in the target.
    Trying to update an active form component from source to target by using Catalog Deployer.  
    On first delpoyement, your source (Development) has one rule.  After the first deployment, you source (Dev) and target (Prod) each have one rule.  Next, you remove the rule in your source (Dev).  When you try to deploy again, the rule will NOT be removed in your target (Prod).  It will also not be removed from the active form behaviour.
    Does anyone know a way around this without manually update your target.  Is there a way the catalog deployment can be created so it takes into account rules that were removed in the source?

    Joshua - I'm curious if you got an answer to this?  I'm having the same issue with a recent deployment.

  • Signature Workflow to look inside document contents for conditional rules

    We are developing a signature workflow in SharePoint 2010, and need to look inside the .docx document to apply conditions for where the .docx document is routed for signature.
    For example:
    if the document says "XYZ" for a certain field in the .docx file, we'd route to Mr. "W"
    if the document says "ABC" for a certain field in the .docx file, we'd route to Mr. "D"
    I'm assuming we're breaking into the full Visual Studio development (and out of the SharePoint Designer realm) since we'll have to look inside the contents of the document for the workflow to work from.
    Any examples would be appreciated!

    Hi,     
    You can consider to use "Quick Parts" in this Word document and make it link to columns in SharePoint library, then you can refer to these columns in your workflow.
    Please take a look at this similar thread for more details:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/6e287491-f36c-4d2f-93bb-783e08e88f1d/sharepoint-custom-workflow-reading-information-from-doc-file?forum=sharepointcustomizationlegacy
    Best regards
    Patrick Liang
    TechNet Community Support

  • Design Rules ignore Plural in Glossary Editor

    I specified :
    Name Plural
    T TABLES Prime
    TASK TASKS Prime
    RUNNING Modifier
    I have a table named
    T_RUNNING_TASKS that failed the design rules check.
    It says TASKS is not in the glossary.
    But T_TASKS is ok....
    How come?

    Hi Joe,
    plurals are used in transformation from logical to relational - entity TASK will be transformed to table TASKS.
    Plural and name validation - table name is valid if it's single word and it's among plurals - well it also could be valid because it's in glossary as word or abbreviation.
    Philip

  • While using for all entries its ignoring details of where condition

    i am using one select statement as follows
    SELECT ORGVEND LOTNO  INTO TABLE IT_ORG
                   FROM /BAY4/IC_IN_SEED
                   FOR ALL ENTRIES IN IT_DATA
                   WHERE LOTNO = IT_DATA-CHARG+0(9).
    its showing error as below
    In the use of FOR ALL ENTRIES, the long statement fur "CHARG" in this condition is ignored.
    how to avoid that.
    and
    we are using one field called "MITTLEWERT"
    we have declared it as type P decimals 2.
    in report we are using one statement
    SHIFT MITTELWERT LEFT DELETING LEADING ' '.
    its showoing error that MITTLEWERT should be C,N,String soem thing likie that.........how to avoid that

    Hi,
    i am using one select statement as follows
    SELECT ORGVEND LOTNO INTO TABLE IT_ORG
    FROM /BAY4/IC_IN_SEED
    FOR ALL ENTRIES IN IT_DATA
    WHERE LOTNO = IT_DATA-CHARG+0(9).
    its showing error as below
    In the use of FOR ALL ENTRIES, the long statement fur "CHARG" in this condition is ignored.
    how to avoid that.
    and
    we are using one field called "MITTLEWERT"
    we have declared it as type P decimals 2.
    in report we are using one statement
    SHIFT MITTELWERT LEFT DELETING LEADING ' '.
    its showoing error that MITTLEWERT should be C,N,String soem thing likie that.........how to avoid that
    first of all you can not use offset for for all entries which you have used in select query
    SELECT ORGVEND LOTNO INTO TABLE IT_ORG
    FROM /BAY4/IC_IN_SEED
    FOR ALL ENTRIES IN IT_DATA
    WHERE LOTNO = IT_DATA-CHARG+0(9). " You can not use IT_DATA-CHARG+0(9).
    2) field MITTLEWER you have declared as type P decimals 2.
    Keep in mind that P is not character tupe it is numeric type so it will have initial values as 0 and not ' ' (space).
    try below kind of code
    REPORT  ZTEST_UM2.
    DATA: a TYPE p DECIMALS 2 VALUE 000123 ,
          lv_with_zeros(15) TYPE c.
    WRITE: a to lv_with_zeros.
    WRITE lv_with_zeros.
    Hope above will help u.
    Regards,
    Umang mehta

  • Copying formatting from conditional formatting without the rules

    I tend to use a lot of conditional formatting in my spreadsheets. Unfortunately, this leads to two problems:
         1) I need more rules than are allowed (this seems to be related to the height of my screen... probably because the dialog box doesn't have a scrollbar)
         2) This really, really slows things down, especially when combined with cell references, and particularly when I'm trying to rearrange cells (as far as I can see Numbers has a tendency to freeze and/or blank out the table I'm working on)
    The easiest way I can see out of my predicament would be to somehow remove the conditional formatting rules while keeping the actual formatting... like copy-and-pasting values instead of the actual cells (with intact formulae). Is this possible? And if possible, how would I go about doing it?
    Thanks in advance!

    Up to 15 rules can be set for conditional formating of a cell.
    1)
    Considering that the usual purpose of conditional formatting is to flag 'unusual' values, and to make the 'condition' instantly visible and recognizable, that seems an over generous number. If a cell or group of cells on your table 'needs' more than 15 possible formats (the base format and 15 others based on rules), perhaps what's needed is a re-thinking of why that many are needed, and whether having that many formats adequately answers that 'why'.
    If you really do need that many, you can set then, even if your display height is filled with fewer than that. Additional rules may be inserted after any existing rule, not just the last one. note, though, that the conditions are evaluated in the order the rules are listed, from top to bottom, and the format is set by the first rule encountered whose condition is met.
    2)
    Not surprising. Numbers recalculates the entire table each time a value in the table is changed. That calculation includes through each list of conditional formatting rules until a match is found (or the end of the list is reached), and includes setting the new format for each affected cell.
    3)
    Not that I'm aware of. The base format of the cell may be copied (option-command-C) and pasted elsewhere (option-command-V), and that pair of operations will include any conditional format rules that had been set for the original cell.
    But conditional formatting is just that—a set of rules that applies a set of attributes to a cell when a specific condition is met. The applied format exists only when the condition is met, and can't be copied except by copying the rule—actually the whole set of rules for that cell—which puts you no further ahead.
    3a) You could, of course, change the base format of the cell to match the colour and style applied by the conditional rule, then clear the conditional format rules for that cell or set of cells. That would 'remove the rules while keeping the (applied) formatting', and would leave the formulas intact. seems to me a game not worth the candle, though.
    Regards,
    Barry

  • AND Condition Ignored

    I have the query below but is seems that the AND A.UNIQUENESS = 'UNIQUE' condition is ignored. Can someone explain why? Or have I incorrectly coded this?
    It's 9i.
    SELECT B.TABLE_NAME, B.TABLE_OWNER, B.INDEX_OWNER, B.COLUMN_NAME
    FROM DBA_INDEXES A INNER JOIN DBA_IND_COLUMNS B ON A.OWNER = B.TABLE_OWNER
    WHERE A.OWNER = 'USERDATA'
    AND A.UNIQUENESS = 'UNIQUE'
    GROUP BY B.TABLE_NAME, B.TABLE_OWNER, B.INDEX_OWNER, B.COLUMN_NAME
    ORDER BY 1

    I have the query below but is seems that the AND
    A.UNIQUENESS = 'UNIQUE' condition is ignored. Can
    someone explain why? Or have I incorrectly coded
    this?
    It's 9i.
    SELECT B.TABLE_NAME, B.TABLE_OWNER, B.INDEX_OWNER,
    B.COLUMN_NAME
    FROM DBA_INDEXES A INNER JOIN DBA_IND_COLUMNS B ON
    A.OWNER = B.TABLE_OWNER
    WHERE A.OWNER = 'USERDATA'
    AND A.UNIQUENESS = 'UNIQUE'
    GROUP BY B.TABLE_NAME, B.TABLE_OWNER, B.INDEX_OWNER,
    B.COLUMN_NAME
    ORDER BY 1Are you giving correct username ??
    SQL> SELECT B.TABLE_NAME, B.TABLE_OWNER, B.INDEX_OWNER, B.COLUMN_NAME
      2  FROM DBA_INDEXES A INNER JOIN DBA_IND_COLUMNS B ON A.OWNER = B.TABLE_OWNER
      3  WHERE A.OWNER = 'SCOTT'
      4  AND A.UNIQUENESS = 'UNIQUE'
      5  GROUP BY B.TABLE_NAME, B.TABLE_OWNER, B.INDEX_OWNER, B.COLUMN_NAME
      6  ORDER BY 1;
    TABLE_NAME                     TABLE_OWNER                    INDEX_OWNER
    COLUMN_NAME
    DEPT                           SCOTT                          SCOTT
    DEPTNOKhurram

  • Is it possible to save a set of conditional format rules in Numbers?

    I am a doctor, and I have a call schedule that comes out each month (in an Excel spreadsheet). So, I want to open up the spreadsheet in Numbers and have each instance of my name (Smith) highlighted, by setting the background of the cell to a fluorescent yellow. This is easy to do by using conditional formatting, and it works well.
    My problem is that each time I want to use the same conditional formatting rule, I have to manually set it up. I would like to be able to save the 'rule', ideally linked to a toolbar button, so that I can run this conditional formatting on any Numbers spreadsheet with one (or two) click(s).
    Does anyone know if this is possible?

    Create a table with the conditional rules then use Format > Advanced > Capture Table
    Each time you will create a new table from the captured table it will have all the source's attributes.
    Of course, you must save in the native Numbers format.
    If you export as Excel most of these settings will be lost.
    Yvan KOENIG (from FRANCE vendredi 9 janvier 2009 19:44:05)

Maybe you are looking for

  • A familiar problem with a not so simple solution

    Hey all, I'm having a problem with my phone and I was hoping that someone could help me out. Now, this is a problem which I know has been posted on these boards before, but I was unable to find a solution in the threads that I've seen. The problem is

  • PDF output in background

    Hi, I want to send mail in PDF format to the person specified in selection screen while running in background. The output is not coming in ALV rather it is coming as a simple report.  the report has top of page, header and the item level data. how ca

  • Updating a Base Table through a View having UNPIVOT function.

    Hi, I have a requirement of updating a Base Table through a View. This View has the query using a UNPIVOT function for displaying the columns of the Base tables in rows. I need to update/insert into/delete the Base Table by accessing the View (The us

  • Problems starting iConnect Consolidator Server

    I'm in the process of setting up the iConnect Consolidator Server. Step 5 on page 2-7 of the documentation says to run "mgp.bat". However when I do this I get the following error: "java.sql.SQLException: Connection refused: no further information." I

  • Videos become single frame when exporting iPhoto album

    I've gotten the hang of how to organize pix and vids in an "album" and get them renamed. Now I just want to give those renamed reordered photos on discs to other people that will be on Mac and PCs. This apparently means using the "export" feature, as