Results 1 to 4 of 4

Thread: Creating Reports

  1. #1

    Thread Starter
    Fanatic Member cid's Avatar
    Join Date
    Nov 2002
    Location
    Fort Worth, Texas
    Posts
    854

    Post Creating Reports

    Ok, I have a database with a field name of detention date. This field stores the most recent detention date in it. So my question is in crystal reports how do I sort it out so It will only print the data if the field "detention date" that has the today's date?

    This code says required string...
    Code:
    {Tablename.Field} = Currentdate
    And this code just sits there...
    Code:
    CDATE({Tablename.Field}) = CurrentDate
    My report is attached as a zip below...
    Thank you for all the help
    Attached Files Attached Files

    www.google.com - Pay Tribute.

    Always Listening To: Thrice

  2. #2
    New Member
    Join Date
    Aug 2002
    Posts
    11
    i tried adding CDate({Table1.MyDateString}) = CurrentDate in my Select Expert and it worked..

    Maybe you can do a manual check by creating a formula field that returns true if CDate(detention date) = return date and see what is being returned?

  3. #3

    Thread Starter
    Fanatic Member cid's Avatar
    Join Date
    Nov 2002
    Location
    Fort Worth, Texas
    Posts
    854
    So when you used the code it worked. When I used it; it would display the results in descending order. I want it to only diplay the results if it has the current date. So if someone does a print preview then it will only show the current date results.

    www.google.com - Pay Tribute.

    Always Listening To: Thrice

  4. #4

    Thread Starter
    Fanatic Member cid's Avatar
    Join Date
    Nov 2002
    Location
    Fort Worth, Texas
    Posts
    854
    If you take a look at my screenshot(attachment) then you can see on my report the names (Jake Powell and Derek Parr) should not be shown according to the formula. Then only name that should be shown on the report is Nicholas Tallant. If you could please take a look at this it would be help... Thank you
    Attached Images Attached Images  

    www.google.com - Pay Tribute.

    Always Listening To: Thrice

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