Results 1 to 3 of 3

Thread: Need help: Crystal Reports Formula Editor

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    1

    Post Need help: Crystal Reports Formula Editor

    I have a few questions. I have a UI built with VB.net 2003 with a couple of Range fields. I am also using a view out of a SQL server 2000 DB. One is a date range and I am trying to figure out how to handle the case where if there is no date entered. If there is no date entered does Crystal see this field as null or is it "" or some other value?

    If a valid date is entered I want to do a myDate is between ?myDateStart and ?myDateEnd in the Forumla Editor to take care of the possible values entered.

    How would I build a parameter formula for this it is null and if its a valid date?

    Another thought I had was instead of using the Formula editor I could maybe use a stored procedure but the problem here is in the Database Expert when I choose OLE DB (ADO) for my datasource and select my server and login all I see are Tables and Views. Stored Procedures I am not seeing here for some reason.

    Any help would be greatly appreaciated. Thanks in advance

  2. #2
    Hyperactive Member yousufkhan's Avatar
    Join Date
    Jan 2002
    Location
    India
    Posts
    492

    Re: Need help: Crystal Reports Formula Editor

    yes you can put if condition in formula editor to check the field wheather there is null or valid date then do what you want

  3. #3
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Need help: Crystal Reports Formula Editor

    Another thought I had was instead of using the Formula editor I could maybe use a stored procedure but the problem here is in the Database Expert when I choose OLE DB (ADO) for my datasource and select my server and login all I see are Tables and Views. Stored Procedures I am not seeing here for some reason.
    I don't have your version of Crystal but in previous versions you use the File->Options menu. On the Database tab, within the Explorer Frame, set the desired options. They affect what you see in the Data Explorer screen.

    You can also get to this Database options tab by clicking the Option button on the Data Explorer screen.
    Last edited by brucevde; Sep 17th, 2008 at 05:51 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width