Help with Find Expression

Dear All
Can you help me to prepare the new expressions which can help me to localize all records where records contain two similar entries for example "01" or "02" or "03".
My data model is build in standard customer repository on 7.1 platforms. I do have a Tuple. In those tuple only two columns:
Saleorg and PL
that tuple is added to main table customers. And some records have values for example:
Customer number...............Selling Org/PL
0000001.............................01,ABC; 02EDC;03,WSX
0000002.............................01,ABC;01,QAZ;03,EDC
0000003.............................02,RFV;03,IKO
I need to localize all records where value "01" as for example (for customer) 0000002 is more than ones.
Can you help me to write an expressions where we can localize all records with Selling Org containing Selling Org more than once, for my search is not important what is PL. Important is only Selling Org cannot be more than once. As for example customer 0000002 contain incorrect values because Selling Org is more than once that is as you see in bolded number: "01,ABC;01,QAZ;"
And I need to find all that kind of records.
Thank you in advance.
BR
Rafal
Edited by: Rafal Paczynski on Mar 5, 2012 11:41 AM

Hej Joy
As I can see the forum is updated and is possible to enclose the pictures, here is one with validation:
and here is my expression:
I checked all I find out, that this part is not working correctly for me:
FIND(Selling Organisation.SALESORG,"01")+1)
that part is working only when record contain Selling org as for example:
01,edc;01,rfv
if record is like that:
01,edc;01,rfv;06,edc
then is not working.
Can you please quide how to slove the problem?
Thank you
BR
Rafal

Similar Messages

  • Need help with Airport Express and so on.

    Ok so my main problem before getting into what I need help with here is that our MacBooks and now my iPhone 6 plus isn't staying online. Keep getting booted off and then I either have to select the network again or it will eventually go back on. If anyone has a solution or so please feel free to answer that as well. I'm running on Roadrunner with a Netgear 600 wireless router and a motorola modem. Both of which I'll leave the link to below for a better look.
    My Main Question: So I'm looking at a new wireless router mainly and possibly a new modem. I know Apple products are trustworthy but how good is the Airport Express and other Airport products. Also what is the Maximum speed and Maximum data speed for the cheapest express station and if anyone knows the speeds of the other devices it would be greatly appreciated.

    DSL Router to Netgear 5-port Switch and I used the switch to connect to Airport Extreme, TV, Blue-Ray DVD player and DirecTV Receiver.
    The AirPort Extreme base station (AEBS) is a router so it will do what you need.
    You need to reconfigure your setup. Connect the WAN port of the AEBS to the DSL router. Then connect the Netgear switch to one of the LAN ports on the AEBS. The AEBS will properly share the connection.

  • New Mac user looking for help with Finder, Preview, Keyboard, & Dock

    So about a month ago I switched over from a lifelong Windows user to a brand new MacBook Pro, and while I am adjusting pretty well, there are still some things that I haven't quite figured out.
    First up on the list is Finder! I like my files to be arranged just like how they are in Windows Explorer--folders first alphabetically, then files alphabetically. I've managed to acquire this setting by messing around with the "clean up by" and "arrange by" functions but I don't really know the specific combination. Most of the time these preferences are saved and set as the defaults under "View Options" but every once in a while it resets and I have to tinker around with the settings all over again. Does anyone know of a way to fix this? It's only happened twice so far, but I'd rather not have it happen again. Also, occasionally when I delete an item, there is a blank space left where the icon was instead of all the files following it bumping up a space. Any quick fixes for this bug?
    Next up is Preview. Again, I like the Windows Way and I like to be able to browse between the files in a folder while using Preview/Windows Photo Viewer. I know that there is a way to browse between files if you select the whole folder and stick it in Preview, but is there a way to achieve the same result without having to do that? An app or "extension" of some sort that adds arrows in to browse between photos? I've had no luck finding anything other than the aforementioned option. Is there a good free alternative to Preview that will function similarly with the browse between photos option?
    One of my favorite things about my new Mac is the backlit keyboard function. My old laptop didn't have it and as someone who is online more often at night it is super helpful. But is there a way to turn it off during the day/in bright settings? A way to put it on a timer? In System Preferences I selected the option "Adjust keyboard brightness in low light", which I assumed to mean would have the keyboard NOT very bright when there IS light, but it continues to light up just the same. Any apps or extensions to help with this one?
    And finally, the dock! This question is more about aesthetics than functionality but help is appreciated all the same. Currently, my dock looks like this: http://i42.tinypic.com/35ktxlz.png It is rather opaque and the indicator lights can barely be seen. However, in a lot of tutorial videos I've been watching, many people have docks that look like this: http://i.i.cbsi.com/cnwk.1d/i/tim/2011/07/19/Lion_LaunchPad.png It is a darker shade of gray, the divider is dashed rather than a straight line, and the indicator lights are clearly visible. Does anybody know how to get this look for the dock? I've looked in the dock preferences but there's not really anything in there other than magnification/size/effects.
    That about sums things up! I'm sorry if any of these seem like "silly" questions but they are all things I have been unable to find answers for. Any and all tips, tricks, and help is appreciated! Thanks in advance for all your help!!

    congratulations on coming over from the dark side.
    Seems like you are interested in column view, which would show you the hierarchy of folders and files:  Column View in Mac OS X Mountain Lion - For Dummies Not sure what's going on if your finder settings don't stay put. May be a corrupted preferences file, which is easy to fix, but is perhaps a topic for another discussion.
    What I'd suggest is to have an open mind and try to see what the mac can do, rather than force it to look like your windows machine. I mean, if you just want it to look like windows, then why bother switching? If you give it a little time, you'll start to appreciate the mac way of doing things, and see how it is infinitely more awesome, powerful, creative, intuitive, and better designed (and the software way better written)  than what you left behind. But that's your call.
    There are some threads on this forum with complaints about the backlight. Keyboard backlight settings query...: Apple Support Communities  Evidently it depends on the angle of the screen and the light sensor relative to the light. Some suggest that a SMC reset may help: Intel-based Macs: Resetting the System Management Controller (SMC)  This is not an issue for me, I just adjust the brightness with the keyboard buttons if I want. Real men shift their own gears, drink their coffee black, and adjust their own keyboard brightness. I am not aware of any software to exert more control over this feature but a search of macupdate  Download Apple Mac Software & iPhone Software : MacUpdate may help. I mean, it's up to you what is important. I can waste a lot of time playing around with the GUI and with unnecessary software, or I can just get my work (and play) done.
    You might prefer the no-glass dock, that removes the shelf, and makes the indicator lights like more discrete orbs. You can do this with the terminal. Using the terminal is also, perhaps, a topic for another discussion.I like the 2D dock much better. If you want I'll give you some directions for how to do it. Otherwise, here's a reference: 2D Dock - MacRumors Forums

  • MOVED: need help with finding gpu for win 7

    This topic has been moved to MSI Notebook.
    https://forum-en.msi.com/index.php?topic=128552.0

    Mike,
    I'm not going to be much help with Boot Camp however I can direct you to the Boot Camp forum where there are more people that know how to troubleshoot it and Windoze 7. You can find it at:
    https://discussions.apple.com/community/windows_software/boot_camp
    Roger

  • I need help with finding right stylus pen for lenovo yoga 2 pro!

    I did read other person's post, but I did not find my answer. I am currently using my fingers to write my notes and it drives me nuts! I do have a stylus pen that have huge round fabric tip. It does not write well. I want a stylus pen with pointy end so I can acturally take my notes on OneNote. I writes equations down so it is very hard to write small and neat with my hand. I do know that my laptop is touch sensitive so it only works with rubber or fabric tips! I could not find any stylus pen with those tip that are pointy.... I need help on finding pointy tipped stylus pen that will let me write well. I am ordering ati-glare screen protector because I can see myself on the screen like a mirror... lol Hopefully this will not keep me from finding a pen that works well! Please give me link to the pen, if you can! Thank you for reading!

    ColonelONeill is correct.
    The Yoga 2 Pro does not have a digitizer, so a capacitative stylus, which mimics a fingertip, is what you'd need.
    Regards.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Community Resources: Participation Rules • Images in posts • Search (Advanced) • Private Messaging
    PM requests for individual support are not answered. If a post solves your issue, please mark it so.
    X1C3 Helix X220 X301 X200T T61p T60p Y3P • T520 T420 T510 T400 R400 T61 Y2P Y13
    I am not a Lenovo employee.

  • What's up with finder-expression in wl61

    We are migrating from wl51 to wl61. The ejbc compiler complains about
    finder-expression in weblogic-cmp-rdbms-jar.xml (EJB1.1)
    <finder-list>
    <finder>
    <method-name>findByDept</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    <finder-query><![CDATA[(orderBy 'JOIN_DATE'(& (= m_dept $0) (!(=
    m_status $1) ) ) ) ]]></finder-query>
    <finder-expression>
    <expression-number>1</expression-number>
    <expression-text>RESIGNED</expression-text>
    <expression-type>java.lang.String</expression-type>
    </finder-expression>
    </finder>
    </finder-list>
    There is also an issue with ORDERBY. DDConverter utility does not convert
    weblogic-cmp-rdbms-jar.xml (EJB1.1) to weblogic-cmp-rdbms-jar.xml (EJB2.0).
    TIA
    -Ravi

    Here is the stack trace:
    weblogic.ejb20.cmp.rdbms.RDBMSException:
    weblogic.ejb20.cmp11.rdbms.finders.IllegalExpressionException:
    weblogic.ejb20.cmp11.rdbms.finders.IllegalExpressionException:
    While trying to process null
    Invalid Operation attempted in WLQL expression: ORDER_BY ORDERBY in WLQL
    takes actual DBMS Column Names but ORDERBY in EJB QL takes Abstract Schema
    Names cannot translate from WLQL to EJB QL.
    at
    weblogic.ejb20.cmp11.rdbms.finders.WLQLtoEJBQL.doWLQLtoEJBQL(WLQLtoEJBQL.jav
    a:53)
    at
    weblogic.ejb20.cmp11.rdbms.finders.WLQLtoEJBQL.doWLQLtoEJBQL(WLQLtoEJBQL.jav
    a:18)
    at
    weblogic.ejb20.utils.ddconverter.DDConverterBase.convertBeansTo20(DDConverte
    rBase.java:30
    3)
    at
    weblogic.ejb20.utils.ddconverter.DDConverterBase.convertTo20(DDConverterBase
    .java:235)
    at
    weblogic.ejb20.utils.ddconverter.DDConverter_1120.convert(DDConverter_1120.j
    ava:88)
    at weblogic.ejb20.utils.DDConverter.main(DDConverter.java:155)
    [DDConverterBase] : @@@ EJB-QL:SELECT DISTINCT OBJECT(o) FROM webango o
    WHERE (((m_status = ?1) AND
    (m_publishDate < ?2) AND (m_submissionDeadline > ?2)))
    java.io.FileNotFoundException: E:\webango_devel\.\jar61\bidform\bidform.jar
    (The system cannot find
    the path specified)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
    at weblogic.utils.jars.JarFileObject.save(JarFileObject.java:148)
    at
    weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java:216)
    at
    weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.java:225)
    at
    weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.persistToJar
    File(EJBDescriptorMBeanImpl.java:338)
    at
    weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.persist(EJBD
    escriptorMBeanImpl.java:261)
    at
    weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.persist(EJBD
    escriptorMBeanImpl.java:247)
    at
    weblogic.ejb20.utils.ddconverter.DDConverter_1120.convert(DDConverter_1120.j
    ava:130)
    at weblogic.ejb20.utils.DDConverter.main(DDConverter.java:155)
    Apurb KUmar <[email protected]> wrote in message
    news:[email protected]...
    Hi Ravindra,
    What is the error stack trace that you are getting? Can you pass the issue
    number or a reference about the problem that you mention about the 'orderby'
    clause?
    Thanks,
    Ravindra Sahasrabudhe wrote:
    We are migrating from wl51 to wl61. The ejbc compiler complains about
    finder-expression in weblogic-cmp-rdbms-jar.xml (EJB1.1)
    <finder-list>
    <finder>
    <method-name>findByDept</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    <finder-query><![CDATA[(orderBy 'JOIN_DATE'(& (= m_dept $0) (!(=
    m_status $1) ) ) ) ]]></finder-query>
    <finder-expression>
    <expression-number>1</expression-number>
    <expression-text>RESIGNED</expression-text>
    <expression-type>java.lang.String</expression-type>
    </finder-expression>
    </finder>
    </finder-list>
    There is also an issue with ORDERBY. DDConverter utility does not
    convert
    weblogic-cmp-rdbms-jar.xml (EJB1.1) to weblogic-cmp-rdbms-jar.xml(EJB2.0).
    >>
    TIA
    -Ravi--
    Apurb Kumar
    Developer Relations Engineer
    BEA Support

  • Help with Find / Replace button title tag contents (text)

    Hi there,
    I designed my site with Sitegrinder (Medialab) –
    Currently all the title tags generated for buttons are the same as
    the actual html page name.
    The problem with this is that the tooltip which appears in
    browsers when you hover over the button with the mouse gives you
    the page name. Instead I want to use these tooltips to give the
    user an indication of what the function of the button is.
    An example: A zoom button above an image: Currenty the
    tootlip says “zoom imagename pagename” – Instead
    it should say “click here to zoom”.
    I need help to get the Dreamweaver Find and Replace tool to
    batch replace these tags for me for about a 100 pages.
    Here is an example of the code:
    <body>
    <div id="id1zoomimpastooilweddingbutton"><a
    href="zoomimpastooilwedding.html"
    title="zoomimpastooilwedding"></a></div>
    I only want to replace the text in the title tag - Since the
    text “zoom” appears several times in the body, I
    can’t get the Find tool to pick up and Replace the occurrence
    of “zoom” in the title only…….
    Options I’ve tried:
    Search Current document: Search for: “specific
    tag”: “title”, “containing”:
    “text” = zoom (I’ve tried this with
    “zoomimpastooilwedding” and zoom[^”]* with no
    results
    I’ve also tried: Search for: “specific
    tag”: “body”, “containing”:
    “specific tag” “title”
    “containing”: “text” = zoom
    etc……………..
    I need help with what parameters to enter in order to find
    and replace all the text within the title tag with my own text
    Thanks very much!
    Anton

    You have ~ 100 pages, each of which has images with title
    attributes (not
    tags), all of which BEGIN with the letters "zoom"?
    What do you want to replace that text with? Wouldn't it be
    different for
    each button? Or do you mean that you would do multiple
    sitewide searches,
    one for each button? This illustrates how wrong it is to not
    use DW
    Templates or server-side includes to simplify the management
    of your
    navigation elements....
    Did you ask Medialabs if it would be possible to specify this
    before
    generating the HTML?
    How did you like working with SiteGrinder? It looks like a
    nice product to
    me, although I'm not fond of the final results code-wise....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "unison123" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi there,
    >
    > I designed my site with Sitegrinder (Medialab) ?
    Currently all the title
    > tags
    > generated for buttons are the same as the actual html
    page name.
    >
    > The problem with this is that the tooltip which appears
    in browsers when
    > you
    > hover over the button with the mouse gives you the page
    name. Instead I
    > want to
    > use these tooltips to give the user an indication of
    what the function of
    > the
    > button is.
    >
    > An example: A zoom button above an image: Currenty the
    tootlip says ?zoom
    > imagename pagename? ? Instead it should say ?click here
    to zoom?.
    >
    > I need help to get the Dreamweaver Find and Replace tool
    to batch replace
    > these tags for me for about a 100 pages.
    >
    > Here is an example of the code:
    >
    > <body>
    > <div id="id1zoomimpastooilweddingbutton"><a
    > href="zoomimpastooilwedding.html"
    > title="zoomimpastooilwedding"></a></div>
    >
    > I only want to replace the text in the title tag - Since
    the text ?zoom?
    > appears several times in the body, I can?t get the Find
    tool to pick up
    > and
    > Replace the occurrence of ?zoom? in the title only??.
    >
    > Options I?ve tried:
    >
    > Search Current document: Search for: ?specific tag?:
    ?title?,
    > ?containing?:
    > ?text? = zoom (I?ve tried this with
    ?zoomimpastooilwedding? and zoom[^?]*
    > with
    > no results
    >
    > I?ve also tried: Search for: ?specific tag?: ?body?,
    ?containing?:
    > ?specific
    > tag? ?title? ?containing?: ?text? = zoom etc?????..
    >
    > I need help with what parameters to enter in order to
    find and replace all
    > the
    > text within the title tag with my own text
    >
    > Thanks very much!
    >
    > Anton
    >
    >

  • Help with time expression!

    Hi everyone, I need some help with the time expression.
    Im working with video copilot´s plugin element 3d and i've made a spere shaped thing with particles which im going to sync to music. The problem is that when i make the simple expression "time*321" on the noise evolution value to make the sphere move organicly throughout the whole video it only does so for about two minutes then it just stops changing even though the value changes. The pictures might help you understand.
    Pictures: http://puu.sh/adNNB/e8de72a1e8.jpg, http://puu.sh/adNQJ/4fe8d4fe94.jpg, http://puu.sh/adNRx/8ecff2b2ca.jpg
    Then there is another problem which is that the sphere evolves alot faster with the time set to 321 compared to when i have it on 30.
    I hope you can help me and im sorry for my bad english just tell me if there is something you dont understand.

    I think you are giving the rotation value more than it can handle. After a while, many of the values in AE will stop increasing because the math can't go any further. Here are two things for you to try.
    1) Use this simple expression for increasing the value of something.
    THE BIG PICTURE:  ([Amount of Change] / [Number of Seconds]) * time
    ROTATION EXAMPLE: (360 / 5) * time;   <----- This will rotate a layer 360º over 5 seconds. It will also continue to rotate until the end of the comp or you run out of math.
    POSITION EXAMPLE:  delta = (500 / 2) * time; // This changes the value of "delta" 500 units over 2 seconds and continues.
                                       x = value[0] + delta; // Uses the x value from frame 0 and adds the delta to provide movement
                                       y = value[1]; // Uses the y value
                                       [x, y] // sends the values back to the layer
    2) Modulus will recycle the numbers. Using your current expression, you can add modulus, and use it to recycle your math.
    EXPRESSION:  (time * 321) % 360
    The % is the modulus, and it resets the count every 360º.
    Good luck!
    Trent

  • Need help with finding "my" camera..

    I'm having difficulty finding a camera with specific features that are important for me. I would greatly appreciate any help in finding the brand and model that fits the bill. I've googled and googled, without any luck. Help!  I'm looking for a digital camera with:
    1. GPS
    2. "small" size (gotta fit in my purse, no camera bags for me!)
    3. viewfinder
    4. takes AA batteries
    TIA

    As a GPS and AA enthusiast, I too have been waiting for a similar combination.
    nuff said about GPS models like the NIkon AW100, P510, S9300 similar models using propreitary batteries.
    DSLR with AA powered grips don't fit your portability factor
    have you considered an AA powered data logger?  I use the discontinued Sony GPS-CS1.  Not only does it provide a data file to sync with my camera clock, but it also draws a breadcrumb on where I go so I can look it up on a map afterwards.

  • Help with Find my Iphone app

    Just set up my find my Iphone app and it doesnt have me in the right roads ( im at work and it has me 3 roads away from where I am sitting at my desk) was wondering if its something I did or if I need to do something else.

    Shelly Friedman1 wrote:
    Hi -
    I downloaded Apple's free "Find My iPhone" app and would appreciate help getting it to work. I don't have a paid Mobile Me account, but I understand I can set up a free account to use the app. I signed up for the free MobileMe account in the iPhone 4's settings, and signed into it using my Apple ID. It seemed to work except that, when I went to sign into the app, I got an alert saying that my MobileMe account had not yet been verified, and I should check my Mobile Me email. The problem is, I can't seem to get the the mail screen. When I go to the Mobile Me sign-in page and enter my Apple ID, all I get is an alert saying that no device has been registered. Can anyone provide any help with this? Thanks very much for your help.
    Shelly
    Follow the steps here and you should have no problems setting it up.
    http://www.apple.com/iphone/find-my-iphone-setup/

  • Help with finding someone who actually gives a dam...

    Help with actually getting something done.
    We have had the same telephone number installed at the same address for over 14 years with various services associated including call sign, call minder etc. we also have another line terminating in a different building with Broadband.
    We initially wanted to consolidate the service and order BB provision on the original line and would have liked to have moved across to BT Business but they were unable to port my Call Sign No. so we instead ordered provision of BB and moving of the socket outlet via BT residential.
    I went to great lengths to explain exactly what was needed & why we were not switching to BT Business, it was paramount that both the original number and the call sign number stayed active as both have been extensively advertised in connection with our businesses.
    On Monday 18th the engineer arrived and duly capped off the service in the original building and extended the cabling to the new position and terminated with a new Open Reach faceplate. When he left the premises our phone was working properly and there had been minimum disruption. I understood that at some point in the next 24hrs the BB would be activated on that line - he told me he had already signed the job off as completed.
    On Tuesday the BB was still not active so I called to be told the job wasn't yet complete as tehre was a problem with our call minder service and call sign. I then tested our line and found that it was no longer working. We can hear a dial tone but outgoing calls get a message saying the number called is not recognised and incoming calls go to a standard BT messaging service that we can't access.
    I called back & explained. I asked for a divert but was told that couldn't be done until the job was signed off and that would take 24 hrs. 
    To cut a lot out it's now Friday afternoon so 100 hours have passed. Yesterday I eventualluy got call diverson in place but despite being told it would divert our call sign calls - it does not. So anyone calling that number is just gertting an unobtainablke tone.
    I have been promised call backs that haven't happened and currently I am told an engineer will call as there is a fault shoiwing near or inside the property. But I have to wait until Monday (1 week after initial visit) this has been brought forward from the original date of Weds.
    I have no confidence that this will resolve the issue as it seems there was a known problem on Tuesday that related to the exchange rather than the line.
    I am told that I am on standard care so not eligible for weekend work however I would have been business if BT could have managed the transition. Also the only reason I'm off service is due to work being incorrectly carried out by BT.
    If I make mistakes in my business I pull out all the stops to minimise the the inconvenience. In this case I have spent over 6 hours repeating information and often being talked over by people who are very willing to offer apologies but who don't actually resolve the problem.
    It's impossible to estimate exactly how much this has already cost our businesses but we are definitely talking hundreds and possibly a thousand or two. We can't afford to miss any business ever but particularly a sthings are in the world now, we sell a time related product so when the day has passed we have missed that opportunity. 
    In my opinion if BT think OpenReach need to visit then they should have escalated this to have it resolved before now and definitely not expect me to wait 3 more days as its a weekend. Somebody must have the authority and the desire to put this right but I am unable to communicate with them. 
    I was promised a call back yesterday ay 15:00 but it never came, afetr another 30 minute phone call I was promised a manager would call me back within 1 hr at 7:00 pm last night, still waiting, I called again today and was told I would be called back as soon as the manager was off the telephone - that was 2 hours ago and still no call

    this is a community forum where customers help customers with their problems.
    obviously you need BT to fix your problem and only BT employees on the forum are the mods and can be contacted here 
    contact mods
    can take up to 3 working days for mods to contact you
    you posts do not go to BT
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Help with this expression.

    Hey everyone,
    I'm not the best at expressions, but i'm trying to learn and was wondering if someone could tell me what is wrong with the expression I have. It is from a tutorial found in video copilots pro scores, and its purpose is to be able to randomly distribute many layers over x, y, and z space.. without having to manually place them.
    I tried this expression last night, and it gave me a similar error. Tried it again today and it seemed to work, but then I decided to precomp my layer and it broke the expression, so I went to type it again.
    Below is what I typed, and the subsequent error message. It tells me the error is on line 3, and the rest you can see.
    If someone could point out where I went wrong here I would greatly appreciate it.
    Thanks,
    Dan

    I actually undo'd until the original expression that "worked" came back, copied it, and pasted in the position field of the precomp, and I get the same error.
    Kinda confused, especially since the expression was exactly the same.

  • Help with regular expression to find a pattern in clob

    can someone help me writing a regular expression to query a clob that containts xml type data?
    query to find multiple occurrences of a variable string (i.e <EMPID-XX> - XX can be any number). If <EMPID-01> appears twice in the clob i want the result as EMPID-01,2 and if EMPID-02 appears 4 times i want the result as EMPID-02,4.

    with
    ofx_clob as
    (select q'~
    <EMPID>1
    < UNQID>123456
    < TIMESTAMP>...
    < ADDRINFO>
    < TITLE>^@~*
    < FIRST>ABCD
    < MI>
    < LAST>EFGH
    < ADDR1>ADDR1
    < ADDR2>^@~*
    < CITY>CITY
    <EMPID>2
    < UNQID>123457
    < TIMESTAMP>...
    < ADDRINFO>
    < TITLE>^@~*
    < FIRST>ABCD
    < MI>
    < LAST>EFGH
    < ADDR1>ADDR1
    < ADDR2>^@~*
    < CITY>CITY
    <EMPID>1
    < UNQID>123458
    < TIMESTAMP>...
    < ADDRINFO>
    < TITLE>^@~*
    < FIRST>ABCD
    < MI>
    < LAST>EFGH
    < ADDR1>ADDR1
    < ADDR2>^@~*
    < CITY>CITY
    ~' ofx from dual
    select '<EMPID>' || to_char(ids) || '(' || to_char(count(*)) || ')' multi_empid
      from (select replace(regexp_substr(ofx,'<EMPID>\d*',1,level),'<EMPID>') ids
              from ofx_clob
            connect by level <= regexp_count(ofx,'<EMPID>')
    group by ids having count(*) > 1
    MULTI_EMPID
    <EMPID>1(2)
    with
    ofx_clob as
    (select q'~
    <EMPID>1
    < UNQID>123456
    < TIMESTAMP>...
    < ADDRINFO>
    < TITLE>^@~*
    < FIRST>ABCD
    < MI>
    < LAST>EFGH
    < ADDR1>ADDR1
    < ADDR2>^@~*
    < CITY>CITY
    <EMPID>2
    < UNQID>123457
    < TIMESTAMP>...
    < ADDRINFO>
    < TITLE>^@~*
    < FIRST>ABCD
    < MI>
    < LAST>EFGH
    < ADDR1>ADDR1
    < ADDR2>^@~*
    < CITY>CITY
    <EMPID>1
    < UNQID>123456
    < TIMESTAMP>...
    < ADDRINFO>
    < TITLE>^@~*
    < FIRST>ABCD
    < MI>
    < LAST>EFGH
    < ADDR1>ADDR1
    < ADDR2>^@~*
    < CITY>CITY
    <EMPID>2
    < UNQID>123456
    < TIMESTAMP>...
    < ADDRINFO>
    < TITLE>^@~*
    < FIRST>ABCD
    < MI>
    < LAST>EFGH
    < ADDR1>ADDR1
    < ADDR2>^@~*
    < CITY>CITY
    <EMPID>1
    < UNQID>123458
    < TIMESTAMP>...
    < ADDRINFO>
    < TITLE>^@~*
    < FIRST>ABCD
    < MI>
    < LAST>EFGH
    < ADDR1>ADDR1
    < ADDR2>^@~*
    < CITY>CITY
    ~' ofx from dual
    select '<EMPID>' || listagg(to_char(ids) || '(' || to_char(count(*)) || ')',',') within group (order by ids) multi_empid
      from (select replace(regexp_substr(ofx,'<EMPID>\d*',1,level),'<EMPID>') ids
              from ofx_clob
            connect by level <= regexp_count(ofx,'<EMPID>')
    group by ids having count(*) > 1
    MULTI_EMPID
    <EMPID>1(3),2(2)
    Regards
    Etbin
    Message was edited by: Etbin
    used listagg to report more than one multiple <EMPID>

  • Help with regular expression needed

    Hi,
    Perhaps someone here can help me with my regular expression I'm trying to build in my Java code.
    The regular expression that I'm looking to build consists of any non-whitespace character up until it finds one or two <>= symbols and then any character thereafter. So both these Strings would match the expression:
    City 1==London
    Age>=18
    The regular expression that I'm using is as follows:
    (\\S+)([><=]){1,2}(.+)However, group 1 always retrieves the first <>= symbol as in "City 1=". How can I make the <>= part greedy so that it retrieves both operator symbols?
    Thanks.

    Make the first group, the non-spaces, reluctant:
    "(\\S+?)([<>=]{1,2})(.+)"

  • Need help with finding prime numbers

    I have seen this question asked several times so i apologize for asking once again but I am very new to programming and could use some help. I know the way I have the extra if statements is not at all efficient but I cannot seem to figure out how to get a nested for statement with a divisor to work. The error I'm getting with this current code is that the second for statement needs to be boolean.
    package primenumbers;
    * @author Owner
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) {
            int primecount; //running total of prime numbers
            int incrementer; //increment numbers
            int sqrtInc; //square root of current increment
            int divisor;
            //set variables to 0
            primecount =0;
            incrementer=3;
            sqrtInc = (int)Math.sqrt(incrementer);
            divisor = 0;
         //print 2
            System.out.println("2");
         for(incrementer = 3; incrementer < 10000; incrementer = incrementer + 1 )
                     if (incrementer % 2 != 0)
                  if (sqrtInc % 3 != 0)
                     if (sqrtInc % 5 != 0)
                          if (sqrtInc % 7 != 0)
                              if (sqrtInc % 9 != 0)
                                  if (sqrtInc % 11 != 0)
        for (divisor = 3; divisor = incrementer; divisor = divisor +1)
                                  if ( incrementer % divisor !=0)
                  if (incrementer % (Math.sqrt(incrementer)) != 0)
              System.out.println(incrementer);
        }

    aeakers wrote:
    I thought I had described it. I appreciate the help but it seems pretty clear to me what this program is supposed to do.Yes, what it's supposed to do is clear: It's supposed to find some prime numbers.
    What's not clear, and what I'm asking about, is what algorithm you're trying to use. There's more than one way to find primes, and they all start with no regard whatsoever or any programming language. Then they get implemented in a programming language. It's not clear at all from that mess of code what algorithm you're trying to implement.
    And especially in the followup posts. Nope. Nothing was clarified there.
    Program should list every prime number that is less than 10000.
    I have it to check if the modulus is not zero for the following conditions:
    -divided by 2
    -square root divided by 3
    -square root divided by 5
    -square root divided by 7
    -square root divided by 9
    -square root divided by 11Why those particular numbers?
    Then check the modulus is not zero for the following
    number divided by a second number that increases up to the first numberI think I kind of get what you're saying here, but I don't think you understand it well enough to translate it to Java.
    I am really trying to get you the information you need but I am not at all familiar with this.The point here is that programming is as much about clarity and specificity of thought and communication as it is about the mechanics of the language. If you can't clearly and precisely express what you're trying to do--without regard to any programming language--then you won't be able to program it.
    At the very least, if you can't find a way to express your algorithm clearly and precisely, then you ought to put print statements in at each step of your program so you can see exactly what's happening each step of the way, compare that to what you think should be happening, and then find out where you're going wrong.
    Also, as a point of best practice, you should alaways use braces for if, for, etc., even when they're not strictly necessary.
    // bad
    if (...)
      singleStatement();
    // good
    if (...) {
      singleStatement();
    }

Maybe you are looking for

  • HT3819 can my husband and I share purchased content on our iPads, like movies?

    Can my husband and I share purchased content on our iPads, like movies?  I wouldn't want to buy them twice.

  • FM to get the details of the file on presentation server

    hi friends ,   i need to read the files on the front end in c:\ directory which start with hw.   is their any function module to get the details of the files like name of the file . as for application server we have "EPS_GET_DIRECTORY_LISTING". thank

  • QuickTime Errors During Install

    Looking for help. I recently upgraded to iTunes 6 which included the QuickTime 7 upgrade. Can no longer use iTunes due to error messages during the install of QT7. Receiving the following Errors 1402: Could not find key: HKEYLOCALMACHINE\SOFTWARE\Mic

  • Airplay Direct is already on sale?

    I was expecting the launch of Airplay Direct during the event in which the Iphone5 came to public. It really was launched by Apple on that day? I am a professor and I need a device to do presentations wireless, but not in a TV. In Brazil most of the

  • Correlating S_ALR_87013537 tcode to underlying report

    How can I correlate the S_ALR_87013537 tcode to underlying report? I would like to change the settings on the report (using tcode cje2) , but I do not know which report is associated with  the S_ALR_87013537 tcode. I'm trying to change the "Output Ty