XL Reporter : Date critaries aren't working correctly

Hi,
yesterday I found a bug in my reports.  I wanted to show all transactions between two dates : 08/01/07 and 08/14/07 but the query retrieves records it shouldn't
FACT JOU( RefDate >= @Date1 And RefDate <= @Date2 And TransTypeCode = "ARInvoice" Or TransTypeCode = "ARCreditMemo" Or TransTypeCode = "CashReceipt" )  Group By JOU.RefDate ,JOU.TransTypeCode ,FIG.OJDT_BaseRef ,FIG.OJDT_Ref1 ,FIG.OJDT_Ref2
But when I do a similar SQL query using the cast as Datetime, it works perfectly.  Isn't there a way to do something like this with XL Reporter ?
select RefDate,Memo from dbo.OJDT where RefDate >= cast('05/01/2007' as Datetime) and RefDate <= cast('08/14/2007' as Datetime) and TransId in (select TransId from OJDT where Memo like 'A/R I%' or Memo like 'A/R C%' or Memo like 'Inc%')
Is anyone had the same kind of problems as me with dates ?  Do you have any solutions.

It seems critaries doesn't work with dimension, I changed it for a light dimension and the report works correctly.  I don't understand why...

Similar Messages

  • Panel menus aren't working correctly on dual monitors

    Hi,
    I posted a question yesterday about this, but no one replied.  Maybe my subject didn't describe the problem so I am trying again.
    I use DW on a dual monitor Windows XP system.  The program is on the main monitor and I move some of the panels/palettes to the secondary monitor which is to the left of the main monitor.  The problem is that when I click the little menu icon in the upper right corner of the panels, the context menus open all the way over on the far right side of the main monitor.  Please see the attached image to see exactly what is happening.
    I have tried everything I can think of to make this work correctly, but no luck.  My Photoshop workspace is set up similarly and the PS palette menus open just as they should.
    Thank you.
    John

    Hi John,
    let your question there and wait, someone will answer to you. AND try to use Google with your appropriate keywords.
    http://groups.google.com/group/macromedia.dreamweaver/topics?hl=en&lnk
    http://groups.google.com/
    Kind regards and good luck
    Hans-G.

  • Sitemap generator(s) aren't working correctly (I think)

    Hello,
    I followed the lengthy link yesterday that started out as "meta and Google-ing" which then morphed somehow into "best sitemap generator." Following suggestions from Varkgirl, James Tseng and others, I got registered and verified by Google. Thank you for that. It went smoothly and quickly.
    I also followed the forum discussions about creating a Sitemap and, based on the recommendations, I tried two of them. First I tried http://www.sitemap.com/Default.aspx recommended by Varkgirl on 11/21/06. It seemed to work fine and downloaded a html page on my desktop in a matter of seconds. I dragged that onto Fetch and "Put" it to the server (ftp-dom.earthlink.net - with whom I have my primary email service. Getting a new website up on Earthlink was, happily, very easy.)
    What I got back from SitemapDoc SEEMED incomplete - just the Home page was shown. I fiddled with ""edit existing map" and nothing happened that I could see. (I'm open to the idea that it's me, not the software.) I dragged the icon from the Fetch webdocs window in to the trash.
    Then I tried another website generator that had been recommended by Rebecca as the super dooper one - xml-sitemaps.com. I did that because of her high praise and, also, because of a comment James Tseng has made in a 11/02.06 response to Tormance saying "...the sitemap.xml file. (Emphasis on the ".xml" file - thinking that maybe that xml was better.)
    While I've read the definitions of html and xml ,I don't know the difference except that they are both markup languages for websites.
    The xml-sitemaps.com sitemap page - downloaded to my desktop - showed the correct total number of web pages - 11. I should say that I chose to download the sitemap to the desktop and not to use iDisk. Perhaps that's part of the problem that ensued. I grabbed the sitemap.xml icon on the desktop and dropped it on to the Fetch webdocs page/window and clicked "Put." Fetch started to upload and all seemed to be fine. Initially I recognized page names, artwork names, Haiku lines from the new website. I got very nervous when it was still uploading after 25 minutes and I saw, among dozens of other files and folders, "Acobat Reader 5.0 sitz as Stuffit X Archive" (nothing on the website I created used compressed material), "Reader .pdf binary data," SVGA GMG carbon raster lib.sitx as Stuffit X archive," and, most scary, the beginning download of a file titled "passwords...." It looked to me as though it was uploading my entire hard drive - like something from a great 60s or early 70s movie, "Collosus the Forbin Project." I stop the Put at that point and trashed the sitemap.xml file.
    Your suggestions are most welcome and appreciated.
    John
    PowerMac G4 and MacBook Pro   Mac OS X (10.4.9)   MacBook Pro laptop 2.16 GHz, 2 GB 667 MHz DDR2 SDRAM, G4 runs OS 9.2.2 & 10.4.9

    Related to my original question (below),
    Is there a technical reason - other than the practical reasons of backup and storage - to use iDisk to house my website? I currently have it in a desktop folder. In my original post I asked if not storing the website on iDisk might be part of the problem in not being able to create a sitemap.
    Thanks.
    Hello,
    I followed the lengthy link yesterday that started
    out as "meta and Google-ing" which then morphed
    somehow into "best sitemap generator." Following
    suggestions from Varkgirl, James Tseng and others, I
    got registered and verified by Google. Thank you for
    that. It went smoothly and quickly.
    I also followed the forum discussions about creating
    a Sitemap and, based on the recommendations, I tried
    two of them. First I tried
    http://www.sitemap.com/Default.aspx recommended by
    Varkgirl on 11/21/06. It seemed to work fine and
    downloaded a html page on my desktop in a matter of
    seconds. I dragged that onto Fetch and "Put" it to
    the server (ftp-dom.earthlink.net - with whom I have
    my primary email service. Getting a new website up on
    Earthlink was, happily, very easy.)
    What I got back from SitemapDoc SEEMED incomplete -
    just the Home page was shown. I fiddled with ""edit
    existing map" and nothing happened that I could see.
    (I'm open to the idea that it's me, not the
    software.) I dragged the icon from the Fetch webdocs
    window in to the trash.
    Then I tried another website generator that had been
    recommended by Rebecca as the super dooper one -
    xml-sitemaps.com. I did that because of her high
    praise and, also, because of a comment James Tseng
    has made in a 11/02.06 response to Tormance saying
    "...the sitemap.xml file. (Emphasis on the ".xml"
    file - thinking that maybe that xml was better.)
    While I've read the definitions of html and xml ,I
    don't know the difference except that they are both
    markup languages for websites.
    The xml-sitemaps.com sitemap page - downloaded to my
    desktop - showed the correct total number of web
    pages - 11. I should say that I chose to download the
    sitemap to the desktop and not to use iDisk. Perhaps
    that's part of the problem that ensued. I grabbed the
    sitemap.xml icon on the desktop and dropped it on to
    the Fetch webdocs page/window and clicked "Put."
    Fetch started to upload and all seemed to be fine.
    Initially I recognized page names, artwork names,
    Haiku lines from the new website. I got very nervous
    when it was still uploading after 25 minutes and I
    saw, among dozens of other files and folders, "Acobat
    Reader 5.0 sitz as Stuffit X Archive" (nothing on the
    website I created used compressed material), "Reader
    .pdf binary data," SVGA GMG carbon raster lib.sitx as
    Stuffit X archive," and, most scary, the beginning
    download of a file titled "passwords...." It looked
    to me as though it was uploading my entire hard drive
    - like something from a great 60s or early 70s movie,
    "Collosus the Forbin Project." I stop the Put at that
    point and trashed the sitemap.xml file.
    Your suggestions are most welcome and appreciated.
    John
    PowerMac G4 and MacBook Pro   Mac OS X (10.4.9)  
    MacBook Pro laptop 2.16 GHz, 2 GB 667 MHz DDR2 SDRAM,
    G4 runs OS 9.2.2 & 10.4.9

  • Actions aren't working correctly in Photoshop CC 2014

    Hey guys,
    I hope someone can shed some light on this. I have several actions for Photoshop, that have been working fine in CC 2014. But today when I tried to use one, it would load up fine, though the end result would look wrong.
    I got 2 friends at work to try the same action and it worked fine for them. Not sure what's going on. I tried the action in the original version of CC and it worked fine, which is weird.
    I hope someone can help.
    Thanks
    L

    At this moment, I have tried : Reset the "Adobe Photoshop Settings File" (When you open Photoshop, push "option + command + shift" for Apple).
    Not ok.
    See here.

  • Spry accordion - spry data thumbs don't work correct

    Hi,
    After a lot of good work and patience from Ben, the following issue has to be resolved.
    When opening the Tab, there comes a spry dataset, but when clicking on a thumb, it doesn't show the large image, but closes the AccordionContent.
    Can you help me?
    Thnx (again) a lot!
    Up to the final Holland - ......
    Carla

    Hi Carla,
    My apologies for the delay, I know how frustrating this can be. I was preoccupied with other calendar fulfillments.
    Step 1
    Remvove the code in red and add the code in green
    function myClickHandler(event) {
         var ele = Accordion1.getCurrentPanel();
         var panelNumber = Accordion1.getPanelIndex(ele);
         MM_effectAppearFade(document.getElementById('tab'+panelNumber), 1000, 100, 30, true);
         Accordion1.closePanel(panelNumber);
    function Content0ClickHandler(event) {
         var ele = Accordion1.getCurrentPanel();
         var panelNumber = Accordion1.getPanelIndex(ele);
             MM_effectAppearFade(document.getElementById('tab'+panelNumber), 1000, 100, 30, true);
             Accordion1.closePanel(panelNumber);
    function Content1ClickHandler(event) {
         var ele = Accordion1.getCurrentPanel();
         var panelNumber = Accordion1.getPanelIndex(ele);
             MM_effectAppearFade(document.getElementById('tab'+panelNumber), 1000, 100, 30, true);
             Accordion1.closePanel(panelNumber);
    function Content2ClickHandler(event) {
         var ele = Accordion1.getCurrentPanel();
         var panelNumber = Accordion1.getPanelIndex(ele);
             MM_effectAppearFade(document.getElementById('tab'+panelNumber), 1000, 100, 30, true);
             Accordion1.closePanel(panelNumber);
    Step 2
    Add the following ID's (green coloured) to each of the three contents changing the numbering (orange coloured) from 0 to 2 for each respective content
            <div spry:detailregion="dsqpark1" class="DetailContainer" id="content0">
              <div class="DetailColumn">{Foto_700_x_400}</div>
            </div>
    Step 3
    Remvove the code in red and add the code in green
    Spry.Utils.addEventListener("Accordion1", "click", myClickHandler,  false);
    Spry.Utils.addEventListener("content0", "click", Content0ClickHandler,  false);
    Spry.Utils.addEventListener("content1", "click", Content1ClickHandler,  false);
    Spry.Utils.addEventListener("content2", "click", Content2ClickHandler,  false);
    Holland-Spanje saving you guys years of teasing by the Germans if Oranje had lost to them in the finals.
    Ben

  • ITunes and iPod aren't working correctly

    So, I go and buy my new laptop today, with hopes of loading all my music that I backed up onto 4 DVDs. I go to load my music from the DVDs and they don't work. Whatever. So I go and follow Apple's instructions on how to backup my library on my iPod, then transfer it over to my computer. I followed their instructions, but to no avail. Nothing worked. I can run iTunes by itself flawlessly, but when I plug in my iPod, it automatically freezes my iTunes. I can't do anything with it now. I need some advice, because Google keeps leading me to dead ends. My iPod works fine, but not with the laptop/iTunes. I'm using the latest version of iTunes for 64 bit Vista.

    hi y'all!
    hmmm. sounds like it's worth checking up on this possibility:
    iPod: What to do if Windows displays an "itunes.exe - Corrupt File" message
    love, b

  • Smart Mailboxes Aren't Working Correctly

    Not all of the criteria I have designated for my smart (so-called) mailboxes seem to affect all of my mail. For example, if I set the word "order" to be a condition in the "From" category, not every email with the word "order" in the "From" column is listed in the smart mailbox. Are there a finite number of criteria that can be set? Are the preferences screwed up? If so, where do they reside? Thanks in advance for the help.
    2GHz PowerPC G5 iMac   Mac OS X (10.4.4)  

    Yes. I also confirm the same. Smart Connect doesn't make the phone quiet. Ideally it would be great if Smart Connect would learn to support all the newest sound tweaks that Sony brought with 5.1: silent with alarm, without alarm, with exceptions, without exceptions... But at least it should support "Silent" mode at all, of course.

  • Illustator CS6, my quotation marks aren't working correctly?

    Illustator CS6, my quotation marks are coming up either pointing in the wrong direction, or sitting on the baseline. I've restarted. I've changed the font. Tried pasting from another program.

    Are you getting the normal 66, 99 quotes? Can you post a screen shot? You can also go into Menu>Type>Glyphs with the type selected to see the charactors or glyphs in the font you are using.

  • My iPhone 4 text messages to none iPhone phones aren't working correctly

    When I send a text to my friends with Droid phones the text character count doesn't seem to matter. I can send a text which in my iPhone is 320 characters which is in most phones had been two text... 160 characters had seemed to be commonly one text message on many phones for a long time. Now with the Droid smart phones the 320 or 160 character count doesn't seem to matter. My texts get broken up into three or four on their phones. Also picture texts files from my phone to theres seems to large for them to view quickly if at all. Many of them use an App for texting called Handcent. I looked into this but it appears to use this on my Apple phone I have to hijack my phone if you will otherwise its incompatable. I'm the only Apple user in my crowd if you could help me find a solution so when I text my friends its fun and easy for them to recieve my texts again that would be great!
    BTW, I do have my MMS turned on in my phone already.
    Thanks!!!

    Do you have the "send as SMS" setting turned on maybe that's the problem you might just have turned on your iMessage setting instead

  • All my purchases aren't working correctly

    I just spent the last hour and a half reading all the problems people are having with the latest iTunes update. I hope all your problems are solved. However, no one seems to be having the problem I am. I upgraded to 8.1.1 two days ago and now all of the songs that I purchased from the iTunes store have weird digital pops and clicks while being played. They also sound as if the song is playing too fast and it is trying to keep up. This also includes all free downloads I have from the free section. Furthermore, when I go to the iTunes store and listen to a 30 second sample I am having the same problem. All songs that I personally put in the library via CD or other method play just fine. Normally I would have just assumed this was a bug and it would be fixed but when I couldn't find anyone else with the same problem, I got a little worried. Anyone????

    You can think of iTunes as a content manager "front end" for QuickTime. It's QuickTime that is actually doing all the media playback functions.
    Forgive what might be a dumb question on my part, but you've tried restarting your computer? If so, you might look for any third-party QuickTime plugins (DivX, 3ivX, etc.) or iTunes additions and if there are any try removing them and see if that has any effect on the issue.
    Hope this helps.

  • Substitution for Tax reporting date

    Hi,
    I have created a substitution at document header level to change Tax Reporting date field.
    It works correctly when I enter a fixed value or another field value, but when I enter a user exit it does not work in VF11 transaction
    Which could be the problem?
    Thanks

    Dear expert
    Problems calculating tax reporting date in VF11 transaction
    user exit VF11 for accounting
    Regards
      Ajeesh.s

  • Web form not quite working correctly

    I have created a simple web site with iweb and have entered a simple web form on my contact me page. I created the "form" in dreamweaver (an extremely simple form) and copied the html code into iWeb via the html snippet and online instructions. When viewing the page when posted, it appears fine, but whenever a user inputs data into the form and clicks submit, it navigates to a page of just my form HTML code, ie. a white page with just my form fields on it. Also, I downloaded some simple free code for a "date picker" for a date field on my form, and whenever this button is clicked, it opens that same window described before. Any suggestions on what can be wrong?
    Extra detail:
    I am hosting the site myself through apache.
    The forms action attribute is set to results.php
    The location of results.php is correct
    results.php is suppose to send an email to myself notifying me of the data just inputted.
    results.php was created outside of iWeb (since iWeb does not create PHP pages)

    Thanks for your suggestions. I got it working somewhat, but now having a slightly different problem. I have the form displayed correctly and when filled out and submit is clicked, the results.php is opened correctly (just a simple page stating "Thank you, we will contact you soon", etc.) I dont remember exactly how I got it working, but I remember it was something with the location of the results.php file itself (althought I still cant get the date picker javascript + swv working correctly, but I'm just going to remove that).
    My new problem is that in the results.php file I am using the mail() function to send the data in the form to my email address. Like I stated before, the results.php file displays correctly after hitting submit, with no php errors, but it just wont send me that mail. This problem is not related to iWeb and maybe I should just post it in another section, but does anybody know what could be wrong, or is there some type of setting that needs to be turned on for it to work? Thanks!

  • Defining multiple Crystal Report Data Consumer connections?

    I am creating a Xcelsius object that uses data from Crystal Reports.
    To do that, I define Crystal Report Data Consumer connection. With this I can use Crystal to connect to the data source, create table of data (crosstab) and pass it to the flash object.
    But I can only define one such connection. Why can't I define more that one?
    I would like to pass two different sets of data and use them in different parts of the dashboard. Trying to get all the data into a single crosstab may not be possible.
    Is there another way to do this?
    Thanks.
    Tim

    I have found that I can pass any number of tables of data from CR to XC using flashvars, either XML or CSV.
    XML is easy, but you chew up 17 chars (64 bytes) in XML chars per column marker. And with a 64KB string max, you're left with at most 1K data points, and that's with no data!
    CSV is old school XC 4.5, converting an array in to a row-order string, not nearly as convenient as a Crystal Report Data Consumers, but it works and you have only a 4 byte overhead per column (the comma.)
    Converting cross-tabs to strings, though, can be a bear because cross-tabs are evaluated column-order and you may not know how many columns you are going to have.
    So use the Crystal Reports Data Consumer for the intricate cross-tab and CSV flashvars for the other tables.
    And then hope it all loads in less than 7 seconds.
    Tim

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • Interactive report filter for date not working correctly

    Hi,
    I am having an interactive report. I tried to give a filter for a column(created_on) as created on>29-oct-2009 17:17
    but i am getting the row containing created on as *29-oct-2009 17:17* in the report result. How can i correct this
    problem
    Thanks,
    TJ

    Hi,
    I think it is because seconds.
    So it is 29-oct-2009 17:17:00 and your record is e.g. 29-oct-2009 17:17:02
    br, Jari
    Edit
    You can use trunc function in your select so that it round date to minutes
    TRUNC(created_on,'MI') AS created_onBr, Jari
    Edited by: jarola on Nov 5, 2009 3:02 PM

Maybe you are looking for