Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Mulitple Time Parameters for Report Post Reply Post New Topic
Author Message
jkoconnell
Newbie
Newbie


Joined: 15 Mar 2011
Location: United States
Online Status: Offline
Posts: 1
Quote jkoconnell Replybullet Topic: Mulitple Time Parameters for Report
    Posted: 15 Mar 2011 at 2:19pm
Greetings,
 
I have a table that includes Time with a Date and Time stamp. I am trying to find a way to record select for transactions that only occur from 2300-0600 over a given day to be totalled for a given month. I can do one or the other, but I'm not sure how to query for both. Any suggestions would be appreciated.
 
Just a little background: Using Crystal 8.5 (only version that works with our database for now)
 
I apologize if this is not the correct area to post, but I didn't see a specific 8.5 area.
 
Thanks,
 
Jeff, Pharmacist
Phoenix, AZ
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 16 Mar 2011 at 3:28am
if you are joining straight to the tables, then put your logic to get rid of 'bad' records and keep 'good' records in the Report/Selection Formulas/Record.  Return a true if you want to keep the record (ie it meets your criteria for both time and date) false to omit it from the records on the report.
 
If you are using a stored procedure, you would put your logic there, which probably be similar to the CR logic.
 
HTH
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.