How do I select range and require end date in it crystal report

I'm trying to select a range of dates in my records however it must include the end date from my parameters what is the syntax for that record selection and anything after the Start Date (open).  If the Date range doesn't end in the specified End Date then I don't want to see it.

well I created two reports one with pulling all the end dates data then the other report with the stuff before that date and put the end date as a subreport in the other one so he can see what was done recently on the subreport and scroll through the other report while the subreport stays on the results bottom end - however he has to scroll through 100's of pages to find the data he wants so he doesn't like that. However it is a good mockup of the results he wants ...but he doesn't want to scroll through 100's of pages - my guess is he wants one report with end date only and any dates before hand.
Original
Part                         TransactionDate                         Qty                     Unit cost
GA101                    10/11/2013                                  5                         1.23
GA101                    5/25/2012                                   10                        2.23   
GA101                    8/14/2011                                   15                        5.15
HE8924                  8/22/2014                                   14                        4.25  
HE8924                  6/13/2012                                   2                          3.25
UY325                    8/22/2014                                   5                         6.32
UY325                    7/10/2010                                   2                         3.25
TE5689                  8/12/2014                                   1                          8.14
TE5689                  5/16/2013                                   2                          9.12
IO8978                    8/22/2014                                   6                         8.25
IO8978                    5/20/2013                                   8                         7.25
IO8978                    3/15/2012                                   4                         9.25
IO8978                    1/20/2009                                   5                         10.25
MY CODE RESULTS SHOULD SEE
START DATE 01/01/2011  END DATE 08/22/2014
Part                         TransactionDate                         Qty                     Unit cost
HE8924                  8/22/2014                                   14                        4.25  
HE8924                  6/13/2012                                   2                          3.25
UY325               
  8/22/2014                              
    5                    
   6.32
IO8978                    8/22/2014                                   6                         8.25
IO8978                    5/20/2013                                   8                         7.25
IO8978                    3/15/2012                                   4                         9.25

Similar Messages

  • Date Span - Validation for start and end date parameters in Crystal reports

    Hi,
    I am new here and am unsure if this is the right place to post this issue. If so, I apologize for that.
    I am working on Crystal Reports 12 and don't know if it is possible; to validate the parameters - Start Date and End Date are within a specific span of time. For Eg. Start Date and End Date should be within 6 months or Start Date should be a future date.
    Can we prompt that parameters entered are invalid and have users re-enter it?
    I will really appreciate any help into this issue.
    Thanks Much,
    RP

    Hi,
    Well, it is not possible to validate the date/datetime values in the prompt window, however there are other alternatives.
    One of them is to create an Alert with the condition:
    datediff("m",Minimum({?DateParameter}),Maximum({?DateParameter})) > 6
    //This is to check if the start date and the end date are within 6 months
    Another way of doing this is by displaying a message on the Report Header and suppressing all other sections if the date range values do not meet the condition.
    Hope this helps!
    -Abhilash

  • Validity start and Validity End date in PO

    HI  gurus
       can you plz tell me how to activate  validity start and Validity End date in PO
    Neha

    Hi,
    It is applicable for PO done for Frame work oder with Doc type - FO(Frame work order)as its an agreement of supply of stock only between specified period.For this kind of Doc type system makes it mandatory to enter the valisity start and end date.
    Thanks

  • In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.

  • Required End date not allowed to change

    Hi  Gurus
    I want to change Notification Required end date but when i am trting to change system give the warnning message "required End date cant be change ,old date will be reset.
    This only happen with the Notfication in release Status..
    Regards

    Sandeep,
    You've used the word Warning. If it is so, why worry. You press Enter key and cross this. Your Date will be changed. If it is stopping you from Date change, then please specify at what instance it is stopping? Like when you are trying to Save? Clarify.
    KJogeswaraRao

  • Planning attributes in 11.1.2.2 and start/end dates in a cell

    Hi. In Planning 11.1.2.2., can I make use of attribute dimensions as I would in a BSO Essbase cube?
    Also can I enter a start date and an end date entry in two different account members (e.g., start_date and end_date)?
    Thanks

    Hi,
    Yes, I believe you can use it.
    And you can change the Account member Data type as Date. Then use these Accounts in the Planning Web Form. Form will give you facility to select the Date...
    VB..

  • How can I syncronize Lightroom and Photoshop Elements data?

    How can I syncronize Lightroom and Photoshop Elements data?

    Hi Palsaran,
    As i understood, your requirement is to POST data from UI to backend.
    The above code you given is not correct if you want to use model based implementation.
    In UI5 you don't need to do an explicit Ajax call, for which we can use Models like OData, JSON etc.
    For your JSON example, you can use like,
    var oModel = new sap.ui.model.json.JSONModel();
    var oData = "YOUR JSON DATA";
    oModel.setData(oData)
    oModel.loadData(yourURL/Entityset,"POST");
    For ref, you can use the below link
    JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.model.json.JSONModel
    Thanks
    Naveenraj

  • Unable to found Bucket start date and bucket end date in OFSAA 6

    Hi,
    How to find the Bucket start date and bucket end date in OFSAA 6.
    I found following tables to mapped to Dim_Result_Bucket but  unable to found columns pointing to Bucket Start Date and Bucket End Date.
    Tables:
    fsi_income_simulation_buckets
    fsi_process_run_history
    fsi_time_bucket_master
    fsi_lr_irr_buckets_aux
    fsi_m_alm_process
    Kindly let me know the solution.

    Hi;
    Please check below link which could be helpful for your issue:
    https://blogs.oracle.com/ebs/entry/service_contracts_warranty_created_by
    Regard
    Helios

  • How can i call ajax and extract the data?

    Hi all,
    I don't know briefly about ajax..i want to learn ajax, so my question is how can i call ajax and extract the data. for ex, i have JSON file
        "mobile": [
                "Name": "Micromax",
                "Model": A310
                "Name": "samsung",
                "Model": grand 2
    for above example how can i call ajax..please anyone explain with small example because it'll help me a lot.
    Thanks & Regards,
    Palsaran

    Hi Palsaran,
    As i understood, your requirement is to POST data from UI to backend.
    The above code you given is not correct if you want to use model based implementation.
    In UI5 you don't need to do an explicit Ajax call, for which we can use Models like OData, JSON etc.
    For your JSON example, you can use like,
    var oModel = new sap.ui.model.json.JSONModel();
    var oData = "YOUR JSON DATA";
    oModel.setData(oData)
    oModel.loadData(yourURL/Entityset,"POST");
    For ref, you can use the below link
    JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.model.json.JSONModel
    Thanks
    Naveenraj

  • How i avoid this window and directly fetched date

    hi master
    sir i have three options button when i select anyone then my query change and fatch new data
    but before fetching data system show new windows with this message
    Do you want to save the changes you have made ?
    with yes / no /cancel button
    sir how i avoid this window and directly fetched date
    or how bypass this message
    please give me idea

    bro, when u execute the query to fetch records it tries to validate the form and pops an alert message. if u want to avoid it do this
    change : execute_query;
    to: execute_query(no_validate);
    now it wont ask for validation of the previous records present on the form, but make sure such actions are not not a threat to data integrity.
    zaibi.

  • How to connect, add delete and modify sqllite data base.

    dear friends,
    i am developing a stand alone project, in that i want to
    store the datas in the local machine using sql lite. Iam new to
    Flex. i know air and flash very well.. any body can help me, how to
    connect, add, delete and modify the data in sql lite. i want to
    store users option in local machine.. i got struct up. i have to
    finish my project...pls..
    thanks and Regards,
    Syed Abdul Rahim

    Hi,
    Please find details on how to access SQL Lite database from
    AIR applications at the URL below.
    http://livedocs.adobe.com/flex/3/html/SQL_01.html
    Hope this helps.

  • Fixed start date and variable end date

    I'm using Project 2010 Standard. Task A has already started. It can't end until 2 weeks after the completion of task B. The only way I can make Project schedule this task is by doing so manually, allowing Project to calculate the duration. But then if the
    end date of task B changes, Project reschedules the entire task based on the duration without regard for the start date. If I add a % complete to task A, then the end date doesn't change if the end date of task B does. Project seems to fix the duration
    once it's calculated. I need the duration to be flexible based on the fixed start date and the end date of task B. This project file is stored in SharePoint so I can't make task A a hammock task. I get the error "You cannot create links from a project
    file that exists on a Web folder to another file" even though it's the same file. Any suggestions would be greatly appreciated.

    WhoKnows,
    I'm afraid without a hammock task the only way to do what you want is either with a manual reschedule or a macro to recalculate the duration of Task A when Task B moves.
    Update: Okay, after playing around here is a little trick that might work.
    1. Break Task A into two parts (e.g. -1 and -2)
    2. Set the predecessor of Task A-2 to be finish-to-start with Task A-1 and finish-to-finish + 2w with Task B
    Depending on the nature of Task A you may still need to do a little manual adjusting but it will effectively allow the start of Task A to be fixed and the finish to be variable depending on the status of Task B. Does that work for you?
    John

  • How to recover address book and all mailbox data

    How to recover address book and all mailbox data, from mounted drive that had OS10.4.11 now has bad blocks, and is not boot-able.
    Any help would be appreciated.... hermann

    The drive is mounted (appears as a drive on the desktop)? You can't just copy the files, or is it not really mounted?
    It would help to have more details on the status of this drive since I am obviously confused as to whether or not it is mounted and appears on the desktop. Is this an internal or external drive? If internal, how are you booting your computer now?
    There are data recovery tools such as [Data Rescue II|http://www.prosofteng.com/products/data_rescue.php] or [FileSalvage|http://subrosasoft.com/OSXSoftware/index.php?mainpage=product_info&productsid=1]. Both have free trial versions that let you see if the software will help before you decide to buy. You will also need a second hard drive equal to or larger in size than your first drive as a destination drive for recovered files. If the critical files are located on the bad blocks then there isn't much hope other than to send the drive out to a professional data recovery service which could cost $1000.
    The easiest way to recover the files is to get them off a backup drive.

  • How to show arabic data in to crystal reports ?How to aligh crystal report right to left

    <p>we are trying to make a crystal report for both english and arabic..All the arabic data is stored in data base tables.And for arabic screens we need tables and datas come right to left.. </p><p>1)How can we get the arabic data and right to left alignment in crystal reports? </p><p>2)Is thee any direct method to change the report alignments? </p><p>can u please send some sample codes. </p><p>we are using java version= 1.5 </p><p>database using =Oracle 9i </p><p>char set we are using for arabic= CP1256</p><p> Tomcat using=4.1 </p><p>we are using Crystal Reports11 </p><p>We are not having seperate rpt files for reports. we are making each Sections and adding this sections to FieldObjet to make the report dynamically. A sample Employee report in english is attached..Can u instruct how can i get this report in arabic assuming all datas are stored in database. </p><p><br />import java.awt.BorderLayout;<br />import javax.swing.JFrame;<br />import com.crystaldecisions.ReportViewer.ReportViewerBean;<br />import com.crystaldecisions.sdk.framework.CrystalEnterprise;<br />import com.crystaldecisions.sdk.framework.IEnterpriseSession;<br />import com.crystaldecisions.sdk.occa.managedreports.IReportAppFactory;<br />import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;<br />import com.crystaldecisions.sdk.occa.report.data.;<br />import com.crystaldecisions.sdk.occa.report.definition.;<br />import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;<br />import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;<br />import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;<br />public class ReportSample {<br /> ReportClientDocument rptDoc=null;<br /> int fldTop=0;<br /> int fldWidth=1440;<br /> int fldHeight=400;<br /> int pageWidth=11500;<br /> ReportSample(){<br />  try{<br />   IEnterpriseSession oEnterpriseSession= CrystalEnterprise.getSessionMgr().logon("Administrator", "","zzzza","secEnterprise");<br />   IReportAppFactory oReportAppFactory = (IReportAppFactory)oEnterpriseSession.getService("", "RASReportService");<br />   rptDoc = oReportAppFactory.newDocument(java.util.Locale.ENGLISH);<br />   Table oTable = new Table();<br />   oTable.setConnectionInfo(getConnectionInfo("zzzzz","zzzz","zzz", "zzz"));//Connectin to oracle database<br />   oTable.setName("EMP1");<br />   rptDoc.getDatabaseController().addTable(oTable, null);<br />         String[] columnName={"EMPNAME"};<br />       Section dtlSection=(Section) rptDoc.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);<br />   int fldLeft=100;<br />   for (int i=0;i<columnName.length;i+)<br />   {<br />    <br />    dtlSection= (Section) rptDoc.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);<br />     try{<br />     FieldValueType fldValueType = FieldValueType.stringField;<br />     String javaDataType="String";<br />      add_db_field(<br />      dtlSection, <br />     oTable.getName()"."columnName<i>, <br />     fldValueType,javaDataType,<br />     fldLeft, fldTop, fldWidth, fldHeight);<br />     }catch(Exception e){<br />      e.printStackTrace();<br />     }<br />    fldLeft = fldLeftfldWidth;<br />   }<br />   <br />       <br />   try { <br />          //Create and set up the window.<br />          JFrame frame = new JFrame("ReportsViewer");<br />          frame.setTitle( "Crystal Reports Viewer");<br />          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);<br />          ReportViewerBean viewer = new ReportViewerBean();<br />          viewer.init( new String[0], null, null, null);<br />          IReportSource rptSource = rptDoc.getReportSource();<br />          viewer.setReportSource( rptSource );<br />          frame.getContentPane().add( viewer, BorderLayout.CENTER );<br />          frame.setSize( 700, 500 );<br />          frame.setVisible(true);<br />          viewer.start();<br />   }catch(Exception e)<br />    {<br />     e.printStackTrace();<br />    }</p><p>   }catch(Exception e)<br />   {<br />    e.printStackTrace();<br />   }<br /> }<br /> public ReportObject add_db_field(Section oSection, String field_name, <br />   FieldValueType oFieldValueType,String fldDataType,<br />   double x, double y, double w, double h)<br /> throws ReportSDKException<br /> {<br />  DBField oDBField = new DBField();<br />  oDBField.setName(field_name);<br />  oDBField.setType(oFieldValueType);<br />  FieldObject oFieldObject = new FieldObject();<br />  oFieldObject.setDataSource(oDBField.getFormulaForm());<br />  oFieldObject.setFieldValueType(oDBField.getType());<br />  IndentAndSpacingFormat indentSpacing = new IndentAndSpacingFormat();<br />  IStringFieldFormat stringFieldFormat = oFieldObject.getFieldFormat().getStringFormat();<br />  stringFieldFormat.setIndentAndSpacingFormat(indentSpacing);<br />  oFieldObject.getFieldFormat().setStringFormat(stringFieldFormat);<br />  rptDoc.getReportDefController().getReportObjectController().add(oFieldObject, oSection, -1);<br />  return oFieldObject;<br /> }<br />  public ConnectionInfo getConnectionInfo (String new_username, String new_password, String new_dsn, String new_database)<br /> {<br />  <br />      ConnectionInfo oConnectionInfo = new ConnectionInfo(); // Make a copy, don&#39;t change the original.<br />      PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();<br />      oPropertyBag1.put("QE_ServerDescription", new_database);<br />   oPropertyBag1.put("Database DLL", "crdb_oracle.dll" );<br />   oPropertyBag1.put("DSN", new_dsn);<br />   // Set new table logon properties attributes<br />   PropertyBag oPropertyBag2 = new PropertyBag();<br />   oPropertyBag2.put("Server", new_database);<br />   oPropertyBag1.put("QE_LogonProperties", oPropertyBag2);<br />   oConnectionInfo.setAttributes(oPropertyBag1);<br />   oConnectionInfo.setUserName(new_username);<br />   oConnectionInfo.setPassword(new_password);<br />   // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).<br />   oConnectionInfo.setKind(ConnectionInfoKind.CRQE);<br />   return oConnectionInfo;</p><p>  }<br /> public static void main(String[] args) {<br />  // TODO Auto-generated method stub<br />  new ReportSample();<br />  //String cmsName = "admin-42cdvir7e(2)";<br />  <br />  <br />  <br /> }<br /> </p><p>}<br /></p>

    <p>This issue can be  solved when you create the reports without needing to write any extra code.  I haven&#39;t tested this solution because I don&#39;t have any data to test it against.</p><p>First you want to make sure that you are using a UNICODE font which I&#39;m sure you are probably already doing.  Then to configure the "Right to Left" you can right click on any field and select "Format Text" or "Format Field".  You should see a "Paragraph" tab.  In there you can set the content to be "Left to Right" or "Right to Left".  The button on the right allows you to make this setting conditional on a parameter value or something like that.  I hope this helps. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Writing and including our own customer data source to Crystal Report Design

    Hi,
    I need to create a Crystal Report based on a locally stored XML and schema. I can do this but the issue Iu2019m facing is that some tags used in the schema and the format is not supported by Crystal. So my plan is to write a database driver which will take our format and then convert it to the format Crystal supports and vise versa. To do this before writing the driver I need to know if itu2019s possible to include my custom database driver source in to the list that is shown in the Crystal Report Designer when selecting a data source to create a report.  Is there such an API available so that I can plugin my data source to Crystal Report Designer? Is this at least possible to do or is there another way?
    Hope you can help me.
    Thanks you in advance.
    Regards,
    Chanaka

    Hi Chanaka,
    Not directly. If you base your driver on OLD DB or ODBC then it will show up in those lists.
    If you are planning on selling a lot of packages then you may want to contact our OEM Sales team and sign up. You'll have more resources to do customized features like this. Not sure if we can but the option is there.
    Thank you
    Don

Maybe you are looking for