Another Filter Question

I have a master/detail page that has some non-destructive
filters that filter the master list (thumbnails) based on one or
multiple criteria. sometimes the different criteria combinations
return nothing after the filter. and the master list(spry:repeat)
is blank.
is there a way to test for the blank or empty Dataset
after the filter so I can display a "No records found"
message or something similar.
also still looking for a way to change the record in the
detail area to the first record of the filtered dataset. currently
when I apply a filter to my dataset the detail area reloads but
always with the last detail record viewed. I would like it to load
the first record in the filtered dataset.
here is
the page I have been working on

figured this one out on my own. >>>>
added an observer that looks for the "onDataChanged", it sets
the current row to the first row of the filtered dataset or gives
warning if filtered dataset is empty.
dsStandards.addObserver({onDataChanged: function(dsStandards,
row, rowNum) {
var rows = dsStandards.getData();
if (rows.length >= 1)
return dsStandards.setCurrentRowNumber(0);
else
document.getElementById("thumbnails").innerHTML = "Sorry, no
records found matching that criteria!";
Click
here to see the page work.
Now I am about to tackle the non-destructive filtering with
paging the dataset.

Similar Messages

  • Another newb question: multiple virtual servers

    Hi, I have yet another ignorant question. I have several unrelated web projects that I am working on, and I would like to be able to set up a virtual server for each one for testing purposes, such as: http://project1, http://project2, http://project3. Can someone tell me if this is doable, and if there are any tutorials/resources on this for someone who has 0 experience running a web serer? Sorry for being so ignorant!

    Yes, it is doable.
    You can setup virtual server either by IP or by name.
    If you have one IP, and want to set them up by name (ex. http://project1, http://project2, http://project3) you can do so easily with this type of configuration:
    <virtual-server>
        <name>mydomain</name>
        <http-listener-name>http-listener-1</http-listener-name>
        <host>*.mydomain.com</host>
        <document-root>/www/domain</document-root>
      </virtual-server>
      <virtual-server>
        <name>myotherdomain</name>
        <http-listener-name>http-listener-1</http-listener-name>
        <host>*.myotherdomain.com</host>
        <document-root>/www/myotherdomain</document-root>
      </virtual-server>
    ....The important part here is that
    a) all virtual servers share the same HTTP listener
    b) which virtual server serves the request depends on the $HOST request header send by the client. Sun Web Server does the matching for you. It will match $HOST vs. the virtual server's host attribute. Depending on which site you connect to the right virtual server will be used.
    c) if the $HOST request header does not match any of the virtual servers, then the default virtual server defined in the HTTP listener will be used.
    To create a virtual server, use the Admin GUI, access the configuration, and then add new virtual server. Or use the following CLI command.
    wadm> create-virtual-server --config=myconfig --http-listener-name=http-listener-1 --document-root=/www/docs/myserver.com --host-pattern=myserver.com --log-file=../logs/myserver.com-error_logs myserverHost pattern will be used for matching. Some of this elements might be optional.
    Hope that helps. And keep the questions coming :D
    Edit: Also check the documentation
    Using Virtual Servers in SJS Web Server 7.0

  • Another simple questions

    Hello friends:
    Another simple question: I need to learn things about Oracle on my desktop.
    My machine runs Windows 98. Oracle has some desktop product of its Database Line?
    For example: Oracle Personal?
    And Oracle Lite? What's the main difference between Oracle Personal and
    Oracle Lite?
    Thank You
    Gracias
    Ing. Pablo Romero
    CORDOBA ARGENTINA

    1. I didn't know the answer to your first question, but I googled it and it says the item is the in-call audio boost.
    http://forums.crackberry.com/f71/flag-icon-47659/
    2. isn't this setting determined by the carrier? So it's not a setting in the phone, but when you call in to your voicemail you can change your options?

  • Another BW question about filter in the query definition

    Hi ,
    I have another question about filter in the query definition.
    <u>Question:</u>
    Which of the following objects can be filtered in the query definition?
    A. characteristic
    B. Key figure
    C. Structure
    D. Units
    E. Hierarchy
    My answer is A,B,D,E.
    The answer in the book is A,B,D
    Can anybody tell me which one is wrong?
    Thanks in advance,
    Liu Jia

    HI
    1.The answer could be A,B,D.you can not apply filters on hierarchies
    2.Whenever there is a change in Attribute data(like Location,Num etc...)that has to be reflected in all aggregates of the cube.Thsi can be done by running "ATTRIBUTE CHANGE RUN".
    sri

  • What am I doing wrong with this filter (counter/frequency issue), probably another newb question.

    I extracted the part of my VI that applies here.  I have a 6602 DAQ board reading a counter for frequency, using a Cherry Corp proximity sensor.  Getting a lot of noise and errant ridiculously high readings.  Speed of shaft which it's measuring is currently 2400rpm with one pulse per revolution so 40hz. 
    Trying to use the express filter VI to clean up the signal and ignore anything over, say, 45hz and under 35hz.  No matter what setting I choose I continually get the  20020 error, Analysis:  The cut-off frequency, fc, must meet:  0 <= fc <= fs/2.  I know this relates to sample period somehow, but for the life of me I can't understand what I'm doing wrong. 
    I used this VI without filtering on bench tests with a hand-drill and got perfect output every time.  Now it's on the machine and being erratic.  Any help here will ease my stress level significantly, thanks.
    VI attached
    Still confused after 8 years.
    Attachments:
    RPM.vi ‏92 KB

    Hello Ralph,
    I'm not sure about mounting your sensor to your rig, but I can provide a couple ideas about the filtering. Depending on the type of noise, the digital filters on the PCI-6602 could help eliminate the behavior you are seeing. If the noise manifests as a "glitches" or a bouncing signal, you could use another counter with a minimum period to help eliminate the noise. This concept is discussed in greater detail in this KnowledgeBase. I noticed that you are using NI-DAQmx; the practical application of the digital filters on the PCI-6602 in NI-DAQmx is discussed in this KnowledgeBase. A more detailed description of the behavior of these filters is provided in the NI-DAQmx Help (Start>>All Programs>>National Instruments>>NI-DAQ) in the book entitled "Digital Filtering Considerations for TIO-Based Devices".
    I also wanted to comment on your original post and explain why you were receiving error -20020. For convenience, I have copied the text of the error code below.
    Error -20020 occurred at an unidentified location
    Possible reason(s):
    Analysis:  The cut-off frequency, fc, must meet:  0 <= fc <= fs/2.
    I think you may have misunderstood exactly what the Filter express VI does. The Filter express VI takes a series of values in a waveform and performs filtering on those signals. So, it will look at a waveform made up of X and Y values and apply the defined filter to this waveform. Specifically in your application, the cut-off frequency (fc) is the Upper Cut-Off level that you specified in the Filter express VI; any frequency components of the waveform outside of the range you have defined will be filtered. The fs is the sample rate based on the data that you wire to the Signal input of the Filter express VI. In your VI, this data is coming from the DAQ Assistant. So, fs will be the sample rate of the DAQ Assistant and is associated with the rate at which points are acquired. The sample rate does NOT relate to the bandwidth of the signal, except that the Nyquist theorem tells us that the sample rate must be at least twice the signal bandwidth in order to determine periodicity of the signal. So, in this case, the sample rate of the DAQ Assistant would need to be at least double the high cut-off frequency.
    However, you are performing a frequency measurement using a counter. I think this is where the confusion comes in. For the frequency measurement using a counter, the DAQ Assistant returns a decimal value which represents the rate of the pulse train being measured by the counter. It does not return the actual waveform that is being read by the counter. It is this waveform that would be band-pass filtered to eliminate frequency content outside of the filter's bandwidth. Instead of the Filter express VI, I would recommend that you simply discard values that are outside the range you specify. I have modified the code you posted earlier to perform this operation. The image below shows the changes that I made; rather than using the Filter express VI, I simply compare the frequency to the "Low Threshold" and "High Threshold". I use a Case structure to display the value on if it is within the limits. Otherwise, I display a "NaN" value. I have also attached the modified VI to this post.
    Message Edited by Matt A on 09-04-2007 07:58 PM
    Matt Anderson
    Hardware Services Marketing Manager
    National Instruments
    Attachments:
    RPM (Modified).JPG ‏17 KB
    RPM (modified).vi ‏72 KB

  • Filter Question 1: Shift Field - when to shift it?

    And by "shift it", I'm really asking in what order to place it, relative to any other filters being applied. And is there a rule of thumb for this particular filter being first or last in the stack?
    The Specific Issue:
    I notice FCP applies the filter automatically when I add HD material to a standard def Timeline (see "Workflow" description below), where the extra material has a different "Field Dominance" than the main footage. This triggers a green render bar, which thankfully doesn't take long to process.
    But I'm starting to see some odd behavior when I then add other filters to one of these clips whose Fields have been automatically Shifted by FCP.
    Specifically, I've been testing MagicBullet's "Noise Reducer" filter on a few of these clips (ones where I've had to magnify the image more than it really wants to be), and once the absurdly long render finally finishes*, the playback of just these clips gets very wonky on my external monitor (with a flashing blue that eventually takes over the whole screen, but only for these clips -- and FinalCut's telling me there's nothing left to render).
    * and this is the subject of a whole 'nother filters-related question I've posted in this same forum
    Interestingly, when I drag the Shift Fields filter from its default top-of-the-stack position in the Viewer down to the bottom, so that it comes after the MB Noise Reducer -- and then wait for another huge render to finish -- now everything seems to play back fine.
    Both filters (FCP's Shift Fields and MB's Noise Reducer) are configured in their default settings, and this apparent conflict with the Shift Fields filter appears to not occur in relation to any other filters I've also been testing (such as Sharpen and Deflicker).
    So -- is this just one of these trial-and-error things, where you keep reordering the filters till they seem happy, or is there a reason why the automatically applied Shift Fields filter should always be last in the stack (even though intuitively it feels like something which should be applied first)?
    Any insights appreciated.
    Thanks,
    John B.
    Toronto
    *Workflow Description*
    (which might be of interest to other one-man-band, tight-budget videographers)
    +I'm currently cutting a series of videos done for a local theatre company. My A-cam is a Sony MiniDV shooting 4:3, and my Timeline is the basic NTSC-DV easy setup. I generally also set up a B-cam at a different angle, which is locked off to get a static shot of the full performing area. This camera is a compact AVCHD unit, shooting at full 1920x1080. I put its material on a separate video track, and when I need to cut to it I use the Motion tab to frame the shot, resize it, and crop in as desired. Sometimes I'll even keyframe a pan and/or slight zoom to give the effect of a human cameraperson following the action live. Since both cameras are recording continuously, I only have to sync up the two tracks once -- and the end product gives a reasonably convincing impression of a two-person shoot.+

    Clearly I need to check in with the Jolly Red Giant himself, since I'm wondering if he's the one I should be pointing my finger at with regard to a bizarre issue I'm encountering: trying to export a previously harmless sequence which now contains clips with two Red Giant / Magic Bullet filters -- all fully rendered, but the Export time is expanding faster than a Supernova.
    Thread is called "Renders Gone Wild", if you have any advice on what I should do.
    Thanks,
    jb

  • Simple filter question

    I have a dataset  of many years data.  I want to show the count of records for each of the past 7 days.
    If I add date and record count then run the query, I add a variable:
    =RelativeDate(CurrentDate(); -7) < [Date]
    Then in the report filters panel I filter by this variable = 1, and the correct result returns.  However, with a filter at this level I guess all the data is returned from the database for many years, then on a second step the data is filtered.  We have a lot of data so I would like the filtering to take place in the first step, on the original query.  I can't see how to use a variable or enter a formula into the query filter panel.  I could add this to the universe, but then we will end up with a lot of "filter 7 days", "filter 30 days", ...
    Questions: What is the best way to filter by past 7 days, or how can I add this formula to the query filter?

    Josue,
    Suresh gave a good answer, however, to get back to your original question:
    Questions: What is the best way to filter by past 7 days, or how can I add this formula to the query filter?
    It is always more efficient to filter at the server (database server) level versus bringing more data to the workstation (client), however, for each filter, as you are observing, it requires an object filter to support.  Another way to handle this particular situation might be through the use of a prompt.  You could prompt the user for the number of days (7 or 30, etc) and then you could use one filter object and have maximum flexibility.
    Thanks,
    John

  • Noisy Analogue Signal and Lowpass Filter Questions

    Hi everyone,
    I am getting analogue signals from a strain gauge that are a bit more noisy than I would like... Normally, I jump right in an smooth the signal using a lowpass filter of whatever order gave me the result that was acceptable, without overkill and smootig the signal to nothing... However, I am settingup a new DAQ device and would like to a little more informed about what and how am doing this...
    So, here are my questions:
    1. How do I determine the filter order? I usually use a 2nd order filter for smoothing.. I understand the comncepts of roll-offs and phase delay as they relate to the order numbers... On what basis should I decide which order filter to use for this specific signal?
    2. I am still thinking that using a lowpass filter is the best approach... I assume the lower cutoff freq is in Hz (i.e. 10Hz) and is NOT a normalised freq [i.e. cutoff freq / (sample rate/2)]?.. The default value is 0.125, which seems too low for a Hz value? Also, on what basis should I decide what cutoff freq to use for this specific signal?
    3. I need to synch the filtered strain gauge signal with other, unfiltered signals... But as the filter will add a phase delay it will affect signal synchronisation... I heard somewhere that a 4th order filter is zero-phase, but I can't see how that could be right as the filter only operates in one direction... Any suggestions for what I could do to maximise the timing alignment between the filtered and unfiltered signals?
    All comments welcome!
    Regards,
    Jack

    Jack,
    I was the Instrumentation Engineer at a university for 24 years and worked with several execise physiologists, biologists, and neuroscientists on similar projects.  My group was the "lab/tech staff" you have little of.  There were 3.5 (engineer, 1.5 electronics technicians, and machinist) of us for the entire university.
    OK.  The strain gauge signals probably have no information above a few tens of Hz (hummingbirds) or a few Hz for most larger species.  EMG is usually filtered in the amplifiers to slightly larger bandwidths (few hundred Hz) unless you are trying to see the individual action potentials.  Does the dynamometer have specifications on the bandwidth or sampling rates used?
    Since your bandwidths are realtively low, I suggest that you sample all the analog inputs (and the trigger outputs, if the boards have the capability) from the same clock.  You can later decimate or average data on channels where less data is needed.  Record the trigger signals on an unused analog input if you have one available.  It can be very handy to have the information about when the triggers actually occurred in the same dataset as the response data.
    Delay equalization is a complex topic. Suppose that you are sampling all your channels at 1 kS/s. Suppose you have a 10 Hz low pass filter, 2 pole Butterworth, on a strain gauge channel and a 50 Hz filter, 4 pole, elliptical, on an EMG channel and you want to synchronize the filtered data with some unfiltered channels.  The two filters have very different phase and delay responses over the 0-500 Hz frequency range. To equalize you would need to determine the maximum delay at any frequency in the range for both filters. Then you would need to design THREE all-pass filters. One would have a phase response which compensates the 10 Hz filter. Another would compensate the 50 Hz filter.  These would need to be designed so that the total delays through the low pass plus all-pass filters is the same.  Then you need a third all pass filter with that same total delay to compensate the unfiltered data.  This is may be a non-trivial job for an expert, depending on the low pass filters.
    What kind of noise are you seeing and how is it affecting your measurements?  Can you post some data?
    Lynn

  • Another IISPROXY question (multiple SAP systems)

    Hi!
    We've got a challenge. We have SAP EP (6.0 SP12), visible from outside
    (via  MS ISA server publishing). Also we have several SAP systems (BW,
    ERP2004, Solution Manager), that we want to make available from web.
    We installed IIS proxy module on portal server machine. It's working.
    I even maneged to publish some test reports and WebGUI of BW server.
    But when I try to publish in a simmilar way other system, I fall into
    problem.
    When you call '/sap/bw/' for example, SAP system after authentication
    converts it to something like '/sap(lsdkSDF435ssdgf)/bw'. As far as I
    understand between "(" and ")" there is some hash of password or something.
    The problem is, that it's true and the same for all SAP systems.
    So if I put in iisproxy.xml following strings:
    <mapping name="bw">
    <source>
         <protocol>http</protocol>
         <prefix>/sap/bw/</prefix>
    </source>
    <source>
         <protocol>http</protocol>
         <prefix>/sap/bw</prefix>
    </source>
    <source>
         <protocol>http</protocol>
         <prefix>/sap/public/bc/its/mimes/</prefix>
    </source>
    <source>
         <protocol>http</protocol>
         <prefix>/sap(</prefix>
    </source>
    <target>
            <protocol>http</protocol>
         <host>bw-server.ourdomain.local</host>
         <port>8000</port>
    </target>
    <compress-types>text/html, text/plain</compress-types>
    </mapping>
    it's working for BW server. We able to see reports and webGUI.
    If I try to add following strings for ERP2004 server:
    <mapping name="erp">
         <source>
              <protocol>http</protocol>
              <prefix>/erp/sap/bc/gui/sap/</prefix>
              <new-prefix>/sap/bc/gui/sap/</new-prefix>
         </source>
         <source>
              <protocol>http</protocol>
              <prefix>/erp/sap/bc/gui/sap</prefix>
              <new-prefix>/sap/bc/gui/sap</new-prefix>
         </source>
         <source>
              <protocol>http</protocol>
              <prefix>/erp/sap/bw/BEx</prefix>
              <new-prefix>/sap/bw/BEx</new-prefix>
         </source>
         <source>
              <protocol>http</protocol>
              <prefix>/erp/sap/bw/BEx/</prefix>
              <new-prefix>/sap/bw/BEx/</new-prefix>
         </source>
         <source>
              <protocol>http</protocol>
              <prefix>/erp/sap/public/bc/its/mimes/</prefix>
              <new-prefix>/sap/public/bc/its/mimes/</new-prefix>
         </source>
         <source>
              <protocol>http</protocol>
              <prefix>/erp/sap/public/bc/ur/Design2002/</prefix>
              <new-prefix>/sap/public/bc/ur/Design2002/</new-prefix>
         </source>
         <source>
              <protocol>http</protocol>
              <prefix>/erp/sap/bc/public/systemlogin/</prefix>
              <new-prefix>/sap/bc/public/systemlogin/</new-prefix>
         </source>
         <source>
              <protocol>http</protocol>
              <prefix>/sap(</prefix>
         </source>
         <target>
              <protocol>http</protocol>
              <host>erp2004-server.ourdomain.local</host>
              <port>8000</port>
         </target>
    <compress-types>text/html, text/plain</compress-types>
    </mapping>
    and try to open webGUI, it redirects to BW server.
    A think that's because double '/sap(' prefixes.
    How can we avoid that?
    Same situation for SolMan.
    In portal's 'System Landscape' setup is:
    BW system
      ITS
        ITS description: CLIxxxSID
        ITS host name: portal-server.ourdomain.ru (this name in accessible from internet, it's a host where portal and IISPROXY are installed)
        ITS path: /sap/bc/gui/sap/its/webgui
    ERP2004 system
      ITS
        ITS description: CLIxxxSID
        ITS host name: portal-server.ourdomain.ru
        ITS path: /erp/sap/bc/gui/sap/its/ (I added /erp/ trying to distinguish request to ERP2004 server), without it it's also not working)
    In intranet (if we do not use IISPROXY) everything is working. Of course with other system definitions in System Landscape.
    Do I need to provide more details? Or my question is clear?
    Thanks in advance for help and support!
    Regards,
    DK
    P.S. Actually I opened an OSS message on this topic (with "high" priority), but no SAP activities since September, 6th :o(

    Hi Jayesh!
    Seems it's not working :o( And worst thing, that I do not know why :o(
    What i've done.
    1) Created an alias '/erp/sap/', that points to '/default_host/sap/bc/gui/sap/its/webgui'.
    2) In System Landscape edited system definition (of an ERP2004 system), so that ITS path is now '/erp/sap/' and ITS host 'ourportal.ourdomain.ru'.
    3) Created an 'SAP transaction iView' that should launch SU01 transaction in ERP2004 system.
    Now when I try to open it from page, portal tries to connect me to our BW server.
    Seems that alias are working in some other way :o(
    Here's what I can see in IISPROXY log:
    11:57:29 Filter J2EE --> GET /erp/sap/
    11:57:29   7616 Proxy    GET http://erp2004.ourdomain.ru:8000/erp/sap/
    11:57:29   7616 Proxy    HTTP/1.1 200 OK | queued for 0.000 sec, processed in 0.078 sec.
    11:57:29   7616 Proxy    | GET http://erp2004.ourdomain.ru:8000/erp/sap/ | HTTP/1.1 200 OK | 0.000 | 0.078
    11:59:41 Filter J2EE --> GET /sap(dslkknvDSAFSADVFDSVaslkdv)/bc/gui/sap/its/webgui?okcode=/nSU01&DisconnectOnClose=0&sap-client=200&sap-language=en&sap-accessibility=
    11:59:41   6952 Proxy    GET http://bw.ourdomain.local:8000/sap(dslkknvDSAFSADVFDSVaslkdv)/bc/gui/sap/its/webgui
    So it's still tries to open '/sap(dslkknvDSAFSADVFDSVaslkdv)/bc/gui/sap/its/webgui' instead of /erp/sap(
    dslkknvDSAFSADVFDSVaslkdv)/
    Thanks for help and support!
    Regards,
    DK

  • Adobe Acrobat 8 and I Filter Question

    Hello,
          I have Adobe Acrobat 8 and I Filter 6.0 installed on a WinXP machine. I am also using Windows Search 4.0. My question is on how to create an embedded index of PDF files so that I may search with a keyword through 100 PDF files as an example. This is actually my last resort after searching thoroughly on the web. I have read articles ranging from editing the registry to how to create a single index within Adobe Acrobat for a single PDF file. Again I am looking to create one index that consists of multiple PDF files. If any can help me I would very much appreciate it. I just say to myself that at some point in time some programmer must have said to himself, can I search for a keyword through 20 PDF files on a desktop system or server?
    Thank you,
    Peter

    Hey john,
    Please try downloading Acrobat 8 from the following link:
    Download Acrobat products | 9, 8
    Regards,
    Anubha

  • Library Filter Question

    Within the Metadata Library Filter I often use the 'Treatment' tag to view just colour or just B&W images. I discovered that to give an image the 'Black & White' treatment stamp you needed to use the B&W section in the develop module. However I often use CS5 for my B&W conversion so my question is, is it possible to get this "Black & White' treatment stamp without actually using that aspect of the Develop module?
    Thanks in advance guys

    Unfortunately not.
    Your black and white photos made in Photoshop, will be treated as "Color", even if they were converted to a grayscale "space" in Photoshop. And you cannot even change the treatment to "Black and White", because the treatment control is disabled for grayscale files. This is a little dumb.
    My work around is to apply a "BW" keyword to these files, then use a smart collection with the following rule set:
    Any of the follwofing:
         Treatment is "black and white"
         Keywords contain words "BW"

  • ESB Filter question

    Hi,
    I'm developing an ESB that polls for a file (unix), truncates a table (using a database adapter) and then uses the data file to re-populate the table (database adapter). My file has 4900 records. The file adapter has been created to process records in batches of 1000. The file reading routing service, invokes the database adapter to truncate table. A second routing service then invokes another database adapter using the data read in batches to merge into the target table.
    This appears to be working for single batch instances (i.e. small number of records). I want to establish a filter on the invocation of the truncate database adapter, to ensure that the truncate does not happen prior to each batch of records processed. Is this required? At the moment I have a filter attached in the following form;
    position() = 1
    When I deploy the data file to the polled directory the process begins, and the instances appear in the ESB Console (5 of them, there are 4900 records in the data file). Each instance appears to go through the truncate database adapter (i.e. the green line extends through to the truncate box on the diagrammatic representation of the ESB instances).
    I have added trackable fields via the console and see that "position() = 1" is true for each batch/instance.
    Is there a way via filter and routing to restrict the truncation to only the first batch of records processed? I must say that the table appears to be only truncated once and all the data is appearing the table upon completion. My concern is that the diagrammatic representation may at some stage become accurate and at some stage I will end up with only 900 records in my table instead of the 4900 records that are in the data file.
    Hope this makes sense. I don't think that is a version issue, but for the record.
    Solaris 10.? App Server
    Database Oracle 10.2.0.2
    JDeveloper 10.1.3.3
    SOA Suite 10.1.3.1.0
    Thanks Kevin.

    The issue is that the routing service is sequential. We have a few adapters on the same routing service, and we observe that the message moves through the adapters sequentially.
    We are going to try to break out the routing service and end points so that each process dequeues from AQ, goes to one routing service, and one end point. Hopefully this way, there won't be any blocking, and all RS and endpoint can execute independently. The concern then is having a multi-consumer AQ, and I'm not sure if there are any issues with it.

  • Filter Question part II

    Hi,
    do you remember my previous post? Well, now I've a similar requirement, but again I haven't a solution. i've following question:
    I've a prompt with two choices: "All" and "WITHOUT ICO" wich fill a presentation variable 'ICO'. Then i've a report that contains a column "JDE Account" wich contains accounts id (if an account is ICO then it will finish with letter I, otherwhise not.
    Examples of ICO Accounts: 1384I, 14849I and so on
    Examples of WITHOUT ICO Account: 3893, 4484.
    I want that if user choices 'ALL' prompt value the report returns all accounts, otherwhise if user choices 'WITHOUT ICO' prompt value the report filter only accounts WITHOUT ICO.
    I've tried many filters (simple filters and complex), but it doesn't work. Can you help me???
    Thanks
    Giancarlo

    Hi,
    i've tried but it doesn't work. I give following error:
    Error during retrieving drilling info: SELECT "Cost Center"."Organization Region Description" saw_0, FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"='A') saw_1, FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"='A') saw_2, FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"='A')-FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"='A') saw_3, (FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"='A')/FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"='A')-1)*100 saw_4 FROM Prototype WHERE (Time."Year" = 2010) AND (Time."Desc Month" = 'January') AND (Country."Country Code Company GOAL Code" IN (SELECT saw_0 FROM (SELECT Country."Country Code Company GOAL Code" saw_0 FROM Prototype WHERE Country."Company Description" = 'GERMANY') nqw_1 )) AND ("JDE Account"."HFM Account Code" in (Select "JDE Account"."HFM Account Code" From Prototype where ‘WITHOUT ICO’ = ‘Tutti’) OR "JDE Account"."HFM Account Code" in (Select "JDE Account"."HFM Account Code" From Prototype where "JDE Account"."HFM Account Code" not like ‘%I’ and ‘WITHOUT ICO’ = ‘WITHOUT ICO’))
    Error Details:
    Error Code: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Driver Odbc returns an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <ICO’>: Syntax error [nQSError: 26012] . (HY000)
    Istruzione SQL eseguita: {call NQSGetLevelDrillability('SELECT "Cost Center"."Organization Region Description" saw_0, FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"=''A'') saw_1, FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"=''A'') saw_2, FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"=''A'')-FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"=''A'') saw_3, (FILTER(Prototype."Fact PNL"."Local Actual Monthly" USING Prototype.R012."R012 1 position Code"=''A'')/FILTER ("- Budget"."Local Budget Monthly" USING Prototype.R012."R012 1 position Code"=''A'')-1)*100 saw_4 FROM Prototype WHERE (Time."Year" = 2010) AND (Time."Desc Month" = ''January'') AND (Country."Country Code Company GOAL Code" IN (SELECT saw_0 FROM (SELECT Country."Country Code Company GOAL Code" saw_0 FROM Prototype WHERE Country."Company Description" = ''GERMANY'') nqw_1 )) AND ("JDE Account"."HFM Account Code" in (Select "JDE Account"."HFM Account Code" From Prototype where ‘WITHOUT ICO’ = ‘Alli’) OR "JDE Account"."HFM Account Code" in (Select "JDE Account"."HFM Account Code" From Prototype where "JDE Account"."HFM Account Code" not like ‘%I’ and ‘WITHOUT ICO’ = ‘WITHOUT ICO’))')}
    However i haven't a column All.
    Thanks
    Giancarlo

  • Channel level filter question

    Dear All,
    I have created a channel level filter as follows:
    tcp_channel smtp nomx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth missingrecipientpolicy 4 sourcefilter file:///opt/SUNWmsgsr/config/tcp_channel.filter
    my filter is written as such:
    if anyof(header :contains ["from","sender"] "[email protected]") {redirect $[email protected]; discard; }
    However, this filter just succeeded with a static redirected user by means {redirect [email protected]; discard; }
    How can I use the $U to target the redirection to the original recipient?
    Example:
    an email was sent to [email protected] and another one to [email protected] how would the filter know that the recipient is to be [email protected] or [email protected]?
    ./imsimta version
    Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)
    libimta.so 6.3-5.02 (built 17:15:31, Oct 12 2007; 32bit)
    Thanks,
    Lewis

    Lewis_SUN wrote:
    I have created a channel level filter as follows:
    tcp_channel smtp nomx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth missingrecipientpolicy 4 sourcefilter file:///opt/SUNWmsgsr/config/tcp_channel.filterIs this meant to be a source and destination channel or just a source channel?
    my filter is written as such:
    if anyof(header :contains ["from","sender"] "[email protected]") {redirect $[email protected]; discard; }
    However, this filter just succeeded with a static redirected user by means {redirect [email protected]; discard; }
    How can I use the $U to target the redirection to the original recipient?Not sure what you mean by this.
    Perhaps it would help if you described what you were trying to achieve e.g. I want a copy of any email with a From:/Sender: header set to "[email protected]" to be sent to [email protected], but only for emails coming in via a specific channel??
    Example:
    an email was sent to [email protected] and another one to [email protected] how would the filter know that the recipient is to be [email protected] or [email protected]?
    There are ways to achieve this but this issue may be irrelevant depending on what you actual goal is.
    Regards,
    Shane.

  • Yet another standby question...

    Hi gurus,
    Please help to resolve the quiz. I have completed manual physical standby installation. It is up and running. I then decided to install Grid Control and to use Data Guard for the standby creation. I've successfully installed GC, deployed all agents, I can see my previous standbys, life is good in short. Now, when I am trying to create the second standby for my production database using the Data Guard I stuck on a logical question:
    On the step 3 of Data Guard standby creation, there is a note, saying:
    The instance name (also referred to as the SID) must be unique on the standby host.
    Yeah, fair enough. But i can't understand what should I do next? I have:
    db_name YELLOW - primary prod
    db_name YELLOW - standby prod 1st
    and i need db_name YELLOW - standby 2nd
    But I can't create it on the same server where the first standby resides.. What options do I have? Do I need to create the second standby on another server? Do I need to kill 1st standby? Is there any way to avoid this conflict? I am confused. I have no equipment for TWO standby servers... I thought I can install there up to 9 standbys.. But it seems to be a problem.. And definitely, I cannot give my second standby other name than YELLOW as all my applications are strongly tied on db_name...
    Friends, please clarify this if you can. I am kinda lost in here..
    Thanks as usual,
    Maria

    well, that's a good question! :)
    because I don't have spare server for the standby. the question is not about: 'should I or should not put more than one standbys in one server' , but more about: 'is there any way to put two standbys with the identical db_names in one server'. I know that I probably sound unprofessional, but I just wanna know.. If the answer is 'no way', I will kill the first standby then and recreate the second one using DG with the correct name.
    Thanks for writing to me,
    M.

Maybe you are looking for

  • How to upgrade jdk used in jbuilder 5.0?????

    Hi all i have jbuilder 5.0 Enterprise which use jdk1.3 each time i change the jdk configuration and use jdk 6 it gave me when i compile an error that the file version is incorrect and the design window doesnt parsing the components....so plz how woul

  • The rest of the village can get infinity, but I ca...

    So basically the local exchange has been enabled and the cabinet in the village has the super fast broadband sticker on it. When I put my details into the bt and openreach checker it says that infinity isn't available, it also doesn't give a cabinet

  • How to delete all email attachments to free up space?

    I'm on a MBP with a 240 GB SSD. Somehow my Mail folder is 90 GB! I'd like to have an expert tell me how to go about deleting all of the attachments from my SSD so that I can free up space. My set up is several work email accounts, and one personal em

  • Why does order of playlist changed when burning CD?

    I made a playlist from songs imported from different cd's to burn a mixed cd. i changed the order of the songs in the playlist the way i wanted them on the cd & even changed each songs number in the info box. still once the cd is burned the songs are

  • WRVS4400N DHCP problems

    Hello, I have a new router (obvious) but it seems to have problems with DHCP and also problems when using N function, especially on the 40 MHz band. First I thought the wireless NIC would be the problem but when I used another wireless NIC from a thi